mirrord Agent工作流 是 AI Skill Hub 本期精选AI工具之一。已获得 5.1k 颗 GitHub Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
mirrord Agent工作流 是一款基于 Rust 开发的开源工具,专注于 Kubernetes调试、本地开发、微服务 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
mirrord Agent工作流 是一款基于 Rust 开发的开源工具,专注于 Kubernetes调试、本地开发、微服务 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:cargo install(推荐) cargo install mirrord # 方式二:从源码编译 git clone https://github.com/metalbear-co/mirrord cd mirrord cargo build --release # 二进制在 ./target/release/mirrord
# 查看帮助 mirrord --help # 基本运行 mirrord [options] <input> # 详细使用说明请查阅文档 # https://github.com/metalbear-co/mirrord
# mirrord 配置说明 # 查看配置选项 mirrord --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export MIRRORD_CONFIG="/path/to/config.yml"
</div>
mirrord runs your local process inside a live Kubernetes cluster. It works the same way for developers and for AI coding agents (Claude Code, Cursor, Codex, Copilot, Windsurf): your code runs on your machine, but mirrord routes its traffic, files, and environment variables through a target pod in the cluster.
That covers both halves of the software development loop. Read live cluster context while writing the code (real env vars, real service responses, real queue contents) so the change is grounded in what's actually deployed. Then run the code against those same services and data to confirm it works end-to-end.
You get the feedback of a deploy in seconds, without the deploy, and without disrupting the cluster for anyone else. mirrord ships as a VS Code extension, IntelliJ plugin, and CLI tool. Read more.
Adopted by: monday.com, SurveyMonkey, Cadence, CoLab, Daylight Security, Zooplus, and others.
Container run inside the pod launched by mirrord requires additional Linux capabilities:
CAP_NET_ADMIN and CAP_NET_RAW - for modifying routing tablesCAP_SYS_PTRACE - for reading target pod environmentCAP_SYS_ADMIN - for joining target pod network namespaceHowever, you can disable any subset of those in the configuration. This will possibly limit mirrord functionalities or even make it unusable in some setups.
MIRRORD_AGENT_DISABLED_CAPABILITIES=CAP_NET_RAW,CAP_SYS_PTRACE mirrord exec node app.js --target pod/my-pod
<p align="center"> <img src="./images/how_it_works.svg" alt="How It Works"/> </p>
mirrord uses your machine's default kubeconfig for access to the Kubernetes API.
---
You can use either
brew install metalbear-co/mirrord/mirrord
or
curl -fsSL https://raw.githubusercontent.com/metalbear-co/mirrord/main/scripts/install.sh | bash
or using Nix (not official, community maintained):
```sh
<p align="center"> <img alt="demo of mirrord VSCode extension" src="./images/vscode.gif"> </p>
---
<p align="center"> <img alt="demo of mirrord IntelliJ plugin" src="./intellij-ext/src/main/resources/META-INF/usage.gif"> </p>
---
mirrord exec <process command> --target <target-path>
e.g.
mirrord exec node app.js --target pod/my-pod
---
nix-env -iA nixpkgs.mirrord
Our FAQ is available here. If you have a question that's not on there, feel free to ask in our Discussions or on Slack.
本项目是 mirrord 的简介,包含 logo、社区 Slack、GitHub CI 和许可信息。
本节介绍了 mirrord 的额外功能,包括容器运行所需的 Linux 能力、配置选项和环境变量。
本节提供了 mirrord 的安装步骤,包括 VS Code 扩展、IntelliJ 插件和 CLI 工具的安装。
本节介绍了如何使用 mirrord,包括启用 mirrord、启动调试、选择 pod 和 impersonate 的步骤。
本节介绍了使用 nix-env 安装 mirrord 的步骤,以及配置选项的说明。
本节介绍了 mirrord CLI 工具的 API 和接口说明。
本节介绍了 IntelliJ 插件的工作流和模块说明,包括 mirrord 的功能和使用方法。
本节提供了 mirrord 的常见问题和答案,包括安装、使用和配置等问题。
创新的开发工具,解决Kubernetes本地调试痛点。Rust实现性能优异,架构设计精妙,社区活跃度好,生产级应用前景广阔。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,mirrord Agent工作流 在AI工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | mirrord |
| 原始描述 | 开源AI工作流:Run local code as if it were a pod in a remote Kubernetes cluster: real env vars。⭐5.1k · Rust |
| Topics | Kubernetes调试本地开发微服务环境同步Rust工具 |
| GitHub | https://github.com/metalbear-co/mirrord |
| License | MIT |
| 语言 | Rust |
收录时间:2026-05-16 · 更新时间:2026-05-19 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。