What is the best local alternative to Claude Code?
If your priority is privacy plus compounding memory, Anvaya: Ollama-first with zero keys, fully offline, and a memory graph so sessions improve instead of restarting from zero. If you want Claude models with a different harness, OpenCode (75+ providers) and Aider (git-native) are strong open-source picks — neither ships a calibrated memory engine.