memcode is an MIT-licensed terminal coding agent distributed as a single Go binary, published under the memcode-ai GitHub organization with 25 commits, 12 stars and 2 forks at the time of listing. It stores persistent repository state in a version-control-friendly `.memcode` directory covering subsystems, prior sessions, failed approaches and corrected preferences, and honors MEMCODE.md, AGENTS.md and CLAUDE.md instruction files, compacting oversized ones. Model policy runs client-side: an Automatic mode routes cheap models to routine turns and stronger models to planning, review, high-risk edits and error recovery, with catalog-defined fallback chains and `/model` pinning. It works with any OpenAI-compatible endpoint including local Ollama, and picks up OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, XAI_API_KEY and FIREWORKS_API_KEY automatically; a hosted memcode.ai account adds one cross-vendor balance, a BYOK key vault and hosted web search.
- github.com2026-08-10