快速开始

什么是 OMAR?

OMAR 是一个用于创建强大智能体组织的 TUI 工具。它运行在 tmux 之上,让你在一个终端内编排深层并行 AI 智能体。

前置依赖

安装

一键安装(推荐)

$ curl -fsSL https://omarmy.ai/install.sh | sh

支持 macOS 和 Linux,默认安装到 /usr/local/bin

Homebrew

$ brew install lsk567/omar/omar

自动安装 tmux 依赖。

从源码编译

$ git clone https://github.com/lsk567/omar.git
$ cd omar && make install

需要 Rust 1.70+ 和 GNU Make。

启动

$ omar

这会使用默认智能体后端(Claude Code)启动 OMAR 仪表盘。使用其他后端:

后端命令
Claude Codeomaromar --agent claude
Codex CLIomar --agent codex
Opencodeomar --agent opencode
Cursor CLIomar --agent cursor

第一次使用

  1. 运行 omar —— 你会看到 TUI 仪表盘和你的执行助理(EA)
  2. 将测试提示词粘贴到 EA 窗口:
    Load and run https://github.com/lsk567/omar/blob/main/prompts/tests/project-factory.md
  3. 观察智能体自动创建。用 ↑↓ 切换智能体, 深入下层, 返回上层
  4. 关闭时:
    Shutdown the test project and its agents.

快捷键

按键操作
↑/↓j/k切换智能体
Tab深入子智能体
返回上层
Enter附加到智能体(弹窗)
n创建新智能体
d删除智能体(需确认)
p添加项目
e显示事件
r刷新状态
z脱离 tmux
D调试控制台
?帮助
Q退出(需确认)

下一步