Armadra

入门

安装

下载桌面安装包,或从源码运行。


下载安装包

当前版本 v0.25.1。下载对应系统与架构的安装包。

系统 安装包 说明
macOS(Apple 芯片) Armadra_0.25.1_darwin-aarch64.dmg / Armadra_0.25.1_darwin-aarch64.zip 需要 macOS 13.3 或更新
macOS(Intel) Armadra_0.25.1_darwin-x86_64.dmg / Armadra_0.25.1_darwin-x86_64.zip 同上
Windows x64 Armadra_0.25.1_windows-x86_64-setup.exe / Armadra_0.25.1_windows-x86_64-portable.zip 安装版或免安装版
Windows ARM64 Armadra_0.25.1_windows-aarch64-setup.exe / Armadra_0.25.1_windows-aarch64-portable.zip 同上
Linux x86_64 Armadra_0.25.1_linux-x86_64.AppImage / Armadra_0.25.1_linux-x86_64.deb / Armadra_0.25.1_linux-x86_64.rpm
Linux aarch64 Armadra_0.25.1_linux-aarch64.AppImage / Armadra_0.25.1_linux-aarch64.deb / Armadra_0.25.1_linux-aarch64.rpm
Android armadra-mobile_0.25.1_android.apk 手动安装,见下

当前安装包尚未签名与公证(macOS 为 ad-hoc 签名),首次打开时系统会提示风险。Windows 上在 SmartScreen 提示里选择「仍要运行」;macOS 的打开方法见下一节。正式签名与公证推迟到公开发布,见路线图。

macOS 首次打开

官方 macOS 安装包是 ad-hoc 签名、未经 Apple 公证,系统会在第一次打开时拦下它。确认一次之后,和普通应用一样使用。

macOS 15 及更新

  1. 把 Armadra.app 拖进「应用程序」,双击打开一次,系统提示无法验证并拦下。
  2. 打开「系统设置 → 隐私与安全性」,滚到「安全性」,在 Armadra 的提示旁点「仍要打开」。
  3. 输入登录密码或使用触控 ID 确认,再点「打开」。

macOS 15 起,旧的「右键 → 打开」绕过方式不再有效。

用终端:不想点设置时,执行下面一行,之后可直接双击打开。

xattr -dr com.apple.quarantine /Applications/Armadra.app

Homebrew:brew install --cask armadra 只负责下载并放进「应用程序」,不会去掉隔离标记,装完仍要按上面任一种方式确认一次。

更新:应用内更新照常可用,应用需放在「应用程序」里运行(在挂载的 dmg 里运行时只提供新安装包的下载)。Homebrew 安装的也可以在应用内更新,或执行 brew upgrade --cask armadra。数据目录不受影响。

Android 与 iOS

下载 APK 后手动安装,需要在系统设置里允许该来源安装未知来源应用。iOS 版尚未上架,暂时没有下载方式。装好之后怎么连到你自己的 Armadra,见手机 App。

更新

可以在应用内更新。macOS 与 Windows 安装版、Linux AppImage 都能原地更新;Windows 便携版和 Linux 的 deb / rpm 不能,更新页会给出新安装包的下载。更新入口与设置见设置与更新。

端到端加密

经中转的连接是端到端加密的,中转只转发密文。默认中转是 https://relay.armadra.com。

准备 Agent CLI

Armadra 启动的是你本机已经安装并登录的 CLI,它不替你安装或登录。至少准备一个:

  • Claude Code、Codex、OpenCode、Pi、Oh My Pi 或 GitHub Copilot;
  • 协调者 ama 随 Armadra 一起打包,不需要另装。

没有找到的 CLI 会在画布的新建菜单里标为「未安装」,不影响其他 CLI。

建议安装 tmux:终端会话因此能跨应用重启存活;缺少 tmux 时自动退回直连 PTY,窗口上会出现「终端已降级为直连」的提示。

从源码运行

需要 Node.js ≥ 24 与项目锁定的 pnpm;macOS 还需要 Xcode Command Line Tools。

git clone https://github.com/AMA-Link/Armadra.git
cd Armadra
pnpm install
./armadra.sh doctor        # 检查工具链
./armadra.sh run desktop   # 启动桌面壳(热更新)
./armadra.sh run web       # 或:core + 浏览器前端

自己打包:

pnpm --filter @armadra/desktop dist    # 桌面安装包 → apps/desktop/release/
pnpm --filter @armadra/server build    # 服务器壳 → apps/server/out/main.js

端口、环境变量与数据位置见 Armadra 仓库的开发指南。

下一步

装好之后,跟着快速上手完成第一次两个 Agent 的协作。

Getting started

Install

Download a desktop installer, or run from source.


Download an installer

Current version: v0.25.1. Download the package for your system and architecture.

System Packages Notes
macOS (Apple silicon) Armadra_0.25.1_darwin-aarch64.dmg / Armadra_0.25.1_darwin-aarch64.zip macOS 13.3 or later
macOS (Intel) Armadra_0.25.1_darwin-x86_64.dmg / Armadra_0.25.1_darwin-x86_64.zip Same
Windows x64 Armadra_0.25.1_windows-x86_64-setup.exe / Armadra_0.25.1_windows-x86_64-portable.zip Installer or portable
Windows ARM64 Armadra_0.25.1_windows-aarch64-setup.exe / Armadra_0.25.1_windows-aarch64-portable.zip Same
Linux x86_64 Armadra_0.25.1_linux-x86_64.AppImage / Armadra_0.25.1_linux-x86_64.deb / Armadra_0.25.1_linux-x86_64.rpm
Linux aarch64 Armadra_0.25.1_linux-aarch64.AppImage / Armadra_0.25.1_linux-aarch64.deb / Armadra_0.25.1_linux-aarch64.rpm
Android armadra-mobile_0.25.1_android.apk Manual install, see below

Packages are not yet signed or notarized (macOS builds are ad-hoc signed), so the OS warns on first launch. On Windows choose “Run anyway” in the SmartScreen prompt; for macOS see the next section. Signing and notarization are deferred until a public launch; see the roadmap.

First launch on macOS

Official macOS packages are ad-hoc signed and not notarized by Apple, so macOS blocks the first launch. Confirm it once and the app behaves like any other.

macOS 15 and later

  1. Drag Armadra.app into Applications and open it once; macOS says it cannot verify the app and blocks it.
  2. Open System Settings → Privacy & Security, scroll to Security, and click “Open Anyway” next to the Armadra notice.
  3. Authenticate with your password or Touch ID, then click Open.

From macOS 15 the old right-click → Open bypass no longer works.

Terminal: if you prefer not to click through Settings, run this once and then open the app normally.

xattr -dr com.apple.quarantine /Applications/Armadra.app

Homebrew: brew install --cask armadra only downloads the app into Applications and does not clear the quarantine flag, so confirm it once with either method above.

Updating: in-app updates keep working. Run the app from Applications (running it from a mounted disk image only offers a download of the new installer). Homebrew installs can update in-app too, or run brew upgrade --cask armadra. Your data directory is untouched.

Android and iOS

Download the APK and install it manually; allow installing apps from unknown sources for that source in system settings. The iOS app is not published yet, so there is no download. Once installed, see Mobile app for connecting to your own Armadra.

Updating

You can update inside the app. This works for the macOS and Windows installed builds and the Linux AppImage; the Windows portable build and Linux deb / rpm cannot update in place, and the update page links to the new installer instead. For the update entry and its settings, see Settings and updates.

End-to-end encryption

Connections through a relay are end-to-end encrypted, so the relay only forwards ciphertext. The default relay is https://relay.armadra.com.

Prepare an agent CLI

Armadra launches CLIs that are already installed and signed in on your machine; it does not install or sign in for you. Have at least one ready:

  • Claude Code, Codex, OpenCode, Pi, Oh My Pi or GitHub Copilot;
  • The ama coordinator ships with Armadra and needs no separate install.

CLIs that can’t be found are marked “Not installed” in the canvas’s New menu and don’t affect the others.

Installing tmux is recommended: terminal sessions then survive app restarts. Without tmux Armadra falls back to a direct PTY and shows a “Terminals fell back to direct mode” notice.

Run from source

You need Node.js ≥ 24 and the pinned pnpm; macOS also needs the Xcode Command Line Tools.

git clone https://github.com/AMA-Link/Armadra.git
cd Armadra
pnpm install
./armadra.sh doctor        # check the toolchain
./armadra.sh run desktop   # start the desktop shell (hot reload)
./armadra.sh run web       # or: core + browser front end

Build packages yourself:

pnpm --filter @armadra/desktop dist    # desktop installers → apps/desktop/release/
pnpm --filter @armadra/server build    # server shell → apps/server/out/main.js

Ports, environment variables and data locations are in the development guide in the Armadra repository.

Next

Once it’s installed, follow the Quickstart for your first two-agent collaboration.

在 GitHub 上编辑本页 Edit this page on GitHub