EveryDev.ai
Sign inSubscribe
Home
Tools

1,236+ AI tools

  • Trending
  • New
  • Featured
Categories
  • Coding665
  • Agents551
  • Infrastructure276
  • Marketing266
  • Analytics206
  • Design202
  • Research194
  • Projects179
  • Integration143
  • Testing116
  • Data109
  • Learning104
  • Security98
  • MCP95
  • Extensions83
  • Prompts71
  • Commerce66
  • Communication62
  • Web59
  • Voice58
  • DevOps45
  • Finance11
Sign In
  1. Home
  2. Tools
  3. Mastra Code
Mastra Code icon

Mastra Code

AI Coding Assistants

Mastra Code is a terminal-based AI coding agent that connects to 70+ AI models and provides tools for reading, searching, editing, and executing code directly in your terminal.

Visit Website

At a Glance

Pricing

Open Source

Free to install and use via npm. Bring your own API keys for AI providers.

Engagement

Available On

Linux
macOS
Windows
API
SDK

Resources

WebsiteDocsGitHubllms.txt

Topics

AI Coding AssistantsCommand Line AssistantsAgent Frameworks

About Mastra Code

Mastra Code is a terminal-based AI coding agent built on Mastra's Harness, Agent, and Memory primitives. It runs in your terminal, connects to 70+ AI models, and provides built-in tools for reading, searching, editing, and executing code. The tool supports multiple operational modes, persistent conversation threads, MCP server integration, and full programmatic extensibility via its createMastraCode() API.

  • Build, Plan, and Fast Modes: Switch between modes to match your workflow — Build for active coding, Plan for architecture analysis, and Fast for quick lookups with minimal latency.
  • 70+ AI Model Support: Connect to models from Anthropic, OpenAI, Google, and other providers; switch models mid-conversation using the /models slash command.
  • Built-in Coding Tools: File viewing, editing, searching, shell command execution, and web search are all available out of the box.
  • MCP Server Integration: Configure and connect to Model Context Protocol servers for extended tool capabilities within your project.
  • Persistent Thread Management: Project-scoped conversation threads are stored via LibSQL, preserving message history and token usage across sessions.
  • Observational Memory: Background observer and reflector models automatically summarize and reflect on long conversations to maintain context.
  • Custom Modes and Tools: Extend Mastra Code programmatically by defining custom modes, tools, subagents, and storage backends using the createMastraCode() factory function.
  • Permission Controls: Fine-grained per-category and per-tool approval policies let you control which operations require confirmation (read, edit, execute, MCP).
  • Slash Commands: Manage sessions, switch models, view token costs, authenticate with providers, and more using built-in / commands.
  • Remote Storage Support: Connect to remote LibSQL (Turso) or PostgreSQL databases for shared or cloud-backed thread persistence.
  • Embeddable API: Use createMastraCode() and MastraTUI to embed the agent in custom applications or build entirely new TUI experiences.

To get started, install globally with npm install -g mastracode, navigate to your project directory, run mastracode, and set an API key for your preferred AI provider.

Mastra Code - 1

Community Discussions

Be the first to start a conversation about Mastra Code

Share your experience with Mastra Code, ask questions, or help others learn from your insights.

Pricing

OPEN SOURCE

Open Source

Free to install and use via npm. Bring your own API keys for AI providers.

  • Terminal-based AI coding agent
  • 70+ AI model support
  • Build, Plan, and Fast modes
  • File reading, editing, searching tools
  • Shell command execution
View official pricing

Capabilities

Key Features

  • Terminal-based AI coding agent
  • Supports 70+ AI models
  • Build, Plan, and Fast modes
  • File reading, editing, and searching tools
  • Shell command execution
  • Web search tool
  • MCP server integration
  • Project-scoped thread persistence
  • Observational memory with background summarization
  • Custom modes, tools, and subagents
  • Permission rules per tool category
  • Remote LibSQL and PostgreSQL storage
  • OAuth authentication for providers
  • Slash commands for session management
  • Embeddable via createMastraCode() API
  • Custom TUI via MastraTUI class
  • AST-based smart editing
  • Token usage tracking

Integrations

Anthropic Claude
OpenAI
Google Gemini
LibSQL
Turso
PostgreSQL
MCP servers
Mastra Harness
Mastra Agent
Mastra Memory
API Available
View Docs

Reviews & Ratings

No ratings yet

Be the first to rate Mastra Code and help others make informed decisions.

Developer

Mastra

Mastra builds a TypeScript-native AI framework and cloud platform that helps developers prototype and productionize agents and workflows. The team ships a developer SDK, CLI, templates, and a cloud product with observability and tracing. The company focuses on developer ergonomics, unified provider access, and durable workflows for real-world AI applications.

Founded 2024
San Francisco, CA
$13M raised
20 employees

Used by

SoftBank
Adobe
PayPal
Replit
+18 more
Read more about Mastra
WebsiteGitHubX / Twitter
2 tools in directory

Similar Tools

Pi Coding Agent icon

Pi Coding Agent

A minimal terminal coding harness that adapts to your workflows with TypeScript extensions, skills, prompt templates, and themes.

Mistral Vibe CLI icon

Mistral Vibe CLI

Open-source command-line coding assistant powered by Devstral models for terminal-based agentic coding, file manipulation, and codebase exploration.

mini-SWE-agent icon

mini-SWE-agent

100-line Python coding agent with CLI/TUI that fixes GitHub issues and automates repo tasks. Model-agnostic via LiteLLM, sandboxable (Docker/Podman/Bubblewrap), with an Inspector to browse trajectories.

Browse all tools

Related Topics

AI Coding Assistants

AI tools that help write, edit, and understand code with intelligent suggestions.

259 tools

Command Line Assistants

AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

60 tools

Agent Frameworks

Tools and platforms for building and deploying custom AI agents.

94 tools
Browse all topics
Back to all tools
Explore AI Tools
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
Create
Sign In
    Sign in
    0views
    0upvotes
    0discussions