OrgX Integration
Connect to OrgX for multi-agent orchestration, decision workflows, initiative tracking, model routing, quality gates, and structured work reporting.
Quick Start
CODEBLOCK0
After installing, pair with OrgX via the live dashboard at http://127.0.0.1:18789/orgx/live or set ORGX_API_KEY in your environment.
MCP Tools Reference
Work Reporting (use these regularly)
orgx_report_progress — Report what you've accomplished.
CODEBLOCK1
orgx_request_decision — Ask the user to decide something before continuing.
CODEBLOCK2
orgx_register_artifact — Register a deliverable (PR, document, config, etc.).
CODEBLOCK3
Org Status & Sync
orgx_status — View active initiatives, agent states, pending decisions, tasks.
orgx_sync — Push local memory/daily log to OrgX, receive org context back.
CODEBLOCK4
Quality & Spawning
orgx_spawn_check — Check quality gate + get model routing before spawning a sub-agent.
CODEBLOCK5
orgx_quality_score — Record quality score (1-5) for completed work.
CODEBLOCK6
Entity Management
orgx_create_entity — Create an initiative, workstream, task, decision, milestone, artifact, or blocker.
orgx_update_entity — Update status/fields on any entity.
orgx_list_entities — Query entities by type and status.
Run Control
orgx_delegation_preflight — Score scope quality and estimate ETA/cost before execution.
orgx_run_action — Pause, resume, cancel, or rollback a run.
orgx_checkpoints_list / orgx_checkpoint_restore — List and restore run checkpoints.
Reporting Protocol
When working on a task or initiative, report your progress to OrgX at key moments. This keeps the dashboard accurate and helps the team track your work.
On task start
Call
orgx_report_progress with
phase: "researching" or
"implementing" and a brief summary of what you're about to do.
At meaningful progress points
Call
orgx_report_progress at natural checkpoints: after finishing research, after a first implementation pass, after tests pass, etc. Include
progress_pct when you can estimate it.
When you need a human decision
Call
orgx_request_decision with a clear question, context, and options. Set
blocking: true if you should wait for the answer before continuing. Set urgency appropriately:
- - low — Can wait hours/days
- medium — Should be decided today
- high — Blocking progress, needs attention soon
- urgent — Critical path, needs immediate attention
When you produce a deliverable
Call
orgx_register_artifact for anything the team should see: PRs, documents, config changes, reports, design files. Include a URL when available.
On task completion
- 1. Call
orgx_report_progress with phase: "reviewing" and INLINECODE26 - Call
orgx_quality_score to self-assess your work (1-5 scale) - Call
orgx_update_entity to mark the task as completed
On blockers
Call
orgx_report_progress with
phase: "blocked" and describe the blocker in the summary. If you need human help, also call
orgx_request_decision.
Model Routing
OrgX classifies tasks for model selection:
| Task Type | Tier | Model |
|---|
| Architecture, strategy, decisions, RFCs | opus | INLINECODE32 |
| Implementation, code, features, docs |
sonnet |
anthropic/claude-sonnet-4 |
| Status checks, formatting, templates |
local |
ollama/qwen2.5-coder:32b |
Always call orgx_spawn_check before spawning sub-agents to get the right model tier.
Live Dashboard
The plugin serves a live dashboard at http://127.0.0.1:18789/orgx/live showing:
- - Activity Timeline — Real-time feed of agent work with threaded session views
- Agents/Chats — Active sessions grouped by agent
- Decisions — Pending approvals with inline approve/reject
- Initiatives — Active workstreams and progress
Entity API
For direct API access:
CODEBLOCK7
Entity types: initiative, workstream, task, decision, milestone, artifact, agent, INLINECODE44
MCP Server (mcp.useorgx.com)
For environments that support MCP servers directly (Claude Desktop, Cursor, etc.), connect to mcp.useorgx.com for the full suite of 26+ OrgX tools including initiative management, decision workflows, and agent orchestration.
OrgX 集成
连接 OrgX 实现多智能体编排、决策工作流、任务跟踪、模型路由、质量门控和结构化工作报告。
快速开始
bash
安装插件
openclaw plugins install @useorgx/openclaw-plugin
或通过 npx
npx @useorgx/openclaw-plugin
安装后,通过实时仪表盘 http://127.0.0.1:18789/orgx/live 与 OrgX 配对,或在环境中设置 ORGXAPIKEY。
MCP 工具参考
工作报告(定期使用)
orgxreportprogress — 报告已完成的工作。
orgxreportprogress({
summary: 修复了认证错误并添加了测试,
phase: testing, // researching | implementing | testing | reviewing | blocked
progress_pct: 75, // 0-100(可选)
next_step: 运行完整 CI 套件 //(可选)
})
orgxrequestdecision — 请求用户在继续前做出决定。
orgxrequestdecision({
question: 立即部署到生产环境还是等待负载测试?,
context: 所有单元测试通过。负载测试大约需要2小时。,
options: [立即部署, 等待负载测试, 先部署到预发布环境],
urgency: medium, // low | medium | high | urgent
blocking: true // 在做出决定前暂停工作(默认:true)
})
orgxregisterartifact — 注册可交付成果(PR、文档、配置等)。
orgxregisterartifact({
name: PR #107:修复 Vercel 构建体积,
artifact_type: pr, // pr | commit | document | config | report | design | other
description: 通过修剪递归资源减少了函数体积,
url: https://github.com/org/repo/pull/107 //(可选)
})
组织状态与同步
orgx_status — 查看活跃任务、智能体状态、待处理决策、任务。
orgx_sync — 将本地内存/每日日志推送到 OrgX,并接收组织上下文。
orgx_sync({
memory: MEMORY.md 的内容,
dailyLog: 今日会话摘要
})
质量与生成
orgxspawncheck — 在生成子智能体前检查质量门控并获取模型路由。
orgxspawncheck({ domain: engineering, taskId: ... })
// 返回:{ allowed: true, modelTier: sonnet, checks: {...} }
orgxqualityscore — 记录已完成工作的质量评分(1-5分)。
orgxqualityscore({
taskId: ...,
domain: engineering,
score: 4,
notes: 实现简洁,测试覆盖良好
})
实体管理
orgxcreateentity — 创建任务、工作流、任务项、决策、里程碑、工件或障碍。
orgxupdateentity — 更新任意实体的状态/字段。
orgxlistentities — 按类型和状态查询实体。
运行控制
orgxdelegationpreflight — 在执行前评估范围质量并估算预计完成时间和成本。
orgxrunaction — 暂停、恢复、取消或回滚运行。
orgxcheckpointslist / orgxcheckpointrestore — 列出和恢复运行检查点。
报告协议
在处理任务或计划时,在关键节点向 OrgX 报告进度。这有助于保持仪表盘准确,并帮助团队跟踪您的工作。
任务开始时
调用 orgx
reportprogress,设置 phase: researching 或 implementing,并简要说明您即将执行的操作。
在重要进展节点
在自然检查点调用 orgx
reportprogress:完成研究后、首次实现通过后、测试通过后等。在可以估算时包含 progress_pct。
需要人工决策时
调用 orgx
requestdecision,提供清晰的问题、上下文和选项。如果需要等待答复才能继续,设置 blocking: true。适当设置紧急程度:
- - low — 可以等待数小时/数天
- medium — 应在今天内决定
- high — 阻碍进展,需要尽快关注
- urgent — 关键路径,需要立即关注
产生可交付成果时
对于团队应该看到的任何内容调用 orgx
registerartifact:PR、文档、配置变更、报告、设计文件。在可用时包含 URL。
任务完成时
- 1. 调用 orgxreportprogress,设置 phase: reviewing 和 progresspct: 100
- 调用 orgxqualityscore 对工作进行自我评估(1-5分制)
- 调用 orgxupdate_entity 将任务标记为已完成
遇到障碍时
调用 orgx
reportprogress,设置 phase: blocked,并在摘要中描述障碍。如果需要人工帮助,同时调用 orgx
requestdecision。
模型路由
OrgX 对任务进行分类以选择模型:
| 任务类型 | 层级 | 模型 |
|---|
| 架构、策略、决策、RFC | opus | anthropic/claude-opus-4-6 |
| 实现、代码、功能、文档 |
sonnet | anthropic/claude-sonnet-4 |
| 状态检查、格式化、模板 |
local | ollama/qwen2.5-coder:32b |
在生成子智能体前始终调用 orgxspawncheck 以获取正确的模型层级。
实时仪表盘
该插件在 http://127.0.0.1:18789/orgx/live 提供实时仪表盘,显示:
- - 活动时间线 — 智能体工作的实时动态,带线程化会话视图
- 智能体/聊天 — 按智能体分组的活跃会话
- 决策 — 待审批事项,支持内联批准/拒绝
- 计划 — 活跃工作流及进度
实体 API
用于直接 API 访问:
GET /api/entities?type={type}&status={status}&limit={n}
POST /api/entities
PATCH /api/entities
POST /api/entities/{type}/{id}/{action}
实体类型:initiative、workstream、task、decision、milestone、artifact、agent、blocker
MCP 服务器(mcp.useorgx.com)
对于直接支持 MCP 服务器的环境(Claude Desktop、Cursor 等),连接到 mcp.useorgx.com 获取全套 26+ 个 OrgX 工具,包括计划管理、决策工作流和智能体编排。