using-letta-api
Installation
SKILL.md
Using Letta API for Self-Management
This skill provides runnable Python snippets for self-modification via the Letta API.
Setup
from letta_client import Letta
client = Letta(base_url='https://api.letta.com')
# Your agent ID (from environment or hardcoded)
import os
AGENT_ID = os.environ.get('LETTA_AGENT_ID', 'agent-xxx')