mirrord: Run Local Processes Inside Your Kubernetes Cluster
Run any local process, including AI coding agents, as if it were a pod in your Kubernetes cluster — real env vars, DNS, and traffic.
- Source repo
- metalbear-co/mirrord
- Stars
- ★ 5.4k
- Last updated
- today 3.293.0
- FARS reviewed
- Nov 08, 2026 +10 new
- License
- MIT
- Primary language
- Rust
- FA score
- 59/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude CodeChatGPT (Unsupported)
- Cost
- Free, no paid service needed
- Setup effort
- High · needs real infrastructure
- You'll need
- Typical use
- Backend developers debugging microservices locally against a live Kubernetes cluster, with real env vars and dependencies.
- Not a fit if
- Developers without a Kubernetes cluster or kubeconfig
- Teams in restricted environments that block CAP_SYS_ADMIN and similar capabilities
- Teams unwilling to spend extra cluster resources on a helper pod
- Website
- metalbear.com/mirrord ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release 3.293.0 (2026-12-02)+1.0 ★/day over 7 days
- Source review
- 59/100 · Major gaps
What does this agent do, and when should you use it?
mirrord is a developer tool that lets you run a local process (like a Node.js app or an AI coding agent) while routing its traffic, file accesses, and environment variables through a target pod in your Kubernetes cluster. It ships as a VS Code extension, IntelliJ plugin, and CLI tool, enabling developers to get real cluster feedback without deploying. For AI coding agents like Claude Code, Cursor, and Codex, mirrord allows them to access real service responses, queue contents, and environment variables, grounding generated code in actual deployment context. The tool is developed by MetalBear, MIT-licensed, and adopted by companies like monday.com and SurveyMonkey. It requires a Kubernetes cluster and a configured kubeconfig.
mirrord launches a helper pod on the same node as the target pod, which mirrors incoming traffic from the target pod to the local process and routes outgoing traffic, file reads/writes, and environment variables through the helper pod. Concretely, it uses mirrord exec <command> --target <target-path> to start a local process with real cluster context. VS Code and IntelliJ plugins provide GUI integration for easy debugging. It also supports disabling specific Linux capabilities (e.g., CAP_NET_ADMIN) via configuration to meet security requirements.
- Backend developers debugging microservices locally against a live Kubernetes cluster, with real env vars and dependencies.
- AI coding agents (Claude Code, Codex, etc.) that need to read real API responses or queue data to verify generated code.
- DevOps engineers verifying changes quickly in CI/CD using the CLI, without waiting for a full deployment.
- Full-stack developers using the VS Code extension to debug directly in the editor, without switching terminals.
- IntelliJ IDEA users who prefer in-IDE debugging with namespace and pod selection.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
brew install metalbear-co/mirrord/mirrordcurl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bashnix profile install nixpkgs#mirrordchoco install --pre mirrord
- Install notes cover
- Windows · macOS
How do you install or deploy this agent?
Install the CLI on macOS: brew install metalbear-co/mirrord/mirrord. Alternative: curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash. Nix: nix profile install nixpkgs#mirrord. Windows: choco install --pre mirrord. VS Code extension: [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=MetalBear.mirrord). IntelliJ plugin: [JetBrains Plugin](https://plugins.jetbrains.com/plugin/19772-mirrord). Prerequisite: a Kubernetes cluster and a configured kubeconfig.
How do you use this agent?
Ensure your kubeconfig points to the target cluster. Then run mirrord exec node app.js --target pod/my-pod to launch a local Node.js app with cluster context. For VS Code, install the extension, click 'Enable mirrord' in the status bar, start debugging, and choose a pod. For IntelliJ, click the mirrord icon, select a namespace and pod, then start debugging. For AI agents, see [metalbear-co/skills](https://github.com/metalbear-co/skills) for ready-made configurations.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Provides real cluster feedback without deployment, drastically shortening the development loop.
- Available as VS Code extension, IntelliJ plugin, and CLI, covering major development workflows.
- First-class support for AI coding agents like Claude Code and Codex, improving generated code accuracy.
- Configurable Linux capabilities for security-sensitive environments.
- Requires Kubernetes cluster access and a configured kubeconfig.
- Spins up a helper pod, consuming cluster resources.
- Default features need elevated Linux capabilities (e.g.,
CAP_SYS_ADMIN), which may be blocked in restricted environments. - Learning curve for setup and configuration, especially for less experienced users.
How does this agent compare with similar options?
Similar to Telepresence, but mirrord focuses on traffic and file mirroring with simpler CLI and IDE integrations.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| mirrord: Run Local Processes Inside Your Kubernetes Cluster This agent | 59 · Major gaps | CLIFree | ★ 5.4k | today | Rust | Codex · Claude Code |
| Destructive Command Guard (dcg) | 66 · Some gaps | CLIFree | ★ 6.4k | 1d ago | Rust | Codex · Claude Code |
| OpenClaude — Universal Terminal AI Coding Agent | 63 · Some gaps | CLIFree + model costs | ★ 35k | 1d ago | TypeScript | Claude Code · OpenAI API · Claude API |
| Cortex TMS | 61 · Some gaps | CLIFree | ★ 180 | 10d ago | MDX | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The evidence shows that mirrord injects a layer into the local process and starts an in-cluster agent, potentially using CAP_NET_ADMIN, CAP_SYS_PTRACE, and CAP_SYS_ADMIN. Some capabilities can be disabled, but default permission details and per-operation least privilege are not shown, so points are deducted. The README describes traffic, file, and environment forwarding, while the configuration skills advise against inline credentials and treat user config as data; evidence about runtime handling of sensitive data and log exposure is limited. The CLI example includes interactive target selection, but confirmation gates are not consistently described for CI, MCP, and automation. External effects and cleanup or rollback are only partly covered. SECURITY.md gives a reporting channel and handling commitments; repository metadata and the license identify MetalBear as the project source, but publisher identity remains unknown as instructed. The dependency manifest includes ecosystem and pinned Git dependencies, with no audit or vulnerability mitigation evidence in this packet.
The README's description of a local process receiving cluster context through a target pod broadly aligns with the crate roles in AGENTS.md. However, the supplied skills include version prerequisites and feature descriptions that cannot establish implementation consistency for every detail at this revision, so only partial credit is warranted. Cargo provides versions and pinned Git revisions, but the packet shows no dependency availability policy or lockfile sample. The agent entry point returns a failure code on errors without displaying error details; CLI and xtask contain more specific error-message evidence, so failure handling receives partial credit.
The README and skills cover developers, AI coding agents, IDEs, CLI, CI, configuration, database branching, and chaos testing, giving broad scenario coverage. Skill triggers are specific and include version prerequisites, feature stage, selector scope, and some platform limits. Configuration can disable capabilities and examples distinguish workflows, but a complete support matrix, default boundaries, and environment limits are spread across documentation not included here.
The README has a contents list, installation and usage sections, an operating overview, FAQ, and community links; skills include purpose, prerequisites, and examples. Repository structure and command references are also visible. Installation methods are clear but include a remote-script pipe-to-shell command and offer limited release-artifact verification guidance. The license is explicitly MIT. Cargo metadata gives a semantic version, and AGENTS.md describes changelog fragments and release procedures. Maintenance responsibility is partly traceable through the security contact, contribution guide, and release process, but response ownership and support periods are not fully established.
The product lets local programs use cluster context and provides workflows for configuration generation and validation, CI, database branching, and chaos testing, which shows clear marginal value. CLI commands and configuration examples are directly adaptable. However, the privileged in-cluster component and Teams/Enterprise requirements increase adoption and operating costs; some functionality is alpha, and the packet does not fully show output formats or recovery paths.
The README, AGENTS.md, entry-point code, and Cargo manifest corroborate the architecture, capability requirements, and version metadata. Skills give concrete versions, boundaries, and examples. Several safety, speed, isolation, and feature claims remain primarily documentary assertions without corresponding implementation or validation evidence in this sample. The documentation does not consistently distinguish established facts from promotional inference, so points are deducted.
- The tool connects a local process to a real cluster and can access the target pod's network, files, and environment. Check the target environment, RBAC, and agent capability configuration before use, especially before chaos testing production dependencies.
- The README includes a remote-script pipe-to-shell installation command. Review the installation source and artifact verification path, and follow the organization's approved installation process.
- The packet does not provide a complete dependency audit, default permission configuration, or detailed data handling for runtime logs; this static sample cannot establish those as verified.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Added - Added mirrord replay, which lists the HTTP requests that a local session received and sends them to your application again. - Added a Replay tab to the session view of mirrord ui, which lists the HTTP requests of a local session and sends them to your application again. - Added a mirrord-replay skill to mirrord mcp, which tells AI agents how to replay a request that a session received. - mirrord subscribe takes -n/--namespace to stream the events of one namespace, and -A/--all-namespaces to stream the events of every namespace. …View on GitHub ↗ -
Release notes excerpt
Added - Added mirrord login --url, mirrord logout and mirrord whoami for operator SSO logins. - Added mirrord preview wake, which wakes every preview environment under a key and waits until each one's pods are ready. It finds the key and kube contexts the way mirrord preview down does, keeps the previews from idling while it runs, and also wakes a multi-cluster preview's replicas. --timeout sets how long to wait, by default the longest wake timeout of the previews, and --no-wait returns once the operator has started waking every preview, …View on GitHub ↗ -
Release notes excerpt
Fixed - Fixed target paths with extra segments after the container name, such as pod/foo/container/bar/baz, being accepted with the extra segments dropped instead of rejected as invalid. [#5277](https://github.com/metalbear-co/mirrord/issues/5277) - Fixed an agent that removed the iptables rules of another agent for the same target container. Now an agent fails to start while another agent runs for the same target container.View on GitHub ↗
FAQ
Does mirrord modify my cluster?
Do I need Kubernetes admin permissions?
Which programming languages are supported?
How can I disable unnecessary capabilities?
MIRRORD_AGENT_DISABLED_CAPABILITIES (e.g., CAP_NET_RAW,CAP_SYS_PTRACE), but note that this may limit functionality.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.