ohmg

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

oh-my-ag (ohmg) - Multi-Agent Orchestrator

oh-my-ag (ohmg) - 多Agent编排器

When to use this skill

何时使用该技能

  • Coordinating complex multi-domain projects
  • Parallelizing tasks across multiple AI agents (PM, Frontend, Backend, etc.)
  • Using Serena Memory for cross-agent state management
  • Setting up real-time observability dashboards for agent workflows
  • Integrating multi-CLI vendors (Gemini, Claude, Codex) in a single project

  • 协调复杂的跨领域项目
  • 跨多个AI Agent(PM、前端、后端等)并行执行任务
  • 使用Serena Memory进行跨Agent状态管理
  • 为Agent工作流设置实时可观测性仪表盘
  • 在单个项目中集成多CLI供应商(Gemini、Claude、Codex)

1. Core Concepts

1. 核心概念

Specialized Agents

专业领域Agent

AgentSpecializationTriggers
Workflow GuideCoordinates complex projects"multi-domain", "complex project"
PM AgentRequirements, task decomposition"plan", "break down"
Frontend AgentReact/Next.js, styling"UI", "component", "styling"
Backend AgentAPI, database, auth"API", "database", "auth"
Debug AgentBug diagnosis, RCA"bug", "error", "crash"
Agent专长领域触发词
Workflow Guide协调复杂项目"multi-domain", "complex project"
PM Agent需求梳理、任务拆解"plan", "break down"
Frontend AgentReact/Next.js、样式开发"UI", "component", "styling"
Backend AgentAPI、数据库、身份验证"API", "database", "auth"
Debug Agent问题诊断、根本原因分析"bug", "error", "crash"

Serena Memory

Serena Memory

Orchestrator writes structured state to
.serena/memories/
for real-time monitoring and cross-agent coordination.

编排器会将结构化状态写入
.serena/memories/
目录,用于实时监控和跨Agent协调。

2. Installation & Setup

2. 安装与配置

Prerequisites

前置要求

  • Bun (CLI and dashboards)
  • uv (Serena setup)
  • Bun(CLI与仪表盘)
  • uv(Serena配置工具)

Interactive Setup

交互式安装

bash
bunx oh-my-ag
Select project type to install relevant skills to
.agent/skills/
.
bash
bunx oh-my-ag
选择项目类型,将相关技能安装至
.agent/skills/
目录。

Verification

验证

bash
bunx oh-my-ag doctor

bash
bunx oh-my-ag doctor

3. Usage Patterns

3. 使用模式

Explicit Coordination

显式协调

text
/coordinate
PM planning → agent spawning → QA review.
text
/coordinate
PM规划 → 启动Agent → QA审核。

Spawning Agents via CLI

通过CLI启动Agent

bash
undefined
bash
undefined

Spawn backend agent for a specific task

为特定任务启动后端Agent

oh-my-ag agent:spawn backend "Implement auth API" session-01
undefined
oh-my-ag agent:spawn backend "Implement auth API" session-01
undefined

Dashboard Monitoring

仪表盘监控



4. MCP Connection & Bridging

4. MCP连接与桥接

SSE Mode (Shared Server)

SSE模式(共享服务器)

If environment needs stdio-to-http bridging:
bash
bunx oh-my-ag bridge http://localhost:12341/sse

若环境需要标准输入输出转HTTP桥接:
bash
bunx oh-my-ag bridge http://localhost:12341/sse

5. Configuration

5. 配置

Configure per-agent CLI mapping in
.agent/config/user-preferences.yaml
:
yaml
agent_cli_mapping:
  frontend: gemini
  backend: codex
  pm: claude
  qa: claude

.agent/config/user-preferences.yaml
中配置每个Agent的CLI映射:
yaml
agent_cli_mapping:
  frontend: gemini
  backend: codex
  pm: claude
  qa: claude

Quick Reference

快速参考

CommandAction
bunx oh-my-ag
Interactive installer
/setup
Agent-side configuration
bunx oh-my-ag doctor
System check & repair
bunx oh-my-ag update
Update skills
bunx oh-my-ag usage
Show quota usage
命令操作
bunx oh-my-ag
交互式安装程序
/setup
Agent端配置
bunx oh-my-ag doctor
系统检查与修复
bunx oh-my-ag update
更新技能
bunx oh-my-ag usage
查看配额使用情况