Mastra Code vs. OpenHands CLI

FeatureMastra CodeOpenHands CLI
Mastra Code logoOpenHands CLI logo
TaglineCoding agent that replaces compaction with Observational MemoryLightweight OpenHands CLI as a standalone AI coding agent
Websitehttps://code.mastra.ai/https://github.com/OpenHands/OpenHands
Language
typescript
python
Release DateDecember 24, 2025October 18, 2025
Last UpdatedSeptember 4, 2026August 19, 2026
Provider TypeIndependentIndependent
MCP Support
Yes
Yes
Multi-Agent Support
Yes
Yes
Git Integrationbasicbasic
Multi-File Editing
Yes
Yes
Auto Test Running
No
Yes
Sandbox / Permissions
Yes
Yes
Image / Multimodal Input
Yes
No
Voice Mode
Yes
No
IDE IntegrationACP (Agent Client Protocol)Zed, Toad, VS Code, JetBrains IDEs
Hooks / Extensions
Yes
No
Web Search
Yes
Yes
Local Model Support
Yes
Yes
Context WindowModel-dependent; observation-basedModel-dependent
Terminal Bench 2.0 #64 · 51.9% ±2.9 2
Supported ModelsClaude, GPT, Gemini and thousands more via Mastra's unified model router, plus custom OpenAI-compatible providersModels from multiple providers including, OpenAI, Anthropic, Google, xAI. Compatible with 400+ OpenRouter models.
Supported Subscriptions
Claude Code Claude CodeChatGPT ChatGPTGitHub Copilot GitHub CopilotSuperGrok SuperGrok
Pricing ModelFree, BYOKBYOK
Free Tier
Yes
Yes
Price RangeFree (BYOK)Free (BYOK)
Source Code AvailabilityOpen Source (Apache-2.0)Open Source (MIT)
Source Codehttps://github.com/mastra-ai/mastrahttps://github.com/OpenHands/OpenHands
Development State
active
active

2 OpenHands CLI tested with Claude Opus 4.5 on Terminal Bench v2.0.

Compare With Other AI Coding Agents

Get Updates On Terminal Trove.

No spam, just updates on Terminal Trove. See an example update.