{"id":"2b4aa889-b3b8-4f6e-a7f6-21b5a62710e1","shortId":"JPq9jy","kind":"skill","title":"Build stateful agents with long-term memory using Letta","tagline":"Use Letta to create agents whose identity, tools, memory blocks, and conversation state persist across sessions for long-running assistant or application workflows.","description":"# Build stateful agents with long-term memory using Letta\n\nUse Letta to create agents whose identity, tools, memory blocks, and conversation state persist across sessions for long-running assistant or application workflows.\n\n## Prerequisites\n\nNode.js 18+ for Letta Code or API credentials/SDKs for application integration; selected model provider\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- npm install @letta-ai/letta-client\n- pip install letta-client\n\nRequirements and caveats from upstream:\n- Requires [Node.js 18+](https://nodejs.org/en/download)\n- Letta has a full-featured agents API, and a Python and Typescript SDK (view our [API reference](https://docs.letta.com/api)).\n- TypeScript / Node.js:\n\nBasic usage or getting-started notes:\n- [Letta Code](https://docs.letta.com/letta-code): run agents locally in your terminal\n- Run letta in your terminal to launch an agent with memory running on your local computer\n- bash\n\n- Source: https://github.com/letta-ai/letta\n- Extracted from upstream docs: https://raw.githubusercontent.com/letta-ai/letta/HEAD/README.md\n\n## Documentation\n\n- https://docs.letta.com/\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-stateful-agents-with-long-term-memory-using-letta/)","tags":["build","stateful","agents","with","long","term","memory","using","letta","skills","agentskillexchange","agent-skills"],"capabilities":["skill","source-agentskillexchange","skill-build-stateful-agents-with-long-term-memory-using-letta","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/build-stateful-agents-with-long-term-memory-using-letta","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,291 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:09:42.239Z","embedding":null,"createdAt":"2026-05-18T13:15:31.222Z","updatedAt":"2026-05-18T19:09:42.239Z","lastSeenAt":"2026-05-18T19:09:42.239Z","tsv":"'/api)).':138 '/en/download)':117 '/letta-ai/letta':179 '/letta-ai/letta/head/readme.md':186 '/letta-client':101 '/letta-code):':152 '/skills/build-stateful-agents-with-long-term-memory-using-letta/)':195 '18':71,114 'across':25,59 'agent':3,15,37,49,124,154,167,190 'agentskillexchange.com':194 'agentskillexchange.com/skills/build-stateful-agents-with-long-term-memory-using-letta/)':193 'ai':100 'api':76,125,134 'applic':33,67,79 'assist':31,65 'bash':175 'basic':141 'block':20,54 'build':1,35 'caveat':109 'client':106 'code':74,149 'comput':174 'convers':22,56 'creat':14,48 'credentials/sdks':77 'doc':183 'docs.letta.com':137,151,188 'docs.letta.com/api)).':136 'docs.letta.com/letta-code):':150 'document':187 'environ':95 'exchang':192 'extract':180 'featur':123 'full':122 'full-featur':121 'get':145 'getting-start':144 'github.com':178 'github.com/letta-ai/letta':177 'ident':17,51 'instal':84,88,97,103 'integr':80 'launch':165 'letta':10,12,44,46,73,99,105,118,148,160 'letta-ai':98 'letta-cli':104 'local':155,173 'long':6,29,40,63 'long-run':28,62 'long-term':5,39 'match':93 'memori':8,19,42,53,169 'model':82 'node.js':70,113,140 'nodejs.org':116 'nodejs.org/en/download)':115 'note':147 'npm':96 'path':91 'persist':24,58 'pip':102 'prerequisit':69 'provid':83 'python':128 'raw.githubusercontent.com':185 'raw.githubusercontent.com/letta-ai/letta/head/readme.md':184 'refer':135 'requir':107,112 'run':30,64,153,159,170 'sdk':131 'select':81 'session':26,60 'setup':90 'skill':191 'skill-build-stateful-agents-with-long-term-memory-using-letta' 'sourc':176,189 'source-agentskillexchange' 'start':146 'state':2,23,36,57 'term':7,41 'termin':158,163 'tool':18,52 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'typescript':130,139 'upstream':87,111,182 'usag':142 'use':9,11,43,45,85 'view':132 'whose':16,50 'workflow':34,68","prices":[{"id":"7c0ad2ab-0848-410d-af4d-20cded9e31dd","listingId":"2b4aa889-b3b8-4f6e-a7f6-21b5a62710e1","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:15:31.222Z"}],"sources":[{"listingId":"2b4aa889-b3b8-4f6e-a7f6-21b5a62710e1","source":"github","sourceId":"agentskillexchange/skills/build-stateful-agents-with-long-term-memory-using-letta","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/build-stateful-agents-with-long-term-memory-using-letta","isPrimary":false,"firstSeenAt":"2026-05-18T13:15:31.222Z","lastSeenAt":"2026-05-18T19:09:42.239Z"}],"details":{"listingId":"2b4aa889-b3b8-4f6e-a7f6-21b5a62710e1","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"build-stateful-agents-with-long-term-memory-using-letta","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"bf460c1eff8debc6cdc9197bfdcb43b30c4600e0","skill_md_path":"skills/build-stateful-agents-with-long-term-memory-using-letta/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/build-stateful-agents-with-long-term-memory-using-letta"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"Build stateful agents with long-term memory using Letta","description":"Use Letta to create agents whose identity, tools, memory blocks, and conversation state persist across sessions for long-running assistant or application workflows."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/build-stateful-agents-with-long-term-memory-using-letta"},"updatedAt":"2026-05-18T19:09:42.239Z"}}