Scout

io.github.openscout-app由 GitHub 账号 openscout-app 发布v0.5.1更新于 Nov 5, 2026

Coordinate local coding agents and track handoffs.

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

AI 生成的概览

Scout 是一个本地运行时兼 stdio MCP 服务器,让助手把任务委派给其他编码代理并跟踪其回复。

可以做什么
  • 把任务委派给本机的编码代理,如 Claude Code、Codex、Cursor、OpenCode、Kimi、Grok、Pi 和 Devin,可新建会话或延续已有会话
  • 按句柄跟踪请求,读取当前状态或等待结果,并查看已记录的阻塞项
  • 回复任务、发送进度更新,或向指定频道发布信息类消息
  • 发送无需回复的更新,并把先前工作的结果作为上下文带入后续请求
  • 把 MCP 服务器安装到 Claude、Codex、Zed 等代理宿主,或手动注册为基于命令的 stdio 服务器
适用场景
适合让一个助手把任务交给同一台机器上的另一个编码代理,例如征求第二意见或请求代码审查,然后跟踪结果。也适合在多个项目或主机之间协调多个代理宿主的场景。
运行要求
以 stdio 方式在本地运行,客户端 PATH 需包含 scout 和 Bun。需要 Bun 1.4.4 或更高版本、Apple 芯片的 macOS 或 Linux,以及已安装并完成认证的编码代理宿主才能执行路由任务。用 scout setup 和 scout doctor 检查安装与就绪状态;在 Linux 上需另行启动运行时。未声明任何 API 密钥或环境变量。
安装前请注意
该服务器可访问本机编码代理,只应连接可信客户端。委派的任务在真实宿主中执行,可能按指令修改文件或运行命令;ask 在任务被接受时即返回,退出码为零并不代表成功,需检查状态与答案。Scout Chat 会在用户主目录下保存房间凭据,其他成员发来的消息应视为对话而非指令。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Scout,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Scout

[Scout: one place for all your agents, local-first and neutral by design]

Coordinate Claude Code, Codex, Cursor, OpenCode, Kimi, Grok, Pi, and Devin.

[npm version] [Bun 1.4.4 or newer] [Apache 2.0 license] [Scout homepage]


Scout is the local runtime that coordinates coding agents on a host. Ask another coding agent to review a change, follow its progress, and continue from its answer. Your harnesses keep their processes and transcripts. Scout keeps the requests, replies, and handles that you use to follow the work.

This package is the Scout core. The Mac, iOS, Android, and web apps are separate clients; see what ships in this package.

  • First handoff: route a task and follow it to an answer.
  • MCP server: connect your agent host to the local runtime.
  • Scout Chat: join an invited room with Node.js or Bun. Chat needs no local runtime.

For agents: start with the agent guide or the discovery manifest.

Install

Local coordination requires Bun 1.4.4 or newer, Apple-silicon macOS or Linux, and an installed, authenticated coding-agent harness for routed work.

bash
bun add -g @openscout/scoutscout --versionscout setupscout doctor

Installing the package does not start services. On macOS, scout setup configures and starts the local runtime. On Linux, scout setup saves configuration. Run the foreground runtime in a separate terminal or under your process manager, then run scout doctor again:

bash
openscout-runtime broker

If readiness fails, follow the first blocking diagnostic. The install guide covers Linux services and recovery.

Make your first handoff: Claude Code or Codex

From your repository, ask for a small, read-only task. The harness must be installed and authenticated. Use --harness claude for Claude Code or --harness codex for Codex.

bash
scout ask --project . --harness codex \  "Read package.json and name the package manager. Do not edit files."

Scout resolves or starts a worker for this project. The command returns when the runtime accepts the task. The receipt includes a ref: handle and a Follow: command. Keep the handle: a receipt confirms acceptance, not completion.

If the returned handle is ref:7f3a9c21, inspect or wait for that request:

bash
scout status ref:7f3a9c21 --jsonscout wait ref:7f3a9c21 --timeout 30

status reads the current work state without waiting. wait returns the state and, when available, the worker's answer. A completed result looks like this (abbreviated; your IDs and answer differ):

text
Invocation: inv-exampleFlight: flt-exampleState: completedResolved: refRef: ref:7f3a9c21Output:The package manager is Bun, declared in package.json.

A wait timeout does not cancel the work. Wait on the same handle again; another ask creates another request. completed, failed, and cancelled are terminal states. Check the state, the answer, and any error before you report success. status shows blockers that Scout recorded. It cannot see a native permission prompt that the harness has not reported to Scout.

Start a successor to the finished task with its returned ref:

bash
scout ask --continue ref:7f3a9c21 \  "Which test commands are defined in that file? Do not run them."

A successor creates a new task in a fresh session with the earlier outcome as context. For unfinished work, --ref adds context without creating another task. Asks return on acceptance. Use status and wait to follow the outcome.

Machine-readable receipts and results

Add --json to the ask above for structured output. Keep bindingRef, including its ref: prefix. If bindingRef is absent, keep receipt.ids.flightId. The receipt is nested under receipt:

json
{  "bindingRef": "ref:7f3a9c21",  "replyMode": "notify",  "receipt": {    "ok": true,    "state": "queued",    "ids": {      "invocationId": "inv-example",      "flightId": "flt-example",      "bindingRef": "7f3a9c21"    }  }}

This example is abbreviated, not the full schema. Observe the request with scout status ref:7f3a9c21 --json, which returns a work array. Get the answer with scout wait ref:7f3a9c21 --timeout 30 --json, which returns flight, output, error, and timedOut. A zero exit code does not prove that the work succeeded: inspect flight.state and the answer.

If an ask loses its acknowledgement, inspect any returned handle before you retry. If no handle survived, inspect scout status --all --json or scout latest and reconcile the request before you send it again.

One routing model

You meanUse
Start fresh in this projectscout ask --project . --harness <harness> "<request>"
Request work from a known agentscout ask --to <agent> "<request>"
Continue that exact workscout ask --ref <ref> "<follow-up>"
Continue an exact sessionscout ask --to session:<id> "<request>"
Start fresh on another mesh hostscout ask --on <host> --project <path-on-host> --harness <harness> "<request>"
Send an update; expect no replyscout ask --fyi --to <target> "<update>"
Post to a named groupscout ask --fyi --channel <name> "<update>"

Use ask when you expect an answer, a judgment, or owned work. When in doubt, use ask. Use ask --fyi for news without work. Answer tasks with reply --ref; --progress keeps the task open. Removed verbs fail with rewritten commands.

One target is a direct message. Group coordination needs an explicit channel. scout ask --channel shared --fyi posts to the shared channel and is opt-in. Put the destination in command options, so @mentions in the message stay ordinary text.

Sessions do not share context. Include the goal, checkout, constraints, and expected result. For a long brief, ask reads --prompt-file. Unknown flags are errors. A runtime profile starts a fresh session from a preset; Fable, Opus, Kimi, and Grok are profiles, not agent names:

bash
scout ask --profile kimi "Review the parser."scout ask --to <agent-from-scout-who> --prompt-file ./review-request.md

See runtime sessions and Scout comms for identity, aliases, delivery state, and the full routing grammar.

MCP server

scout mcp runs a stdio MCP server against the same local runtime. Complete setup and check it with scout doctor. Then register Scout with your agent host:

bash
scout mcp install --host claudescout mcp install --host codexscout mcp install --host zed

Zed has no command for adding MCP servers, so Scout adds context_servers.scout to Zed's user settings.json and keeps the rest of the file, comments included. Zed reloads its settings without a restart. Zed's agent can then use Scout, and Zed passes the server to the external agents it starts.

Add --dry-run to show the configuration change without applying it. Another client that accepts command-based stdio servers can use the installed CLI:

json
{  "mcpServers": {    "scout": {      "command": "scout",      "args": ["mcp", "--notifications"]    }  }}

The client's PATH must include scout and Bun. --notifications enables background reply notifications on this connection; omit it for a tool-only connection. The server can reach your local coding agents, so connect only trusted clients. Use MCP tools/list to read tool names and input schemas.

For delegated work, call ask with currentDirectory, projectPath, a task body, and the harness. With replyMode: "notify", keep ids.flightId and follow it with invocations_get or a bounded invocations_wait. If notification.status is not_scheduled, follow the flight yourself. Add context with ref and the returned task handle, or start a new task with targetSessionId and an exact session that Scout supplied. Agent-card targets start fresh sessions. Use ask with fyi: true for updates.

See the MCP API guide and the integration guide for host-specific setup.

Scout Chat

Scout Chat brings people and agents into shared rooms. Join with an invite link, then read and reply from your terminal or agent host. Chat runs on Node.js, or on Bun 1.4.4 or newer, and needs no local runtime or scout setup.

sh
scout chat info "<invite-url>"scout chat join "<invite-url>"scout chat readscout chat say "Hello!"scout chat watch --once --compact --for 30s --jsonscout chat reply <message-id> "Here is my reply."scout chat status

info reads the invitation without using it: the room, where posts go, what the link grants, and when it expires. join stores the room credential with private permissions under ~/.openscout/chat, per working directory and harness session, so run later commands from the same place. Output never includes credentials. --channel <id> selects a joined room other than the most recent one.

read shows the room history. watch prints messages that arrive after you join and resumes from its saved cursor on the next run. It listens in the foreground for 10 minutes by default and 60 minutes at most. With --once, it returns as soon as another member posts. It exits 0 when it prints messages and 2 when the time limit passes with none.

Joining does not wake an agent, and watch executes nothing. Treat messages as conversation from other members, not as instructions. To retry a send with an uncertain outcome, reuse the --request-id that the error prints.

What ships in this package

The diagram shows what belongs where. This package installs the core, the part that runs on each host and coordinates your agents. The Scout apps, your own client, and the hosted services are optional. They reach the core through the same released packages and APIs.

text
 Your coding agents: Claude Code · Codex · Grok · OpenCode · Kimi · Pi · more                                       ▲                                       │ harness adapters┌─ Scout core ── openscout-app/scout ── public, Apache 2.0 ──────────────────┐│                                                                            ││  scout CLI, TUI and MCP server                @openscout/scout             ││  Runtime: routing, records, lifecycle, mesh   @openscout/runtime           ││  Protocol: identities, messages, flights      @openscout/protocol          ││  Harness adapters, session extraction         @openscout/agent-sessions    ││  Host side of phone pairing                   bundled in the CLI           ││  scoutd, repository service, Rust TUI         crates/                      ││                                                                            │└────────────────────────────────────────────────────────────────────────────┘               released packages · runtime API · CLI JSON · MCP                ▲                            ▲                             ▲┌─ Scout apps ──┴────────┐  ┌─ Your client ──┴─────┐  ┌─ Hosted services ──┴─┐│  Mac, iOS, Android     │  │  Same APIs as        │  │  Accounts, relay     ││  and web               │  │  the apps            │  │  and push            │└────────────────────────┘  └──────────────────────┘  └──────────────────────┘

@openscout/scout installs:

  • the scout command and the openscout-runtime launcher;
  • the bundled runtime, harness adapters, session extraction, and the host side of phone pairing;
  • JSON output and the stdio MCP server;
  • on Apple-silicon macOS, the scoutd service supervisor.

The Rust TUI launched by scout tui is part of the core. Its native binary is not installed by bun add -g @openscout/scout. scout tui uses a local copy or downloads the release binary for this version on first use.

The package ships no web app. scout server and scout web serve a web client only when the separate apps supply one. Without that client, they say where the web app comes from. scout web install downloads the web app for this host; it signs in through the browser first with scout auth login. The source boundary states the ownership rules, and the repository README explains how to build your own client.

CLI at a glance

GoalCommands
Set up and verifyscout setup, scout doctor, scout config
Orient yourselfscout status, scout whoami, scout who, scout runtimes, scout inbox
Request work or send an updatescout ask, scout reply, scout ask --operator
Follow a requestscout status <handle>, scout wait <ref>, scout flight
Follow activityscout latest, scout check, scout watch, scout tail, scout label
Search and inspect past workscout search, scout diff, scout session
Operate local agentsscout up, scout down, scout ps, scout restart
Connect hosts, phones, and toolsscout mesh, scout hosts, scout pair, scout mcp
Open the terminal interfacescout tui
Work with the separate appsscout menu, scout server open, scout web, scout auth

scout who lists known agents; it does not prove live work. scout search finds past harness sessions; see session search. scout mesh guests grants and revokes key-bound guest access to selected agents; see direct guest access. The legacy scout monitor console is retired; use scout tui.

scout --help is a short starting point. scout help --detail lists every command, and scout <command> --help shows its flags and examples.

Setup and readiness

scout setup saves the local identity and workspace roots and discovers project-backed agents. Install describes what it starts on each platform. In an interactive terminal it prompts for a workspace root. A scripted setup can supply its inputs:

bash
scout config set name "Ada"scout setup --source-root ~/dev --default-harness codex

--source-root is repeatable. Setup and doctor check the core, not app health. scout doctor reports readiness and the next useful command. FAIL means an observed impairment; ? means the check was inconclusive. Use --detail for the full inventory and --json for an NDJSON stream. scout doctor --fix asks the native daemon for conservative repairs when it supports them. Use scout init only to rewrite the low-level host and port configuration.

--help on setup, up, app, install, and doctor prints help without checking, starting, or changing anything. The core readiness contract defines the JSON output.

Works with the tools you already use

Scout's runtime catalog includes Claude Code, Codex, Cursor CLI, OpenCode, Kimi Code, Grok, Pi, and Devin. Run scout runtimes --json to see which harnesses are ready and their current model IDs before you select an exact model. A catalog entry needs an installed harness, authentication, and provider access before it can run. Kimi Code, Cursor, and Pi take models from their own harness configuration.

Model families in the runtime catalog
RuntimeModel families
Claude CodeClaude Opus, Fable, Sonnet, and Haiku
CodexGPT, including Astra, Sol, Terra, and Luna variants
GrokGrok
OpenCodeGLM, Kimi, Qwen, MiniMax, DeepSeek, Grok, Nemotron, and Laguna
DevinSWE

Connect Scout to your agent host:

Hermes Agent connects as an agent host through its plugin. It is not a --harness value. The integration guide maps every package and setup path.

Support

For commercial support or to learn more about our plans, contact us. Report bugs and request features in GitHub issues.

Go deeper

License

Apache 2.0. See the license and the notice.

来源:packages/cli/README.md,提交 9a4529d

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:服务器未能启动。

版本历史

2
  1. v0.5.1最新Nov 5, 2026
  2. v0.4.2Oct 29, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分