Self Configuration
letta-ai/letta-code
Inspect or modify Letta Code's own memory, model, context window, system prompt, compaction, permissions, toolsets, mods, skills, channels, schedules, agent secrets, and local runtime settings.
Comprehensive guide for developing Letta agents, including architecture selection, memory design, model selection, and tool configuration.
$ npx skills add letta-ai/skills --skill letta-development-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install letta-ai/skills letta-development-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/letta-ai/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/letta/agent-development .claude/skills/letta-development-guide && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "letta-development-guide" agent skill from https://github.com/letta-ai/skills/tree/main/letta/agent-development into .claude/skills/letta-development-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "letta-development-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/letta-ai/skills/tree/main/letta/agent-developmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add letta-ai/skills --skill letta-development-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install letta-ai/skills letta-development-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/letta/agent-development .agents/skills/letta-development-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "letta-development-guide" agent skill from https://github.com/letta-ai/skills/tree/main/letta/agent-development into .agents/skills/letta-development-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "letta-development-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add letta-ai/skills --skill letta-development-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install letta-ai/skills letta-development-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/letta/agent-development .cursor/skills/letta-development-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "letta-development-guide" agent skill from https://github.com/letta-ai/skills/tree/main/letta/agent-development into .cursor/skills/letta-development-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "letta-development-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/letta-ai/skills.git --path letta/agent-development--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add letta-ai/skills --skill letta-development-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install letta-ai/skills letta-development-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/letta/agent-development .gemini/skills/letta-development-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "letta-development-guide" agent skill from https://github.com/letta-ai/skills/tree/main/letta/agent-development into .gemini/skills/letta-development-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "letta-development-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install letta-ai/skills letta-development-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add letta-ai/skills --skill letta-development-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/letta-ai/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/letta/agent-development .github/skills/letta-development-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "letta-development-guide" agent skill from https://github.com/letta-ai/skills/tree/main/letta/agent-development into .github/skills/letta-development-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "letta-development-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add letta-ai/skills --skill letta-development-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install letta-ai/skills letta-development-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/letta-ai/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/letta/agent-development .opencode/skills/letta-development-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "letta-development-guide" agent skill from https://github.com/letta-ai/skills/tree/main/letta/agent-development into .opencode/skills/letta-development-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "letta-development-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
letta-development-guideComprehensive guide for developing Letta agents, including architecture selection, memory design, model selection, and tool configuration.
Letta Development Guide is an agent skill from letta-ai/skills. Comprehensive guide for developing Letta agents, including architecture selection, memory design, model selection, and tool configuration. Use when building or troubleshooting Letta agents.
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including reference files (for example `references/architectures.md`, `references/concurrency.md` and `references/description-patterns.md`).
It sits in AI & LLM Engineering. It works with Letta. The repository describes itself as: A shared repository for skills. Intended to be used with Letta Code, Claude Code, Codex CLI, and other agents that support skills. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6785511. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python, yaml and typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
LETTA_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Letta Development Guide loads about 2.3k tokens when it runs, and up to ~8.3k if it reads all its reference files. Until then it costs about 53 tokens; SKILL.md has 808 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from letta-ai/skills at commit 6785511, republished under its MIT licence (© letta-ai). 808 words, ~2,326 tokens.
.claude/skills/letta-development-guide/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Comprehensive guide for designing and building effective Letta agents with appropriate architectures, memory configurations, model selection, and tool setups.
Use this skill when:
from letta_client import Letta
client = Letta()
agent = client.agents.create(
name="my-assistant",
model="openai/gpt-4o",
embedding="openai/text-embedding-3-small",
memory_blocks=[
{"label": "persona", "value": "You are a helpful assistant."},
{"label": "human", "value": "The user's name and preferences."},
],
)
# Send a message
response = client.agents.messages.create(
agent_id=agent.id,
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.messages[-1].content)Use letta_v1_agent when:
Use memgpt_v2_agent when:
For detailed comparison, see references/architectures.md.
Memory is the foundation of effective agents. Letta provides three memory types:
Core Memory (in-context):
Archival Memory (out-of-context):
Conversation History:
See references/memory-architecture.md for detailed guidance.
Core principle: One block per distinct functional unit.
Essential blocks:
persona: Agent identity, behavioral guidelines, capabilitieshuman: User information, preferences, contextAdd domain-specific blocks based on use case:
company_policies, product_knowledge, customerproject_context, coding_standards, current_taskschedule, preferences, contactsMemory block guidelines:
See references/memory-patterns.md for domain examples and references/description-patterns.md for writing effective descriptions.
Match model capabilities to agent requirements:
For production agents:
Avoid for production:
See references/model-recommendations.md for detailed guidance.
Start minimal: Attach only tools the agent will actively use.
Common starting points:
Tool Rules: Use to enforce sequencing when needed (e.g., "always call search before answer")
Consult references/tool-patterns.md for common configurations.
When approaching character limits:
customer_profile → customer_business, customer_preferencesinteraction_history → recent_interactions, archive older to archival memorySee references/size-management.md for strategies.
When multiple agents share memory blocks or an agent processes concurrent requests:
Safest operations:
memory_insert: Append-only, minimal race conditionsRisk of race conditions:
memory_replace: Target string may change before writememory_rethink: Last-writer-wins, no mergeBest practices:
Consult references/concurrency.md for detailed patterns.
Before finalizing your agent design:
Architecture:
Memory:
Tools:
Too few memory blocks:
# Bad: Everything in one block
agent_memory: "Agent is helpful. User is John..."Split into focused blocks instead.
Too many memory blocks: Creating 10+ blocks when 3-4 would suffice. Start minimal, expand as needed.
Poor descriptions:
# Bad
data: "Contains data"Provide actionable guidance instead. See references/description-patterns.md.
Ignoring size limits: Letting blocks grow indefinitely until they hit limits. Monitor and manage proactively.
Python:
from letta_client import Letta
client = Letta() # Uses LETTA_API_KEY env var
# Create agent with custom memory blocks
agent = client.agents.create(
name="my-agent",
model="openai/gpt-4o", # or "anthropic/claude-sonnet-4-20250514"
embedding="openai/text-embedding-3-small",
memory_blocks=[
{"label": "persona", "value": "You are a helpful assistant..."},
{"label": "human", "value": "User preferences and context..."},
{"label": "project", "value": "Current project details..."},
],
description="Agent for helping with X",
)
print(f"Created agent: {agent.id}")TypeScript:
import Letta from "letta-client";
const client = new Letta();
const agent = await client.agents.create({
name: "my-agent",
model: "openai/gpt-4o",
embedding: "openai/text-embedding-3-small",
memoryBlocks: [
{ label: "persona", value: "You are a helpful assistant..." },
{ label: "human", value: "User preferences and context..." },
{ label: "project", value: "Current project details..." },
],
description: "Agent for helping with X",
});
console.log(`Created agent: ${agent.id}`);Note: Letta Code CLI (letta command) creates agents interactively. Use letta --new-agent to start fresh, then /rename and /description to configure.
For detailed information on specific topics, consult the reference materials:
references/architectures.md - Architecture comparison and selectionreferences/memory-architecture.md - Memory types and when to use themreferences/memory-patterns.md - Domain-specific memory block examplesreferences/description-patterns.md - Writing effective block descriptionsreferences/size-management.md - Managing memory block size limitsreferences/concurrency.md - Multi-agent memory sharing patternsreferences/model-recommendations.md - Model selection guidancereferences/tool-patterns.md - Common tool configurations© letta-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (references) in letta/agent-development of letta-ai/skills.
Open the folder on GitHubat commit 6785511
Letta Development Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Letta Development Guide this skillletta-ai/skills | 149 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Self Configurationletta-ai/letta-code | 3.6k | — | ~7k | Automated safety check: Pass | MIT | |
| Letta Guideletta-ai/letta-code | 3.6k | — | ~1.5k | Automated safety check: Pass | Apache-2.0 | |
| Agent Memory Systemsomer-metin/skills-for-antigravity | 163 | — | ~731 | Automated safety check: Pass | Apache-2.0 | |
| Agent BuildershareAI-lab/learn-claude-code | 78k | 4 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Add Uint Supportpytorch/pytorch | 104k | 2 repos | ~2.3k | Automated safety check: Pass | Custom licence |
letta-ai/letta-code
Inspect or modify Letta Code's own memory, model, context window, system prompt, compaction, permissions, toolsets, mods, skills, channels, schedules, agent secrets, and local runtime settings.
letta-ai/letta-code
Read the official Letta documentation (docs.letta.com) through its cached, ETag-checked fetch route.
omer-metin/skills-for-antigravity
Memory is the cornerstone of intelligent agents. An agent skill from omer-metin/skills-for-antigravity.
shareAI-lab/learn-claude-code
Design and build AI agents for any domain. An agent skill from shareAI-lab/learn-claude-code.
pytorch/pytorch
Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.
Orchestra-Research/AI-Research-SKILLs
Runs lm-evaluation-harness to benchmark language models on academic suites such as MMLU, GSM8K and HumanEval, compare models and track training checkpoints.
letta-ai/skills
Build and maintain a persistent visual identity for your agent using Flux Kontext Pro.
letta-ai/skills
Fetch and summarize recent AI news from curated RSS feeds (Hugging Face, VentureBeat, The Verge, OpenAI, Anthropic, DeepMind, etc.) and YouTube channels (Yannic Kilcher, Two Minute Papers, AI…
letta-ai/skills
Builds and debugs Letta Code channels, including first-party channel adapters and dynamic user channel plugins under ~/.letta/channels.
letta-ai/skills
Configure LLM models and providers for Letta agents and servers.
letta-ai/skills
Migrates deprecated Letta Filesystem folders/files to MemFS using markdown document corpora, chunking, local lexical search, and QMD semantic search via the memfs-search skill.
letta-ai/skills
Semantic search over agent memory files. An agent skill from letta-ai/skills.
Works with
Categories
Comprehensive guide for developing Letta agents, including architecture selection, memory design, model selection, and tool configuration. Letta Development Guide is an agent skill from letta-ai/skills. Comprehensive guide for developing Letta agents, including architecture selection, memory design, model selection, and tool configuration.
Letta Development Guide fits situations like: troubleshooting Letta agents.
Run `npx skills add letta-ai/skills --skill letta-development-guide -a claude-code`. Or copy the skill folder (letta/agent-development in letta-ai/skills) into .claude/skills/letta-development-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add letta-ai/skills --skill letta-development-guide -a codex`. Or copy the skill folder (letta/agent-development in letta-ai/skills) into .agents/skills/letta-development-guide in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add letta-ai/skills --skill letta-development-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/letta-development-guide, .gemini/skills/letta-development-guide, .github/skills/letta-development-guide and .opencode/skills/letta-development-guide in your project.
Going by SKILL.md and its folder, Letta Development Guide needs credentials named LETTA_API_KEY. Our summary lists: Python 3; A credential in LETTA_API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Letta Development Guide is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Letta Development Guide: Self Configuration (letta-ai/letta-code, 3.6k stars), Letta Guide (letta-ai/letta-code, 3.6k stars), Agent Memory Systems (omer-metin/skills-for-antigravity, 163 stars) and Agent Builder (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
letta-ai (a GitHub organization) maintains it in letta-ai/skills, which has 149 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 1, 2026.
Source: letta-ai/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.