Mirror CLI
Product · Developer tool · Engineering & development by Reflection AI
Open-source coding agent and terminal harness for agentic development.
Mirror CLI is an open-source terminal-based coding agent built on the Beam model for advanced software engineering. It enables developers to run parallel agents, manage resumable sessions, and automate workflows with human-in-the-loop steering.
- Launched
- 2026-10-16
- Languages
- English
Category: Developer Tools
- Platforms
- CLI, Terminal
- Programming languages
- Python, Rust
- Editors and tools
- Terminal, CLI, Slack, Linear, GitHub
- Integrations
- Slack, Linear, GitHub, Model Context Protocol (MCP)
- Deployment
- Self-hosted, Local terminal
- Frontend Language
- Python
- Terminal-based coding agent built on Beam 501B model
- Dual-architecture with Python frontend and Rust agent core
- Supports parallel agents in separate worktrees and resumable sessions
- Integrates with MCP, Slack, Linear, and GitHub
Overview
Mirror CLI is Reflection’s open-source coding agent and harness built on the Beam 501B model, designed for terminal-based software engineering. It serves as a daily developer tool that allows users to run agentic workflows directly from their terminal to read repositories, edit files, and execute commands. The tool features a dual-architecture consisting of a Python frontend for product logic and a minimal Rust agent core for high-performance model driving. Mirror supports advanced developer workflows including parallel agents in separate worktrees, resumable sessions, and Model Context Protocol (MCP) connections. Originally developed for internal use at Reflection to automate code reviews and background tasks, it is now available for developers to customize and deploy in their own environments.
Agentic Development
- Terminal-based execution: Mirror CLI allows developers to run the Beam model directly from a terminal as a daily coding and agent harness.
- Parallel agents: The tool supports parallel agents operating in separate worktrees to manage multiple tasks simultaneously.
- Resumable sessions: Mirror features resumable conversations, allowing developers to pick up where an agent left off in a previous session.
Extensibility and Tools
- MCP connections: Mirror integrates with the Model Context Protocol (MCP) to connect to external tools and data sources.
- Python extensions: The agent can be adapted to specific workflows through the creation and sharing of custom Python extensions.
- Workflow integrations: Mirror includes built-in integrations for Slack, Linear, and GitHub to streamline developer productivity.
- Customizable skills: Developers can adapt the agent using project instructions and specialized skills.
System Architecture
- Python frontend: The product layer, including prompts and developer tooling, is handled by a Python frontend.
- Rust agent core engine: A minimal Rust agent core drives the model over a local connection to ensure a clean evaluation surface.
- Open-source architecture: The tool is designed to be open-source friendly, allowing developers to point it at different checkpoints or endpoints.
Use cases
- Developers run Mirror from a terminal to automate daily coding tasks like code reviews and file editing.
- Software engineers use parallel agents in separate worktrees to manage multiple complex development tasks simultaneously.
- Teams integrate Mirror with Slack, Linear, and GitHub to streamline project management and communication.
- Researchers customize the agent using Python extensions and MCP connections to adapt it to specialized scientific workflows.
Specifications
- Platforms
- CLI, Terminal
- Programming languages
- Python, Rust
- Editors and tools
- Terminal, CLI, Slack, Linear, GitHub
- Integrations
- Slack, Linear, GitHub, Model Context Protocol (MCP)
- Deployment
- Self-hosted, Local terminal
- Frontend Language
- Python
- Core Engine
- Rust
- Primary Model
- Beam 501B MoE
- Interface
- Command Line Interface (CLI)
- Integration Protocol
- Model Context Protocol (MCP)
How it works
- Setup in Terminal: Developers can access the Mirror CLI through the Reflection Developer Docs and set it up to run from their terminal.
- Configure Endpoints: Users can point the CLI at different model checkpoints or endpoints to use as a daily coding and agent harness.
- Execute Agentic Tasks: Developers use the CLI to read repositories, edit files, and run commands, with the ability to approve tool calls and steer the agent.
FAQ
What is Mirror CLI?
Mirror CLI is Reflection’s open-source coding agent built on the Beam model, designed for terminal-based software engineering and agentic workflows.
How is Mirror CLI architected?
Mirror uses a dual-architecture with a Python frontend for the product layer and a minimal Rust agent core that drives the model over a local connection.
Can Mirror handle multiple tasks at once?
Yes, Mirror supports parallel agents in separate worktrees and resumable conversations to help developers manage complex workflows.
Is Mirror CLI open source?
Mirror is designed to be open-source friendly and can be pointed at different model checkpoints or endpoints.
Added by AntSpace from public sources (reflection.ai).