letta logo
letta
★ 25.2k
vs
totem logo
totem
★ 17

letta vs totem

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.; totem: Totem is a set of CLI tools that provides persistent memory and enforcement layer for AI agents. It uses deterministic hooks to remember lessons the AI forgets, catching architectural mistakes before they become permanent. Totem runs entirely offline and completes linting in under 2 seconds.

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.
totem logo
totemMemory & Context · ★ 17

Prevent AI agents from repeating architectural mistakes

02

Side-by-Side Comparison

Field
letta logoletta
totem logototem
Category
Memory & Context
Memory & Context
Stars
★ 25.2k
★ 17
License
Apache-2.0
Apache-2.0
Install Command
npm install -g @letta-ai/letta-code
pnpm dlx @mmnto/cli init
Updated
5d ago
3d ago
Open Source
Yes
Yes
Tags
Stateful AI, Agent Platform, Advanced Memory
ai-agents, ast-grep, cli
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
totem logototem
01Offline linting in under 2 seconds
02Convert plain-English lessons into enforceable rules
03Git hooks for pre-push enforcement
04Cross-repo semantic memory via local knowledge base
05MCP server for agent context retrieval
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.
totem logototem
↳Prevent AI agents from repeating architectural mistakes
↳Enforce project-specific coding conventions and lessons
↳Provide persistent context to AI agents across sessions
05

Best For

letta logoletta
Most PopularEssentialTrending
totem logototem
—
FAQ

FAQ

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