letta logo
letta
★ 25.2k
vs
okf-agent-memory logo
okf-agent-memory
★ 827

letta vs okf-agent-memory

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.; okf-agent-memory: OKF Agent Memory provides a domain-neutral, Git-native persistent project memory for AI agents, leveraging the Dual-Memory Agent Architecture to prevent context bloat and memory rot. It uses an ultra-compact behavioral codex and a queryable OKF v0.2 knowledge bundle, with blazing-fast, zero-cost local retrieval.

01

TL;DR

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.
okf-agent-memory logo
okf-agent-memoryMemory & Context · ★ 827

Software Engineering: Managing architecture decisions, code references, and operational constraints.

02

Side-by-Side Comparison

Field
letta logoletta
okf-agent-memory logookf-agent-memory
Category
Memory & Context
Memory & Context
Stars
★ 25.2k
★ 827
License
Apache-2.0
MIT
Install Command
npm install -g @letta-ai/letta-code
git clone https://github.com/okf-memory/okf-agent-memory.git && cd okf-agent-memory && make build
Updated
4d ago
1d ago
Open Source
Yes
Yes
Tags
Stateful AI, Agent Platform, Advanced Memory
AI Agents, Persistent Memory, Knowledge Base
03

Features

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
okf-agent-memory logookf-agent-memory
01Dual-Memory Cognitive Architecture (DMAA) to eliminate prompt bloat.
02Blazing fast performance with in-memory BM25 search (<300µs) and graph validation (~4ms).
03100% Git-native, zero vendor lock-in, and zero API costs for memory retrieval.
04Built on Google's Open Knowledge Format (OKF) v0.2 for standardized agent knowledge.
05Solves context bloat and memory rot through progressive disclosure and Search-Before-Write principle.
04

Use Cases

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.
okf-agent-memory logookf-agent-memory
↳Software Engineering: Managing architecture decisions, code references, and operational constraints.
↳Scientific Research & Literature Reviews: Organizing and querying research findings and insights.
↳Coaching & Operations: Storing client session history, ethical guidelines, and runbooks.
↳Multi-Agent Collaboration: Providing a shared, auditable knowledge base for autonomous agents.
05

Best For

letta logoletta
Most PopularEssentialTrending
okf-agent-memory logookf-agent-memory
Hidden Gem
FAQ

FAQ

What is the difference between letta and okf-agent-memory?
Both letta and okf-agent-memory are in the Memory & Context category. letta has 25.2k stars, while okf-agent-memory has 827 stars.
Which is better, letta or okf-agent-memory?
The best choice depends on your use case. Choose letta if Running AI agents locally in your terminal for coding and general tasks., and okf-agent-memory if Software Engineering: Managing architecture decisions, code references, and operational constraints..
Is letta free or open source?
Yes, letta is open source on GitHub (Apache-2.0).
Is okf-agent-memory free or open source?
Yes, okf-agent-memory is open source on GitHub (MIT).
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