Vs · OpenCode

Anvaya vs OpenCode.

The open-source TUI with 75+ providers, against the Rust harness that remembers. Same terminal spirit, a different bet on what matters next.

The short answer

Anvaya vs OpenCode: both are terminal agents that refuse model lock-in: OpenCode routes 75+ providers through a TypeScript TUI (plus desktop and IDE extensions), Anvaya runs a local-capable loop with Anthropic, OpenAI-compatible gateways and Ollama from a single static Rust binary.

Read the full answer

The split is memory: OpenCode keeps checkpoint summaries, so session 50 costs what session 1 cost; Anvaya keeps a compounding knowledge graph (typed nodes, decay, drift detection, outcome calibration) targeting 2–4K packed tokens per turn. OpenCode wins on provider breadth, surface coverage, and packaged maturity today; Anvaya wins on local footprint (~5 MB idle, no runtime), code-native retrieval (repomap PageRank + pooled LSP), and context that improves with use. Anvaya is pre-1.0: OpenCode is the mature open default; Anvaya is the memory bet.

Weighed side by side

Same spirit. A twenty-fifth of the weight.

opencode measured 582.3 MB, the heaviest in our field; anv measured 23.4 MB.

Footprint · median own-process RSS
HarnessopencodeMedian RSS582.3 MBAgainst anv24.9× anv

Median own-process RSS · anv --no-mind · macOS/ARM · 14 harnesses, 1030 runs, 994 verified

With the Mind on, anv’s process tree is about 213 MB, measured separately.

Every bar to scale. Hover or focus a row to compare it with anv.Anvaya-Benchmark/docs/v6-evot-lane.md · CRITERIA.md §8

The table

Side by side.

DimensionOpenCodeAnvayaWinner
Providers75+ via Models.devOllama + 3 + customOpenCode on breadth
Memory modelCheckpoint summaryTyped graph, calibratedAnvaya on compounding
SurfacesTUI + desktop + IDETUI + headless CIOpenCode on coverage
FootprintTS runtime + extensionsStatic binary (14–19 MB), ~5MB idleAnvaya on weight
Harness RSS (measured)582.3 MB median23.4 MB medianAnvaya (14 harnesses, 994 verified runs)
LSPNativeNative pooled sessionsTie
LicenseMIT open sourceNot stated during betaOpenCode on clarity
Local modelsVia Ollama endpointsLocal endpoint, offline-capableAnvaya on local

Questions

Asked about the two.

How is Anvaya different from OpenCode?

OpenCode is the most flexible open-source harness: 75+ providers, subagents, plan mode, LSP, bring any model. Anvaya shares that philosophy (multi-provider, subagents, plan mode, native LSP) and adds what OpenCode lacks: a persistent memory graph that compounds across sessions, repomap PageRank retrieval, and a single static Rust binary (14–19 MB) with ~5 MB idle.

Can I use OpenCode's models with Anvaya's memory?

Conceptually yes: Anvaya is multi-provider (Ollama, OpenAI-compatible endpoints, Anthropic), so the same Claude/GPT keys work. During beta the practical bridge is MCP, serve Anvaya's memory to any harness while the native multi-provider loop hardens.

Which is lighter?

Anvaya: one static Rust binary (14–19 MB), ~5 MB idle, no runtime. OpenCode ships a TypeScript TUI plus desktop and IDE extensions, broader surface, heavier footprint. Pick OpenCode for surface coverage, Anvaya for minimal local footprint plus memory.

How open are Anvaya's formats?

The memory files are open formats (SQLite, flat index, NDJSON log) with visible tool and context decisions. The product itself is proprietary and source-private during the beta, distributed as signed binaries; OpenCode is MIT with a broad packaged distribution.

Run agents that fit on your laptop.

23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.

Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.