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 分