← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

letta-code vs opencode

Side-by-side 2026 comparison in Coding, Skills & MCP: anomalyco/opencode leads both total GitHub adoption (★ 230.9k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

letta-code vs opencode — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM letta-code ★ 4k (+38/7d) opencode ★ 230.9k (+1.3k/7d) +2.7k +1.3k 0 11-21 11-28 12-04 (D1 snapshot)
letta-ai/letta-code (Health A+ 94/100) vs anomalyco/opencode (Health A+ 98/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensionletta-ai/letta-codeanomalyco/opencode
Total GitHub Stars★ 3,963★ 230,927
24h / 7d Velocity+6 / +38+82 / +1.3k
7-Day Trend Curve
Engineering HealthA+ · 94/100A+ · 98/100
Deployment SignalsCLI · Self-HostedCLI
Primary LanguageTypeScriptTypeScript
Commercial LicenseApache-2.0 · Commercial FriendlyMIT · Commercial Friendly
ActivityUpdated todayUpdated today
Latest Releasev0.34.87v2.4.4
Best ForLong-lived engineering work where the same agent needs to retain project context across sessions or machines, and the team can review memory changes and control runner permissionsTerminal-oriented teams that want to inspect and plan before editing, with a configurable choice of model providers
Maintaining letta-code, opencode, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

letta-code · Highlights & Quickstart

State and execution: Letta Cloud keeps memory, identity, and conversations; the CLI can run on a workstation or a connected computer.
Memory versioning: MemFS tracks agent context, including memory blocks, in Git and can sync it to a custom GitHub repository.
Skill scope: Load global skills from ~/.letta, project skills from .agents/skills, and agent skills from MemFS.
Agent delegation: General-purpose, forked, and recall subagents can run in the background; agents can also invoke other agents.
npm install -g @letta-ai/letta-code

opencode · Highlights & Quickstart

Agent policy: Tab switches between Build and Plan; Plan denies edits by default and prompts before running Bash.
Delegation: Invoke the built-in @general subagent for complex searches and multistep tasks.
Provider discovery: v2.4.1 makes config-only providers such as Ollama visible in /models without /connect.
Repository layout: TypeScript monorepo with bun.lock, turbo.json, and separate packages/, sdks/, and services/ directories.
# YOLO
curl -fsSL https://opencode.ai/v2/install | bash

# Package managers
npm i -g @opencode/cli@latest      # or bun/pnpm/yarn
brew install anomalyco/tap/opencode-v2 # macOS and Linux (recommended, always up to date)
brew install opencode              # macOS and Linux (official brew formula, updated less)
sudo pacman -S opencode            # Arch Linux (Stable)
paru -S opencode-beta              # Arch Linux (Latest from AUR)
mise use -g opencode               # Any OS
nix run github:anomalyco/opencode  # Nix

letta-code vs opencode FAQ

How do letta-code and opencode differ on commercial licensing?

letta-ai/letta-code uses Apache-2.0 · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas anomalyco/opencode uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.).

Which is growing faster in 2026: letta-code or opencode?

According to RepoForAI's 6-hour GitHub telemetry, letta-code has 3,963 stars (+38 in 7d) vs. opencode with 230,927 stars (+1,288 in 7d).

When should engineering teams pick letta-code vs opencode?

Choose letta-code (TypeScript) for: Long-lived engineering work where the same agent needs to retain project context across sessions or machines, and the team can review memory changes and control runner permissions. Choose opencode (TypeScript) for: Terminal-oriented teams that want to inspect and plan before editing, with a configurable choice of model providers.

More Head-to-Head Comparisons

WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare