How it connects
Watchman is the terminal you work in. Underneath it, one memory engine runs on your machine, and every Incord service plugs into the agents through it: over MCP, through hooks, or as a program the agent calls. This page shows each link, and the commands Watchman gives the agents it runs.
The shape
Watchman runs the agent CLIs you already have, signed in with your own accounts: Claude Code, Codex, Cursor, Grok Build, OpenCode, Antigravity, Pi, omp, fx, Incode and Hermes. It does not sell or resell model tokens. Three layers sit under every agent it runs:
- WATCHMAN: the desktop app. Tabs are sessions, with a terminal and a browser the agents can drive.
- INMEM: the memory engine on 127.0.0.1:9180. It wires hooks and an MCP entry into each agent, so memory, rules and guards are on every call.
- THE SERVICES: Inbrowse for the web, Incode as a harness, Insi for the self-improving loop, insbx and incu for sandboxes and computer use. Each reaches the agent through MCP or a CLI, and keeps what it learns in Inmem.
One request, end to end
- 1You type in WatchmanThe prompt goes to the agent CLI in that tab: Claude Code, Codex, Antigravity, Incode or another.
- 2Hooks brief the agentInmem's session and prompt hooks add your rules, the last session record and the code this task touches.
- 3The agent calls toolsInmem's MCP tools for memory, Inbrowse for the web, insbx for a sandbox, Watchman's own terminal and browser.
- 4Guards check each callBefore a tool runs, the pre-tool hook checks it against your rules; a blocked call never runs.
- 5Approvals go to the proxyA permission request is answered by the owner proxy as you, or reaches you as a decision card to approve or dismiss.
- 6Everything is keptWhen the agent stops, the new turns and edits are saved, and the recorder notes how each step was done.
The memory engine in the middle
Watchman ships the engine (inmem) and keeps it running as a background service: a scheduled task on Windows, a LaunchAgent on macOS, a systemd user unit on Linux. It keeps running when the Watchman window is closed, so agents in any terminal still have memory.
- ADDRESS: 127.0.0.1:9180. Health: GET /v1/memory/health.
- MCP: http://127.0.0.1:9180/v1/memory/mcp, over HTTP.
- WIRING: the engine's setup writes each agent's hooks and MCP entry. For Claude Code that includes the hooks, the MCP entry and skills; Codex, OpenCode, Cursor and Antigravity are wired by the engine too. Uninstalling removes the wiring and keeps your memory.
- NO DOUBLE RECORDING: agents Watchman starts are marked, so their hooks do not record the same turn twice.
The full tool list and HTTP API are in the Inmem guide.
Each service
| Service | Status | How it connects | With Watchman |
|---|---|---|---|
| Inmem | Shipped | MCP over HTTP at 127.0.0.1:9180/v1/memory/mcp, plus agent hooks | Watchman installs and starts it, wires its hooks into every agent, and every other service reads and writes memory through it. |
| Incode | Shipped | ACP over stdio (Watchman runs it as a provider); HTTP to Inmem | Watchman runs Incode as an agent over ACP. Incode fires Inmem's hooks itself and asks the recorder before repeating a step. |
| Sandbox | Shipped | MCP over stdio (insbx mcp), or a command wrapper (insbx run) | Incode and Insi run work inside it; any MCP agent in Watchman can add insbx mcp to get sandboxes as tools. |
| Computer use | Shipped | MCP over stdio (incu serve, or incode --desktop-mcp) | Incode starts it for its model when INCODE_DESKTOP=1; routines are built from steps Watchman already recorded. Starting it from the Watchman app is planned. |
| Inbrowse | Shipped | MCP over stdio (inbrowse mcp) or HTTP (/mcp); CDP on port 9222 | It is the agents' default browser in Watchman. OCR runs on the Inmem engine, and Watchman hands it sign-in cookies and keys per call. |
| Insi | Early release | MCP over stdio (insi mcp); HTTP to Inmem at 127.0.0.1:9180 | Watchman ships it beside the engine. Inmem runs it on a schedule for projects whose auditor is on, and Insi writes its lessons and decisions into memory. |
| Inagent | In development | HTTP client of Inmem at 127.0.0.1:9180; Watchman's browser over a local socket | Agents keep their memory in Inmem spaces, raise owner cards for approval, and use the Watchman browser. The Watchman screens for teams are planned. |
| Inlang | In development | A local CLI (az); no server | No link yet. An agent can write the words for you to read and edit; the compiler itself never uses a model. |
Add a service to your own agent
With Watchman installed, this is done for you. Without it, or for another MCP client, these are the entries:
# Inmem (memory, rules, recall), over HTTP
claude mcp add --scope user --transport http memory http://127.0.0.1:9180/v1/memory/mcp
# Inbrowse (web, documents, OCR, social), over stdio
claude mcp add inbrowse /path/to/inbrowse mcp
# Insi (lessons from your repo's benchmark), read-only, over stdio
claude mcp add --scope project insi -- insi mcp
# insbx (sandboxes as tools), over stdio
claude mcp add insbx -- insbx mcp
# incu (computer use), over stdio
claude mcp add incu -- incu serveThe Watchman CLI for agents
Every agent Watchman runs can use Watchman's own terminal and browser through watchman app ACTION --json '{…}'. It works only inside a turn Watchman started, with a credential Watchman puts in that agent's environment. A command typed into a terminal, or run as administrator, first passes the same memory guard as the agent's own shell.
| Action | What it does |
|---|---|
| terminal.open | Open a terminal tab the owner can see, in this project. |
| terminal.send · terminal.key | Run a command line in it, or press Ctrl-C, Ctrl-D or Escape. |
| terminal.read · terminal.list | Read a terminal's recent output; list the agent's terminals. |
| terminal.run_admin | Run one command as administrator, after the guard, the owner's OK and the OS prompt. |
| browser.open · browser.look | Open a page in the Watchman Browser; or open, wait, picture, read and check the console in one call. |
| browser.read · browser.click · browser.type | Read the tab with numbered controls; click; type. |
| browser.snapshot · browser.watch | Pictures of the page in each device view, or over time to see motion. |
| browser.wait · browser.tabs · browser.console · browser.view | Wait for the page, list tabs, read the console, switch device view. |
| browser.eval | Run JavaScript, on local pages only unless the owner approves. |
| research | Ask one of the engine's live sources: web, GitHub, npm, PyPI, crates, arXiv, Hugging Face and more. |
| project.create · project.open | Give a session without a folder its project, once the owner says yes. |
A thread started with /operator can also drive the rest of the app:
| Action | What it does |
|---|---|
| sessions.list · read · send · draft · start | See and drive the other sessions. |
| worktrees.list · create | Git worktrees for parallel work. |
| folders.list · move · notes.list · read · write | Session folders and notes. |
| models.list | The models each agent offers. |
- WATCHMAN CONTROL: the orchestrator's commands for its workers: list, delegate, get, wait, steer, message, respond, answer, retry, cancel, review and finish.
- WATCHMAN-CLI: from outside an agent turn: status, methods, and call METHOD --params JSON against the running app.
- WATCHMAN SERVE: run with no window, with a web client on 127.0.0.1:6768; remote clients need a device token.
The Watchman Orchestrator
A visual walk-through of how Watchman turns an approved plan into checked work: plan, approve, build and check.
The problem
The phone link
Open watchman.incord.ai on your phone and pair it from Settings › Phones & devices with a QR code. The engine on your computer holds the link; the relay in between only forwards sealed bytes it cannot read.
- Each message is sealed with AES-256-GCM, with a sequence number per session so an old message cannot be replayed.
- Only phones on your allow list are let through to Watchman.
- Talking to Watchman on your local network instead is off by default.