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.

Stars
★ 5.4k
Last updated
today 3.293.0
FARS reviewed
Nov 08, 2026 +10 new
License
MIT
Primary language
Rust

At a glance

How it runs
CLIIDE extension
Works with
Universal · cross-platformCodex · Claude CodeChatGPT (Unsupported)
Cost
Free, no paid service needed
Setup effort
High · needs real infrastructure
You'll need
Kubernetes clusterkubectl configuredShell / CLINetwork access
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

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.

  1. Backend developers debugging microservices locally against a live Kubernetes cluster, with real env vars and dependencies.
  2. AI coding agents (Claude Code, Codex, etc.) that need to read real API responses or queue data to verify generated code.
  3. DevOps engineers verifying changes quickly in CI/CD using the CLI, without waiting for a full deployment.
  4. Full-stack developers using the VS Code extension to debug directly in the editor, without switching terminals.
  5. 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/mirrord
  • curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash
  • nix profile install nixpkgs#mirrord
  • choco 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)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • 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.
Limitations
  • 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?

FollowAgents source review · FARS-2.1
Major gaps
59/ 100 5-point scale 3.0 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 10 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 12/29
Reliability 6/14
Adaptability 14/18
Convention 13/18
Effectiveness 10/13
Verifiability 4/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

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.

Reliability6 / 14 · 2.1/5

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.

Adaptability14 / 18 · 3.9/5

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.

Convention13 / 18 · 3.6/5

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.

Effectiveness10 / 13 · 3.8/5

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.

Verifiability4 / 8 · 2.5/5

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.

Risks and how to mitigate them
  • 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.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 7cf43de56933 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/mirrord.svg)](https://followagents.com/en/agents/mirrord)
<a href="https://followagents.com/en/agents/mirrord"><img src="https://followagents.com/badge/mirrord.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. 3.293.0
    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 ↗
  2. 3.292.0
    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 ↗
  3. 3.291.2
    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?
mirrord launches a helper pod but does not alter the target pod or other cluster resources. It only mirrors traffic and env vars without persistent changes.
Do I need Kubernetes admin permissions?
You need permissions to create pods, and the helper pod requires specific Linux capabilities by default. If your cluster has security policies, you may need to adjust configuration.
Which programming languages are supported?
mirrord is language-agnostic as long as the process runs locally and communicates over TCP. Examples include Node.js, but any language works.
How can I disable unnecessary capabilities?
Set the environment variable MIRRORD_AGENT_DISABLED_CAPABILITIES (e.g., CAP_NET_RAW,CAP_SYS_PTRACE), but note that this may limit functionality.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts