← All notes

Letta Code memory: rewriting context and tracking it in git

Answer: Letta Code lets agents rewrite their context, including memory blocks and skills. Its MemFS tracks context in git.

Runtime features

The README describes message search across agents and conversations. The /palace command displays memory. It loads global skills, project-scoped skills and agent-scoped skills stored in MemFS.

Research context

MemGPT manages different memory tiers to extend usable context within a limited context window. The paper evaluates document analysis and multi-session chat.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: letta-ai/letta-code (GitHub), Letta Code README, Apache-2.0 (https://raw.githubusercontent.com/letta-ai/letta-code/main/LICENSE); arXiv, MemGPT: Towards LLMs as Operating Systems (arXiv 2310.08560), CC BY 4.0 (https://arxiv.org/abs/2310.08560 (license link creativecommons.org/licenses/by/4.0/)). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: letta-ai/letta-code (GitHub), Letta Code README, Apache-2.0 (https://raw.githubusercontent.com/letta-ai/letta-code/main/LICENSE); arXiv, MemGPT: Towards LLMs as Operating Systems (arXiv 2310.08560), CC BY 4.0 (https://arxiv.org/abs/2310.08560 (license link creativecommons.org/licenses/by/4.0/)).

Cite this

Permanent ID: iil:note:qnbpx8y5

iinventedlight. 2026. "Letta Code memory: rewriting context and tracking it in git." iinventedlight Library, iil:note:qnbpx8y5, version of 2026-11-16. https://iinventedlight.com/library/notes/ao-memory-letta-context/. License: CC-BY-4.0.

@misc{iil_note_qnbpx8y5,
  author = {{iinventedlight}},
  title = {{Letta Code memory: rewriting context and tracking it in git}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/ao-memory-letta-context/},
  note = {Permanent ID iil:note:qnbpx8y5. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/ao-memory-letta-context.md.