Armadra 是一个本地优先的 AI 编程协作工作空间,让多个 AI 助手在同一张画布上分工、共享上下文并接续任务。
Claude Code、Codex、OpenCode、Pi、Oh My Pi 与 GitHub Copilot 这些 AI 编程助手(Agent)各自作为一个节点放在画布上,节点里直接运行对应的 CLI,沿用它的账户、模型与权限设置。你连接 Agent 来共享任务上下文,通过消息和交接让任务顺畅接续,在同一个工作空间里查看资料、进展与结果。
从使用一个 Agent,到组织多个 Agent
单独使用一个 Agent 时,上下文都在一个会话里。工作一旦跨越多个会话或多个 Agent,就会遇到这些问题:
- 接手的 Agent 不知道已经确认的决定、失败过的方法和结果的位置;
- 不同难度的步骤用同一个模型,预算没有花在最需要判断的地方;
- 多个终端窗口之间的关系只存在于你的脑子里。
Armadra 用画布把这些关系变成看得见、能操作的工作空间:
- 工作可以接续:相连的 Agent 按范围读取摘要、转录与相关资料,交换消息并进行阶段性交接。
- 模型可以分工:为节点选择不同模型,让经济模型承担边界明确的工作,让更强的模型处理复杂判断。当前分工由你或任务指令安排,自动难度路由尚未实现。
- 过程可以查看:Agent、便签、编辑器、Git 差异、文件、浏览器和白板共同构成工作面。
- 人始终在回路里:Agent 需要审批或回答时,请求出现在节点头部,也汇总在侧栏的通知里,由你来答;Armadra 不会替你批准。
节点里运行的是完整的 Agent 产品
Armadra 不重写 Agent。每个 Agent 节点启动的就是你已经在用的 CLI,复用它的多轮执行、工具调用和会话机制;Armadra 只负责节点身份、连线、消息与可读上下文。
内置支持 Claude Code、Codex、OpenCode、Pi、Oh My Pi 与 GitHub Copilot,另有随 Armadra 一起打包的协调者 ama,以及你自己配置的自定义 CLI。同一个 Agent 可以在「终端视图」(真实的终端)和「会话视图」(对话式界面,消息、工具调用与差异按卡片展示)之间切换,前提是该 Agent 提供了对应入口。
适合哪些工作
- 软件工程:需求分析、代码开发、测试、问题诊断与交叉审查。
- 算法与数据科学:算法实现、数据处理、模型训练与评测、实验结果比较。
- 科研:论文复现、计算实验、数据分析与可视化、研究结果复核。
运行方式
- 桌面应用:macOS、Windows、Linux 安装包,工作空间记录保存在本机 SQLite 与工作区的
.armadra/,无需单独部署服务器。
- 自托管部署与远程访问:把 Armadra 部署到自己的服务器或 NAS(服务器壳,没有窗口、常开),电脑与手机浏览器经 HTTPS 访问同一份页面,支持成员账号与按工作空间共享,见服务器与设备。
- 手机:手机浏览器与手机 App 连接到你自己的 Armadra,查看画布、答复审批,见手机 App。
Agent 在承载工作空间的电脑或服务器上运行,模型请求和相关数据处理遵循所使用 CLI 与模型服务的设置及政策。
怎么读这套文档
准备好了就去安装。
Armadra is a local-first workspace for collaborative AI coding. Bring multiple coding agents onto one canvas to divide tasks, share context, and hand off work.
Claude Code, Codex, OpenCode, Pi, Oh My Pi and GitHub Copilot each sit on the canvas as a node that runs the CLI itself, keeping that tool’s accounts, models and permission settings. You connect AI coding agents to share task context, use messages and handoffs to pass work along, and keep material, progress and results in one workspace.
From one agent to a team of agents
With a single agent, the whole context lives in one session. Once work spans several sessions or several agents, familiar problems appear:
- The agent picking up doesn’t know what was decided, what already failed or where the results are;
- Every step uses the same model, so the budget isn’t spent where judgment matters most;
- How the terminal windows relate exists only in your head.
Armadra turns those relationships into a workspace you can see and act on:
- Work carries over: linked agents read summaries, transcripts and related material within scope, exchange messages and hand off at milestones.
- Models split the work: pick a model per node so economical models take well-bounded tasks and stronger ones handle hard judgment calls. Today the split is arranged by you or the task instructions; automatic difficulty routing is not implemented.
- The process stays visible: agents, notes, editors, Git diffs, files, browsers and the whiteboard form one work surface.
- You stay in the loop: when an agent needs approval or an answer, the request shows up in the node header and is collected in the sidebar’s notifications for you to answer; Armadra never approves on your behalf.
Each node runs a complete agent product
Armadra doesn’t rewrite agents. Each agent node launches the CLI you already use and reuses its multi-turn execution, tool calls and sessions; Armadra only adds node identity, links, messages and readable context.
Claude Code, Codex, OpenCode, Pi, Oh My Pi and GitHub Copilot are supported out of the box, plus the coordinator ama that ships with Armadra and any custom CLI you configure. The same agent can switch between Terminal view (a real terminal) and Session view (a conversational interface that shows messages, tool calls and diffs as cards), provided the agent offers that entry point.
What it is good for
- Software engineering: requirements analysis, implementation, testing, diagnosis and cross-review.
- Algorithms and data science: algorithm work, data processing, model training and evaluation, comparing experiments.
- Research: reproducing papers, computational experiments, data analysis and visualization, checking results.
How it runs
- Desktop app: installers for macOS, Windows and Linux; workspace records live in local SQLite and the workspace’s
.armadra/, with no separate server to deploy.
- Self-hosting and remote access: deploy Armadra on your own server or NAS (the server shell: no window, always on); desktop and phone browsers reach the same pages over HTTPS, with member accounts and per-workspace sharing. See Server and devices.
- Phone: the phone browser and the mobile app connect to your own Armadra to view canvases and answer approvals. See Mobile app.
Agents run on the computer or server hosting the workspace. Model requests and related data handling follow the settings and policies of the CLI tools and model services you use.
How to read these docs
When you’re ready, head to Install.