← all releases
Mastra·Feb 24, 2026·v1.0·open source

Mastra Code

Mastra Code is an open-source terminal-based coding agent designed to enhance developer productivity by maintaining context over extended coding sessions. Unlike traditional coding agents that may lose context due to limitations like context window sizes, Mastra Code utilizes observational memory to compress context without losing critical information, ensuring a seamless and continuous development experience.

AI AgentsAgentic AICoding
visit website
overview

Mastra Code is an open-source terminal-based coding agent designed to enhance developer productivity by maintaining context over extended coding sessions. Unlike traditional coding agents that may lose context due to limitations like context window sizes, Mastra Code utilizes observational memory to compress context without losing critical information, ensuring a seamless and continuous development experience.

key features
  • 01Observational memory for context retention
  • 02Terminal-based user interface
  • 03Integration with Language Server Protocol (LSP)
  • 04Abstract Syntax Tree (AST)-aware code editing
  • 05Support for multiple AI models through Mastra’s model router

𝕏 From the Author

related productsbrowse all →
MiroThinkeropen sourceMiroThinker is an open-source search agent model developed by MiroMindAI, designed for tool-augmented reasoning and real-world information seeking. It aims to match the deep research capabilities of leading AI models like OpenAI's Deep Research and Google's Gemini Deep Research.Letta Code SDKopen sourceThe Letta Code SDK is a software development kit that enables developers to build deeply personalized agents with persistent memory that learn over time. It serves as the interface to Letta Code, facilitating the creation of stateful agents capable of continuous learning and improvement.OB-1open sourceOB-1 is a self-improving coding agent developed by OpenBlock Labs, designed to autonomously handle the full development lifecycle, from project management to pull requests. It integrates seamlessly into existing workflows, enhancing productivity and code quality.