[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107606":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":35,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},107606,"rhizome","aliengiraffe\u002Frhizome","aliengiraffe","Rhizome lets Claude Code, Codex, and OpenCode sessions discover each other, follow selected work, and exchange messages through MCP. Use it to coordinate parallel tasks on your laptop or connect your agents with a colleague's agents over a LAN or Tailscale network.","https:\u002F\u002Ftryrhizome.dev",null,"Go",82,8,1,17,0,3,25,46.71,"MIT License",false,"main",[24,25,26,27,28,29,30,31,32,33,34],"agent","agent-memory","agent-orchestration","agent-skills","agentic-ai","agentic-workflow","golang","golang-cli","mcp","mcp-server","mcp-tools","2026-11-16 20:18:31","2026-11-23 07:14:03","# Rhizome\n\n**Connect coding agents across terminals, worktrees, and colleagues' machines.**\n\n![Concept illustration of coding agents connected through Rhizome nodes](docs\u002Fimages\u002Frhizome-agents.svg)\n\nRhizome lets Claude Code, Codex, and OpenCode sessions discover each\nother, follow selected work, and exchange messages through MCP. Use it to\ncoordinate parallel tasks on your laptop or connect your agents with a\ncolleague's agents over a LAN or Tailscale network.\n\nYour agents keep working in their own projects and tools. Rhizome supplies the\ncommunication infrastructure: verified session identities, peer discovery,\nactivity delivery, and explicit trust between machines.\n\n[Quickstart](#quickstart) · [Collaborate with colleagues](#collaborate-with-colleagues) ·\n[How it works](#how-it-works) · [Documentation](#documentation)\n\n## What Rhizome enables\n\n| Workflow | What you can do |\n| --- | --- |\n| **Parallel development** | Run implementation, tests, and review in separate sessions or worktrees. Follow relevant sessions so discoveries and blockers reach the agents that need them. |\n| **Collaboration with colleagues** | Pair two machines, discover each other's agent sessions, and exchange context while each person keeps their own development environment. |\n| **Cross-agent work** | Let a Codex session follow a Claude Code session or send a question to an OpenCode session. Supported integrations share the same session addressing and collaboration tools. |\n| **Continuity across sessions** | Search past Claude Code, Codex, and OpenCode work and read selected activity through the optional local history service. A colleague can separately opt in to sharing history. |\n| **Explicit file handoffs** | Offer a selected file to a session on a paired host. The recipient chooses whether to accept it into a temporary inbox. |\n\nFor example, you can work on an API in Codex while a colleague builds its client\nin Claude Code. After pairing your machines, ask the client session to follow\nthe API session. It can receive updates as the API work progresses and send a\nquestion back to that exact session. You still choose task ownership, repository\naccess, branches, and how changes are reviewed and merged.\n\n## Quickstart\n\n### 1. Install\n\nDownload a build from [GitHub Releases](https:\u002F\u002Fgithub.com\u002Faliengiraffe\u002Frhizome\u002Freleases).\nmacOS has a signed and notarized installer that places `rhizome` in\n`\u002Fusr\u002Flocal\u002Fbin`. Archives are also available for macOS, Linux, and Windows;\nLinux and Windows artifacts are unsigned. See the\n[installation and checksum guide](docs\u002Freleasing.md#installing-and-upgrading).\n\nWith Node.js 18 or later, install the same release binaries from npm:\n\n```sh\nnpm i -g @aliengiraffe\u002Frhizome     # or run once: npx @aliengiraffe\u002Frhizome --version\n```\n\nThe package runs no install scripts; npm picks the platform binary through an\noptional dependency, so do not install it with `--omit=optional`\n([npm packages](docs\u002Freleasing.md#npm)).\n\nOr build from source with Go 1.27.3+ and [Task v3](https:\u002F\u002Ftaskfile.dev\u002Fdocs\u002Finstallation):\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Faliengiraffe\u002Frhizome.git\ncd rhizome\ntask build\n.\u002Frhizome --version\n```\n\nThe commands below assume `rhizome` is on your `PATH`. For a source build, use\n`.\u002Frhizome` from the checkout and keep the binary there: setup registers its\nabsolute path.\n\nRelease builds keep themselves current: the background service checks GitHub\nReleases once a day, verifies a newer release (signed manifest, SHA-256,\nmacOS Developer ID, `--version`) and restarts onto it. This is the only\noutbound connection Rhizome makes; disable it with `[update] enabled = false`\nin the configuration file, `RHIZOME_UPDATE=0`, or the setup question, and use\n`rhizome update --apply` when you want. Source builds are never updated. See\n[automatic updates](docs\u002Fservice.md#automatic-updates).\n\n### 2. Connect your agents\n\n```sh\nrhizome setup\n```\n\nSelect your agents and review the setup changes. For a first local trial, keep\nMCP networking **local** and gateway pairing **off**. Setup installs the\ncollaboration skill and, for Claude Code and Codex, their MCP registration\nand binding hooks at user scope. OpenCode gets the skill and plugins; add its\n[MCP entry manually](docs\u002Fopencode.md#install). To take Rhizome out again,\n`rhizome uninstall` reverses these installs for the agents you pick (`--all`\nalso stops the background service) with the same backups, and leaves\n`~\u002F.rhizome` in place ([details](docs\u002Freference.md#uninstalling)).\n\nRestart your agent and complete its integration steps:\n\n| Agent | Before the first conversation |\n| --- | --- |\n| **Claude Code** | Launch with `claude --dangerously-load-development-channels server:rhizome` and accept the channel\u002Fhook prompts. [Setup details](docs\u002Freference.md#claude-setup). |\n| **Codex** | Start a fresh session, review and trust the Rhizome hooks in `\u002Fhooks`. [Setup details](docs\u002Fcodex.md#install). |\n| **OpenCode** | Load the MCP entry and installed plugins, then submit a human prompt. [Setup details](docs\u002Fopencode.md#install). |\n\n### 3. Try two sessions\n\nOpen two supported agent sessions and submit a prompt in each so they bind to\nRhizome. In one, invoke the installed skill with a task description:\n\n```text\n\u002Frhizome-collab I'm implementing the API. Show me the other sessions and\nhelp me identify which one is working on the client.\n```\n\nThen ask it to follow the relevant session or send a specific message:\n\n```text\nSubscribe to the client session we identified and send it this update:\n\"The response will include a next_cursor field; please account for pagination.\"\n```\n\nThe agent uses `list_sessions`, `subscribe`, and `send` with exact session IDs.\nNames help you recognize sessions; they never decide where a message goes.\nTwo sessions in the same directory remain separate.\n\n## Collaborate with colleagues\n\n**Host pairing connects two machines without sharing their local cluster tokens.**\nEach person runs a Rhizome service, then explicitly pairs with the other host.\nBoth machines need compatible builds and network access to each other over a\nLAN or an existing Tailscale network.\n\n### 1. Enable pairing on both machines\n\nFor Tailscale, run on each machine:\n\n```sh\nrhizome setup --network local --gateway-mode tailscale --replace-config\nrhizome service install\nrhizome service stop\nrhizome service start\n```\n\n`setup` saves the configuration and backs up an existing file. Installation\nstarts the service; stopping and starting applies changed settings to an existing service.\nRestart your agents' MCP processes too. For a LAN, use `--gateway-mode lan`;\nsee the [pairing guide](docs\u002Fgateway.md#configure-and-run) for explicit addresses\nand connectivity requirements. Tailscale must already be running on both hosts.\n\n### 2. Invite your colleague\n\nOn your machine:\n\n```sh\nrhizome invite --expires 10m\n```\n\nShare the printed `rhizome join rhz1_...` command privately. Your colleague runs\nit on their machine. Then check the connection:\n\n```sh\nrhizome peers list\n```\n\n### 3. Coordinate the work\n\nAsk your agent to list sessions on the paired host, identify the relevant task,\nand subscribe or send a message to its exact session ID. For example:\n\n```text\nMy colleague is working on the client on the paired host. List its sessions\nand help me find the client task, then follow that session's updates.\n```\n\nPairing authenticates a **host**, not a person's identity. The same mechanism\nalso connects two machines you own. Remote origin is established by authenticated\nhost metadata, never inferred from a session name or project path.\n\n**Sharing scope:** paired hosts currently see all eligible bound local sessions;\nper-session privacy is not implemented. History sharing is off by default and\nrequires a separate [owner-controlled policy](docs\u002Fhistory.md#paired-host-history-opt-in).\nPairing is direct: pairing A with B and B with C does not connect A with C.\nUse `rhizome peers revoke \u003Chost-id>` to revoke a host.\n\n## How it works\n\nRhizome is a Go executable with two main roles: an MCP bridge for agent sessions,\nand an optional per-user background service for observation, history, and host\npairing. Local messaging works without the background service. Cross-host pairing\nrequires the service on both machines.\n\n![How Rhizome works: local agent sessions connect through Rhizome nodes and services, with explicit host pairing over pinned TLS.](docs\u002Fimages\u002Fhow-it-works.svg)\n\n| Layer | What it provides |\n| --- | --- |\n| **Session identity** | Agent-specific hooks or verified transport metadata bind each session. Exact IDs keep worktrees, concurrent chats, and agent types distinct. |\n| **Local discovery and routing** | A private registry bootstraps memberlist discovery. Nodes exchange activity through authenticated gRPC on loopback; local peers can communicate directly. |\n| **Agent integration** | Claude receives channel notifications, Codex uses its local queue, and OpenCode uses a private plugin bridge. |\n| **Background service** | Observes supported local logs independently of open MCP sessions and maintains a metadata-first history catalog. Observation-only sessions cannot receive messages. |\n| **Paired-host gateway** | Persistent host keys and invitations establish a direct TLS connection. Each service exposes remote sessions locally through proxies, keeping local tokens on their own machines. |\n\nRhizome needs no central broker or hosted coordination service. For paired hosts,\nMCP networking stays local and the services handle cross-machine transport.\nAn alternative [shared-token LAN\u002FTailscale mode](docs\u002Freference.md#lan-mode)\nconnects MCP nodes directly; it is a separate trust model and cannot be combined\nwith host pairing in the same configuration.\n\n### What gets shared\n\nSubscriptions carry selected assistant text, tool names\u002Fstatus, and turn markers.\nBy default automatic collection excludes user prompts, reasoning, full tool bodies,\nsubagent transcripts, and received peer traffic. Setting the file-only\n`[sessions].share_prompts_and_tools = true` on a host also publishes its\nsessions' human prompts (`prompt`) and tool inputs and outputs (`tool_input`,\n`tool_output`), clipped to the usual 7 KiB, in live activity and in the history\nit serves to local agents and paired hosts. Reasoning, peer-delivered input,\npeer-triggered turns and Rhizome's own tools stay excluded either way. Explicit `send` and `publish`\ncalls carry the text the sender chooses. Collected text (streamed activity and\n[session history](docs\u002Fhistory.md#content-policy)) is scanned with\n[Betterleaks](https:\u002F\u002Fgithub.com\u002Fbetterleaks\u002Fbetterleaks) default rules and\ndetected secrets are replaced by `[REDACTED:\u003Crule_id>]` before leaving the\nprocess; text that cannot be scanned is masked whole. Explicit `send` and\n`publish` text is never scanned. Detection is heuristic: it reduces but cannot\neliminate leakage, may mask benign strings, and does not decode encoded\nsecrets. Collected assistant text can still contain project-sensitive\ninformation.\n\nDelivery uses bounded queues, short replay windows, deduplication, and feedback\ncontrols. A successful send means the receiver **accepted it into a queue**,\nnot that the agent read or acted on it. Restarts lose live replay state and\nsubscription intent; the history catalog is a separate read-only facility.\nSee [delivery guarantees](docs\u002Freference.md#activity-replay-and-bounded-delivery).\n\n## Documentation\n\n| Guide | Contents |\n| --- | --- |\n| [Setup and protocol reference](docs\u002Freference.md) | Configuration, installation behavior, MCP tools, session names, discovery, networking, and delivery limits. |\n| [Host pairing](docs\u002Fgateway.md) | LAN\u002FTailscale setup, invitations, trust, revocation, and connectivity checks. |\n| [Background service](docs\u002Fservice.md) | Installation, lifecycle, observation, and terminal management. |\n| [Session history](docs\u002Fhistory.md) | Local search, paginated reads, optional peer access, and content policy. |\n| [File transfers](docs\u002Ffiles.md) | Explicit offers and acceptance, temporary storage, and limits. |\n| [Agent integrations](docs\u002Freference.md#claude-setup) | Claude Code setup; dedicated guides for [Codex](docs\u002Fcodex.md) and [OpenCode](docs\u002Fopencode.md). |\n| [Verification](docs\u002Fverification.md) | Tested client versions, automated coverage, and manual checks. |\n| [Releases](docs\u002Freleasing.md) | Downloads, checksums, signing, upgrades, and platform limits. |\n\n## Contributing and reporting\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the contributor workflow. Use the\n[issue chooser](https:\u002F\u002Fgithub.com\u002Faliengiraffe\u002Frhizome\u002Fissues\u002Fnew\u002Fchoose) for bugs\nand feature requests, and [SECURITY.md](SECURITY.md) to report vulnerabilities\nprivately.\n\n## Development\n\nBuild and run the required checks from the repository root, using the\n[disposable-state wrapper](AGENTS.md#commands-and-completion) to protect your\nagent configuration:\n\n```sh\ntask build\ntask check\npython3 scripts\u002Fsmoke_stdio.py\npython3 scripts\u002Fsmoke_stdio.py --lan\npython3 scripts\u002Fsmoke_service.py\npython3 scripts\u002Fsmoke_update.py\ngit diff --check\n```\n\nSee [AGENTS.md](AGENTS.md) for engineering requirements and additional checks\nfor specific integrations. Automated smokes use isolated state and synthetic\ntranscripts. Live agent and cross-device validation are documented separately\nin the [verification guide](docs\u002Fverification.md).\n\n## Session status\n\nEvery row of `list_sessions` carries a `status` and `delivery_capable`; neither\nvisibility nor a label implies that a person will read a message.\n\n| `status` | Meaning | `delivery_capable` |\n| --- | --- | --- |\n| `live` | One or more direct integrations currently report the session. Several processes sharing one `session_id` (for example a reloaded instance or a duplicate MCP process) collapse into a single row. | `true` only when exactly one direct integration on one host reports it; with duplicates, routing fails closed and `send` refuses |\n| `recent` | Liveness unknown. Either only the [background observer](docs\u002Fservice.md) saw log activity (the row keeps its node identity and can be subscribed to), or the session recorded activity within `sessions.recent_window` (default a rolling 24 hours) and no process currently reports it (metadata only: no node ID, generation or endpoint). | `false` |\n\nStatuses carry no parentheses by default. With `--debug` (`RHIZOME_DEBUG=1`\nor top-level `debug = true`), each status gets a substatus that keeps the\nunderlying detail visible: `live (direct)`, `live (direct, self)`,\n`live (direct x2)`, `live (direct, observer, hosts x2)` for a cross-host\ncollision, `recent (observer)`, `recent (observer x2)` and `recent (catalog)`.\nMatch on the leading word: `observed (liveness unknown)` and `ambiguous` are no\nlonger emitted (earlier releases reported them).\n\nRecent rows currently cover Claude Code and Codex sessions; OpenCode callers\ncan list them, but OpenCode history is not advertised as recent.\n\nRecent rows come from the observer service's local history catalog, so the\nservice must be running on the owning device: a stopped service withdraws them\n(`recent_sessions.state: \"unavailable\"`, `reason: \"service_stopped\"`) rather\nthan fabricating presence, and processes without the catalog show\n`no_catalog`. Recency is `now - last_activity_at \u003C= recent_window`, inclusive,\ncomputed on the owner in UTC from recorded log timestamps only; `recent_until`\nis that expiry. Heartbeats, probes, peer queries, service restarts, catalog\nrewrites and file modification times never renew it, sessions with unknown\ntimestamps never qualify, and a timestamp more than five minutes in the future\nis treated as unknown so a skewed clock cannot keep a session advertised. Rows\nare sorted newest activity first and capped at 64 per device;\n`recent_sessions.omitted` reports how many were left out. Sessions that ended\nbefore the service was installed qualify through their recorded metadata.\n\nA verified live session always wins its (host, agent, session) key: when a\nprocess exits, its row downgrades to `recent` if it qualifies and disappears\notherwise; when a process reconnects, the row upgrades to `live` without a\nduplicate. A live session idle for longer than the window stays `live`; the\nwindow only bounds recent-only retention. `last_activity_at` is also attached\nto local observer-reported and `live` rows when the catalog knows it.\n\n`send` to a `recent` session fails before anything is queued, with an explicit\n\"recent, not live\" error; nothing is deferred for a later restart and nothing is\nrouted to an observer. File offers and every other operation that needs a live\nrecipient reject recent rows the same way. `subscribe` keeps its existing\n\"retain intent while absent\" behavior and never replays history. Live sends\nstill resolve and verify the exact current identity at send time, so a session\nthat exits between listing and sending fails rather than being queued.\n\nRecent rows are advertised to [paired hosts](docs\u002Fgateway.md) as metadata only\nand carry that host's `host_id`; they are never forwarded a second hop, never\ngrant history reads (`[gateway.history]` stays a separate, default-off\ncapability) and vanish when the host disconnects or is revoked. LAN and\nTailscale gossip carries live identities only.\n\n**Upgrade note:** this release lists recently ended sessions by default. Set\n`[sessions] recent_window = \"0s\"` to opt out; live discovery is unchanged.\n","Rhizome 是一个面向 AI 编程代理（如 Claude Code、Codex、OpenCode）的轻量级协作基础设施，用于实现跨终端、跨工作目录乃至跨设备的代理发现、会话跟踪与消息互通。它基于 MCP（Model Context Protocol）协议构建，提供可信会话标识、自动对等发现、活动广播和显式信任管理能力，支持本地并行开发（如实现\u002F测试\u002F评审分离）及局域网或 Tailscale 网络下的跨人协作。无需迁移开发环境，即可在保持各自代码库、分支和工具链的前提下实现上下文共享与文件手递。",2,"2026-11-24 04:32:24","CREATED_QUERY"]