ctx-open logo
ctx-open
★ 59
vs
letta logo
letta
★ 25.2k

ctx-open vs letta

ctx-open: CTX is a cognitive version control system for AI agents, preserving structured reasoning artifacts as durable state instead of ephemeral chat transcripts. It enables agents to maintain continuity across sessions, track decisions, and reproduce reasoning paths. The system includes a CLI, a local MCP server, and a web viewer.; letta: Letta is a powerful platform for building stateful AI agents equipped with advanced memory, enabling them to learn and self-improve over time. It provides both a command-line interface for local agent execution and a comprehensive API with Python and TypeScript SDKs for seamless integration into applications.

01

TL;DR

ctx-open logo
ctx-openMemory & Context · ★ 59

Multi-session agent continuity: resume work across interruptions without re-investigation

letta logo
lettaMemory & Context · ★ 25.2k
When to choose:
  • You want a long-lived agent that remembers past work and rewrites its own memory and context over time.
  • You want one agent reachable from CLI, desktop, browser, mobile and messaging apps, with subagents, schedules and hooks.
  • You want memory you can inspect: the README says context is tracked in git and can sync to your own repository.
When to skip:
  • You only need to add memory to an agent you already use through MCP; a small MCP memory server is a lighter fit.
  • You rely on older Letta tutorials or the V1 API server: the project restructured, and the V1 server is retired.
  • You want everything to work without signing in: Letta Cloud is the default backend and some features need it.
02

Side-by-Side Comparison

Field
ctx-open logoctx-open
letta logoletta
Category
Memory & Context
Memory & Context
Stars
★ 59
★ 25.2k
License
NOASSERTION
Apache-2.0
Install Command
git clone https://github.com/diegoxtr/ctx-open.git && cd ctx-open && bash ./install.sh
npm install -g @letta-ai/letta-code
Updated
1mo ago
5d ago
Open Source
Yes
Yes
Tags
agent-memory, ai, ai-agents
Stateful AI, Agent Platform, Advanced Memory
03

Features

ctx-open logoctx-open
01Structured cognitive versioning with goals, tasks, hypotheses, evidence, decisions, and conclusions
02Persistent working memory that survives model changes, provider changes, and session loss
03Local stdio MCP server for integration with MCP-capable agents and IDEs
04Cross-platform CLI and web viewer supporting multiple repositories and branches
05Agent operating protocol with minimal state machine: working context, closeout, commit
letta logoletta
01Build stateful AI agents with advanced memory
02Agents capable of learning and self-improvement over time
03CLI tool for running agents locally in your terminal
04Comprehensive API for integrating agents into applications
05Support for skills and subagents; fully model-agnostic
04

Use Cases

ctx-open logoctx-open
↳Multi-session agent continuity: resume work across interruptions without re-investigation
↳Tracking and explaining AI decisions: preserve the reasoning trail for auditing and reproducibility
↳Generating structured training data: capture how ideas evolved with complete evidence and decisions
letta logoletta
↳Running AI agents locally in your terminal for coding and general tasks.
↳Integrating stateful AI agents into custom applications using the API and SDKs.
↳Developing self-improving AI systems that adapt and learn continually.
05

Best For

ctx-open logoctx-open
—
letta logoletta
Most PopularEssentialTrending
FAQ

FAQ

What is the difference between ctx-open and letta?
Both ctx-open and letta are in the Memory & Context category. ctx-open has 59 stars, while letta has 25.2k stars.
Which is better, ctx-open or letta?
The best choice depends on your use case. Choose ctx-open if Multi-session agent continuity: resume work across interruptions without re-investigation, and letta if Running AI agents locally in your terminal for coding and general tasks..
Is ctx-open free or open source?
Yes, ctx-open is open source on GitHub (NOASSERTION).
Is letta free or open source?
Yes, letta is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related