The core purpose of mirrord is to make a locally running process (or a process in an AI coding agent environment) behave like a Pod in a Kubernetes cluster. It is suitable for scenarios where developers writing and debugging code locally need access to real cluster environment variables, service responses, queue contents, and so on, and also for AI coding agents to perform end-to-end verification directly against real cluster services after generating code.
In terms of main capabilities, mirrord mirrors the inbound traffic of the target Pod to the local process, routes the local process's outbound traffic through the target Pod, and does the same for file reads, file writes, and environment variables. It uses the machine's default kubeconfig to access the Kubernetes API. After selecting the Pod to emulate, mirrord starts a new Pod on the node where that Pod is located, used to connect the local process with the emulated Pod. The container running in this new Pod requires additional Linux capabilities: CAP_NET_ADMIN and CAP_NET_RAW (to modify the routing table), CAP_SYS_PTRACE (to read the target Pod's environment), and CAP_SYS_ADMIN (to join the target Pod's network namespace). These capabilities can be disabled as needed in the configuration, but doing so may limit functionality or even make it unusable.
In terms of usage, mirrord provides three forms: a VS Code extension, an IntelliJ plugin, and a CLI tool. VS Code extension: after installation, click "Enable mirrord" in the status bar, start debugging the project, select the Pod to emulate, and the debugged process connects to the selected Pod. IntelliJ plugin: after installation, click the mirrord icon in the navigation toolbar, and select the namespace and the Pod to emulate. CLI tool: it can be installed through the official method, or by using the community-maintained Nix method, or on Windows using Chocolatey.
When working with AI coding agents, mirrord can work together with agents such as Claude Code, Cursor, Codex CLI, and Gemini CLI, allowing the agent to run and verify generated code without deploying. Setup guides and ready-made workflow skills can be found at metalbear-co/skills or the mirrord for AI Agents page. Without mirrord for Teams On a cluster, an agent blocked by paid features can start a seven-day trial on its own, without an account or credit card, and then hand the user a link to claim the organization it created. The trial is at the Enterprise tier rather than the entry-level Team plan, so during the trial the agent can branch databases to avoid writing to shared data, split queues to avoid consuming other people's messages, and keep a preview environment for the user to inspect.
Use cases include: during local development, reading live cluster context (real environment variables, real service responses, real queue contents), so that changes are based on the actual deployment; then running code against the same services and data to confirm it works end to end. This provides feedback within seconds without deployment and without disturbing others in the cluster.
In terms of limitations, mirrord requires access to a Kubernetes cluster and uses kubeconfig; some features depend on the aforementioned Linux capabilities and may be limited if disabled; a trial started by an AI agent on its own is at the Enterprise tier and lasts seven days, and the specific terms are subject to the official description. Other features, charges, prices, platforms, or effects not explicitly stated in the materials are not provided for now.