# Mastra Code alternatives

Mastra Code: The AI coding agent that never compacts

24 products that do a similar job, closest first. 13 have pricing checked on their own site; 13 of those are free or have a free tier.

Page: https://nowfound.app/alternatives/mastra-code
About Mastra Code: https://nowfound.app/launch/mastra-code.md

- [Context Gateway](https://nowfound.app/launch/context-gateway): Context Gateway is an open-source proxy that sits between AI coding agents and language models, compressing tool outputs to reduce token usage and improve quality. (2026-03-06, 219 votes, free, github.com)
- [Agentmemory](https://nowfound.app/launch/agentmemory): Persistent memory for Claude Code, Codex & coding agents (2026-05-16, 310 votes, free, agent-memory.dev)
- [ContextPool](https://nowfound.app/launch/contextpool): Persistent memory for AI coding agents (2026-04-13, 180 votes, free tier, from $7.99/mo, contextpool.io)
- [AGENTS.md](https://nowfound.app/launch/agents-md): A README, but for your AI coding agent (2025-08-21, 219 votes, agents.md)
- [ContextsBase](https://nowfound.app/launch/contextsbase): Context Infrastructure for Coding Agents (2026-09-17, 75 votes, free tier, contextsbase.com)
- [Granary by Speakeasy](https://nowfound.app/launch/granary-by-speakeasy): The context hub for your agents (2026-02-12, 96 votes, granary.dev)
- [Keen Code](https://nowfound.app/launch/keen-code): Keen Code is an open-source CLI coding agent written in Go that helps developers work with AI-assisted programming. (2026-06-04, 125 votes, mochow13.github.io)
- [Contextberg](https://nowfound.app/launch/contextberg): Turn your work into AI agent memory, served over MCP (2026-05-20, 102 votes, contextberg.com)
- [Statefold](https://nowfound.app/launch/statefold-a6t): Coding agents that keep working while you're away (2026-11-25, 76 votes, statefold.sh)
- [ResumeContext](https://nowfound.app/launch/resumecontext): Shared memory for coding agents. (2026-09-21, 74 votes, resumecontext.com)
- [Reika](https://nowfound.app/launch/reika): A coding agent CLI designed around small local models first (2026-10-07, 72 votes, free, reikacode.com)
- [Agent Context](https://nowfound.app/launch/agent-context): Agent Context is a Visual Studio Code extension that lets developers attach external reference folders to their workspace via symlinks without copying files into their repository. (2026-04-23, 62 votes, marketplace.visualstudio.com)
- [GitHub](https://nowfound.app/launch/github-t1177788): PMB is a local-first memory system designed for AI coding agents like Claude Code, Cursor, and Codex. (2026-06-22, 10 votes, free, github.com)
- [Sense, code intelligence for AI agents](https://nowfound.app/launch/sense-code-intelligence-for-ai-agents): Your AI has your code's text, never its map. Fix that. (2026-06-08, 14 votes, free, luuuc.github.io)
- [ultrasync](https://nowfound.app/launch/ultrasync): Semantic code search and memory for AI coding agents. Sub-millisecond lookups, persistent context across sessions. (2026-01-02, 6 votes, ultrasync.dev)
- [Context Mode Insight](https://nowfound.app/launch/context-mode-insight): An open-source MCP plugin (300,000+ developers) and a commercial Platform that builds Solutions on top. context-mode keeps raw data out of the LLM context window. Insight surfaces what your team is d… (2026-06-26, 24 votes, free tier, from $20/mo, context-mode.com)
- [A Context Registry for AI coding agents](https://nowfound.app/launch/a-context-registry-for-ai-coding-agents): A directory of Context Plugins, one per API. Each one grounds your coding agent in the API’s real specification, so what it writes is ready for production. (2026-09-03, 9 votes, context.apimatic.io)
- [Code](https://nowfound.app/launch/code-t1006613): Code is an open-source terminal-based coding agent that orchestrates multiple AI models including ChatGPT, Claude, and Gemini to assist with software development tasks. (2025-08-20, 20 votes, free, github.com)
- [OpenContext](https://nowfound.app/launch/opencontext): Persistent, project-local memory for AI coding agent via MCP (2026-08-30, 4 votes, opencntx.dev)
- [Mini-coder](https://nowfound.app/launch/mini-coder-small-fast-cli-coding-agent): A good idea 👾 A fast, transparent agent for the terminal (2026-03-02, 6 votes, free, github.com)
- [Agent Memory System](https://nowfound.app/launch/agent-memory-system): Open Source Context Infrastructure for AI Agents (2026-05-10, 9 votes, ravbyte-ai.github.io)
- [Give your coding agents the ability to message](https://nowfound.app/launch/give-your-coding-agents-the-ability-to-message-each-other): This tool enables coding agents to communicate with each other, allowing them to coordinate and share information during development tasks. (2025-11-02, 14 votes, free, github.com)
- [ctx](https://nowfound.app/launch/ctx): Keep your AI coding sessions alive.Never lose context again. (2026-06-30, 4 votes, free, github.com)
- [Context-compact](https://nowfound.app/launch/context-compact-summarize-agent-context-instead-of-truncatin): agents. Not a custom truncation strategy, not a sliding window, not dropping old messages and hoping for the best. The failure mode is well-understood: your context window fills up, you truncate from… (2026-03-07, 6 votes, free, github.com)
