Vs · Claude Code

Anvaya vs Claude Code.

The terminal agent that made agentic coding mainstream, against the local-first harness that remembers. An honest table, real tradeoffs, and one gap we measured.

The short answer

Anvaya vs Claude Code comes down to three differences. Models: Claude Code runs Anthropic models only; Anvaya is Ollama-first with no account or key, plus BYOK for Anthropic and any OpenAI-compatible endpoint.

Read the full answer

Memory: Claude Code relies on a hand-maintained CLAUDE.md plus auto-memory files; Anvaya keeps a local knowledge graph (typed nodes, per-type decay, git drift detection, outcome-calibrated utility) targeting 2–4K packed tokens per turn (12–25x per-node design estimate). Execution: Claude Code is cloud-processed and terminal-first; Anvaya is local-first, offline-capable, a static binary at ~5MB idle, with an 8-screen TUI plus headless CI mode. Claude Code still leads on frontier reasoning depth and harness maturity; Anvaya wins on privacy, marginal cost, and compounding context. Many developers will run both, bridged over MCP.

Weighed side by side

Eighteen times lighter, same benchmark.

432.1 MB against 23.4 MB: same models, same corpus, macOS on Apple silicon.

Footprint · median own-process RSS
HarnessclaudeMedian RSS432.1 MBAgainst anv18.5× 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.

DimensionClaude CodeAnvayaWinner
ModelsAnthropic onlyOllama + Anthropic, OpenAI, customAnvaya on choice
Memory modelCLAUDE.md + auto-memoryTyped graph, decay, calibrationAnvaya on compounding
Session-50 context~50K (est., flat)~2–4K packed (design est.)Anvaya (projected)
Harness RSS (measured)432.1 MB median23.4 MB medianAnvaya (14 harnesses, 994 verified runs)
Reasoning peakOpus-class frontierModel-dependent (BYO)Claude Code
OfflineNoYesAnvaya
PrivacyCloud processingLocal by defaultAnvaya
Harness maturityMature hooks, git flowPre-1.0, one-command installClaude Code
Entry price$20/mo$0 local loopAnvaya

Questions

Asked about switching.

Should I switch from Claude Code to Anvaya?

Switch if you want local-first execution and memory that compounds: Ollama-first, offline, sessions that get cheaper with use. Stay if you want the most mature Anthropic-native harness with the deepest frontier reasoning, or use both, with Anvaya's memory served to Claude Code over MCP.

Can I use both at once?

Yes, this is the recommended setup during beta. Keep Claude Code as the harness, attach Anvaya Mind over MCP, and Claude turns start arriving with packed project memory. Record outcomes from either side; one graph serves both.

Which is cheaper?

Claude Code starts at $20/mo with usage windows (heavy use: $100–200/mo tiers). Anvaya's local loop is $0 marginal on your hardware; paid cloud turns shrink via 12–25x per-node compression. Anvaya pricing is unset (pre-1.0); the core stays local-first.

Are the Anvaya numbers measured?

Mixed, and we label which is which. Per-node compression ratios (12–25x) are per-node design estimates. Measured: micro-fold −11.0% median uncached tokens (n=5, verification 19/19) and harness RSS (23.4 MB median own-process with --no-mind; 14 harnesses, 1030 runs, 994 verified). Competitor session behavior is estimated from public docs (labeled est. everywhere). See /benchmarks/records.

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.