Local, cross-platform, agent-agnostic message passing between AI coding agents (Claude Code, Codex, Gemini/Antigravity, Cursor) — scoped to a repo, over a filesystem spool. No shared server or background coordinator; messages, hosted logs and request state stay in the room. Near-zero tokens while idle.
/tell <agent> <task>— hand work to another running agent and act on its reply.listen//listen— park on the repo's inbox and answer requests, at ~no token cost while idle.tincan up <agent>— or skip the terminal: tincan hosts a headless agent CLI (codex, gemini, claude, …) as a listener itself, detached, anddownstops it.tincan mcp— expose structured orchestration tools to an MCP client over stdio, with durable request handles and bounded waits. Launch and talk to workers from tools without opening a terminal for each one.tincan web— a tailnet-only chat UI: threads per project,@codex review claude's change, agents hand work to each other, one page for several machines. Seedocs/web.md.
Operating guide: PROTOCOL.md. Client setup and session prompts:
docs/setup.md. Release notes: v2.0.0.
All current guides and historical design documents: docs/README.md.
Download a prebuilt binary from the
v2.0.0 release for
Linux, macOS or Windows, on amd64 or arm64. Verify the archive against the
release's checksums.txt, extract it, and put tincan (tincan.exe on Windows)
on your PATH. Prebuilt binaries do not require Go.
With Go 1.25 or newer:
go install github.com/c0ze/tincan/v2/cmd/tincan@v2.0.0
tincan version --format jsonUse @latest instead of @v2.0.0 to follow stable v2 releases. Make sure Go's
bin directory is on your PATH (use GOBIN instead if you have configured it):
export PATH="$(go env GOPATH)/bin:$PATH" # add to your shell profileUpgrading from v0.1.0 or a development build: use the /v2/ install path
above. The old github.com/c0ze/tincan/cmd/tincan@latest command does not select
v2. Check that tincan version --format json reports v2.0.0, update any MCP
configuration pointing at a different binary, and restart the MCP client.
Existing hosted processes keep running their original executable; let active
work finish and stop/relaunch those listeners to use the new binary. See the
upgrade notes.
To build a checkout, use go install ./cmd/tincan or ./install.sh --bin-only.
CI tests Go 1.25 and stable Go on Linux, macOS and Windows. Detached listeners
and MCP automatic launch work on Linux/macOS. Windows supports foreground
tincan serve listeners; see the platform limits.
Each room gets a .tincan/ directory holding the spool and, with hosted
listeners, per-agent logs and durable request state. tincan writes a
.tincan/.gitignore that ignores the whole directory, so it stays out of commits
without editing your project's .gitignore.
New runtime directories use 0700 and files use 0600 on POSIX. Keep rooms
private: prompts, replies and logs may contain repository content or credentials.
From a clone of this repo:
./install.sh # binary + shared and Claude tell/listen skills
./install.sh --skills-only # just the skillsThis copies the skills to both ~/.agents/skills/{tell,listen}/ and
~/.claude/skills/{tell,listen}/ (override with AGENTS_SKILLS_DIR and
CLAUDE_SKILLS_DIR). It recognizes directories and files that alias each other,
skips identical files, and preserves changed destination files or symlinks as
adjacent *.backup.* files before replacement. Other files are left in place.
Restart your agent session to discover the installed skills.
Per-agent shims installed by the same script:
- Codex: uses the native skills installed in
~/.agents/skills/, so they are available outside this checkout. Invoke withlisten as codexor a request totell <agent> <task>. - Claude Code: uses
~/.claude/skills/; invoke/tellor/listen. - Gemini CLI: when
~/.geminiexists, installs~/.gemini/commands/listen.tomlfor/listen. SetGEMINI_COMMANDS_DIRto explicitly select a destination, even before Gemini has created its directory. - Antigravity: reads workspace skills from
.agents/skills/; this repo ships a.agents/skills → skillssymlink, so/listenworks out of the box here. For other repos, make the installed skills available through that workspace path if the client does not discover user-level skills.
Without Go, install.sh downloads the release binary for your platform, verifies
it against checksums.txt, and installs it to ~/.local/bin (TINCAN_BIN_DIR);
--from-release forces this. Outside a checkout it fetches the skills from the
same release, so it also works as curl -fsSL <raw install.sh URL> | bash.
Install v2, then register a stdio MCP server once per user. ./install.sh --mcp
does this for Claude Code and Codex when their CLIs are installed. The server
uses the session's project (its git work tree) as the room, so one registration
works in every repository. For clients using an mcpServers JSON configuration:
{
"mcpServers": {
"tincan": {
"command": "/absolute/path/to/tincan",
"args": ["mcp"]
}
}
}Replace the binary path before adding the configuration to your client. Using
the absolute binary path avoids differences between GUI and shell PATH values.
Clients that start servers outside a project, such as Claude Desktop (which uses
/), need "args": ["mcp", "--room", "/absolute/path/to/repo"]. Each server is
bound to one room; tool calls cannot switch rooms. Do not freeze a PATH into
the registration: tincan searches PATH and common per-user bin directories
(~/.local/bin, mise/asdf shims, Homebrew, Volta, Bun, npm-global, Go) when it
launches agents. Standard output
is reserved for MCP messages and diagnostics go to standard error.
The tools are tincan_launch, tincan_send, tincan_wait, tincan_status,
tincan_cancel, tincan_reset, tincan_stop, tincan_presets, and, for
committee reviews (which need tincan web running), tincan_review,
tincan_review_wait, and tincan_review_cancel. Launch uses
configured presets; the MCP API does not accept an arbitrary command to execute.
Send returns a durable request_id. Save it and use wait/status to collect the
result across client reconnects. A wait timing out does not resubmit or cancel
the task. Hosts continue running after the MCP connection closes.
For example, call tincan_send with
{"agent":"claude","body":"Review the current diff","request_id":"review-1"},
then tincan_wait with {"request_id":"review-1","timeout_seconds":30}. Keep
waiting on that ID until terminal is true. Reusing an explicit ID with identical
work is idempotent while its request record is retained.
Desktop and CLI clients can use the same MCP tools when they support local stdio servers. The workers are installed provider executables; tincan does not launch or control desktop application windows. See client and provider setup.
Claude, Grok, Agy, Kimi and Cursor use persistent conversations by default with their
native executable presets. Their saved conversation survives calls, reconnects
and host restarts. Codex, Gemini and custom executables default to stateless
runs. Select session_mode: "stateless" on launch for independent requests;
tincan_reset stops a listener and clears its conversation pointer. See
the MCP protocol for tool arguments and lifecycle details.
In repo ~/work/app, two agents:
# Agent A (e.g. Codex), acting as a listener:
listen as codex
# Agent B (e.g. Claude), orchestrating:
/tell codex review the diff on the current branchB blocks with ~no token cost until A replies, then acts on the review. Fan out to several agents at once and B collects replies as they finish.
No terminal for agent A? Let tincan host it — one command, detached, no skill install on the agent side:
tincan up codex --room "$(git rev-parse --show-toplevel)" # up name=codex pid=… preset=codex
/tell codex review the diff on the current branch # same as before
tincan status --room "$(git rev-parse --show-toplevel)" # MODE hosted:codex, STATE parked|busy
tincan down codex --room "$(git rev-parse --show-toplevel)" # when you are doneBuilt-in presets: codex, grok, kimi, agy, gemini, claude, cursor (tincan presets lists them; ~/.config/tincan/agents.json adds or overrides). Every
completed run gets a reply, including agent failures (ERROR exit=…) and timeouts.
Interrupted work is recorded for inspection and is never automatically replayed;
it may already have changed the workspace.
Mind the trust boundary: a hosted listener runs whatever lands in its inbox
with its configured provider permissions, including auto-approval in several
built-in presets. See the trust boundary.
The logo and banner were designed by the listening agents themselves, briefed and
delivered over tincan in a head-to-head contest — Codex (GPT-image) vs Antigravity
(Nano Banana Pro). Codex's entry won and became the official brand; both entries
live in assets/:
| Codex — winner | Antigravity — alternate |
|---|---|