OpenScout

io.github.oscout由 GitHub 账号 oscout 发布v0.2.108更新于 Oct 24, 2026

Coordinate local coding agents and track handoffs. For high-trust developer pilots.

已验证STDIO仅桌面开发者工具沟通与协作

概览

AI 生成的概览

让助手把编码任务委派给本机的编码代理(如 Claude Code 或 Codex),并通过本地代理服务跟踪其回复。

可以做什么
OpenScout 运行一个本地代理服务,以及 CLI 和 MCP 服务器,在编码代理之间转发请求。助手可以让某个 harness 在项目中执行工作,拿到句柄后查询状态或等待结果,并用后续请求延续同一会话。它还提供共享聊天室、代理与活动概览,以及可选的本地网页、TUI 和 macOS 界面。
适用场景
当你希望一个助手把工作交接给同一台机器上已安装的其他编码代理、或请其审查改动,并跟踪这些交接时使用。适合能接受本地代理服务协调可信代理的开发者试点。
运行要求
以 npm 包 @openscout/scout 通过 stdio 在本机运行,可用 bunx 启动或全局安装。需要 Bun 1.3 或更高版本;完整的代理服务与服务包目前面向 Apple Silicon macOS。所选 harness(如 Claude Code 或 Codex)必须已安装并完成认证。客户端需能在 PATH 中找到 scout。未声明任何环境变量或请求头。
安装前请注意
它会协调本机编码代理,因此只应与可信客户端一起使用,这些客户端可能与本机编码代理交互。委派的工作可能读取或修改所选项目中的文件,且命令成功退出并不代表工作成功,应检查返回的状态和答案。聊天凭据与重试身份保存在 ~/.openscout/chat 下。安装包本身不会静默启动服务,但 setup 会配置并可能启动本地代理服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 OpenScout,将其添加到工作区。
  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
npm install -g @openscout/scoutscout --versionscout setupscout doctor

bun add -g @openscout/scout installs the same package. 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 --notify \  "Read package.json and name the package manager. Do not edit files."

Scout resolves or starts a worker for this project. With --notify, the command returns when the runtime accepts the request. 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.

Continue the same worker's context with the returned ref:

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

The follow-up is a new tracked request in the same session, with its own receipt. A new --project ask starts fresh instead.

Without --notify, ask returns when the target acknowledges, when the work completes immediately, or after 30 seconds without acknowledgement. It does not wait for the task to finish. Use status and wait to follow the work.

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 tell --to <target> "<update>"
Post to a named groupscout tell --channel <name> "<update>"

Use ask when you expect an answer, a judgment, or owned work. When in doubt, use ask. Use tell for an FYI or a status update; it never creates work. scout send still works for older scripts. New scripts use ask or tell.

One target is a direct message. Group coordination needs an explicit channel. scout broadcast 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 and tell reads --message-file. 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 codex

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. Continue with to: "ref:<id>" and the returned binding ref, or with targetSessionId and an exact session that Scout supplied. Agent-card targets start fresh sessions. Use messages_send 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 npm install -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 tell, scout broadcast, scout 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,提交 e1da1cb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.108最新Sep 23, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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