What is the best local alternative to Claude Code?
If your priority is privacy plus compounding memory, Anvaya: Ollama-first with no key needed locally, BYOK for any OpenAI-compatible or Anthropic provider, and a memory graph so sessions improve instead of restarting. If you want Claude models with a different harness, OpenCode (75+ providers) and Aider (git-native) are strong picks, neither ships a calibrated memory engine.