ctxd logo
ctxd
★ 59
vs
letta logo
letta
★ 25.2k

ctxd vs letta

ctxd: ctxd provides a Python SDK and CLI for its cloud context infrastructure, designed for AI agents. It connects to, parses, indexes, and syncs content from various cloud applications like Google Drive, Slack, and GitHub, allowing permission-aware searching through a unified index.; 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

ctxd logo
ctxdMemory & Context · ★ 59

Providing context infrastructure for AI agents.

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
ctxd logoctxd
letta logoletta
Category
Memory & Context
Memory & Context
Stars
★ 59
★ 25.2k
License
MIT
Apache-2.0
Install Command
pip install ctxd
npm install -g @letta-ai/letta-code
Updated
1d ago
5d ago
Open Source
Yes
Yes
Tags
Python SDK, CLI, AI Agents
Stateful AI, Agent Platform, Advanced Memory
03

Features

ctxd logoctxd
01Connects to cloud files and data across multiple applications (e.g., Google Drive, Slack, GitHub).
02Parses, indexes, and syncs content for unified search.
03Provides a permission-aware search index.
04Offers both synchronous and asynchronous Python clients.
05Supports flexible authentication methods including API keys and interactive login.
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

ctxd logoctxd
↳Providing context infrastructure for AI agents.
↳Searching documents and data across various connected cloud applications.
↳Automating data retrieval and context fetching in scripts and headless environments.
↳Integrating cloud-based information into custom applications using Python SDK.
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

ctxd logoctxd
—
letta logoletta
Most PopularEssentialTrending
FAQ

FAQ

What is the difference between ctxd and letta?
Both ctxd and letta are in the Memory & Context category. ctxd has 59 stars, while letta has 25.2k stars.
Which is better, ctxd or letta?
The best choice depends on your use case. Choose ctxd if Providing context infrastructure for AI agents., and letta if Running AI agents locally in your terminal for coding and general tasks..
Is ctxd free or open source?
Yes, ctxd is open source on GitHub (MIT).
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