opencode-agent-hub
Multi-agent coordination daemon and tools for OpenCode
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you are actively using OpenCode and want to enable agent-to-agent communication—the low install friction, active maintenance, and zero known vulnerabilities make it safe to try. However, be aware that it is still in Beta, the project is young, and injected messages are not visible in the OpenCode TUI, which may complicate debugging. Verify that agent-hub-mcp is properly configured before starting the daemon, and enable rate limiting if concerned about LLM API costs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires agent-hub-mcp to be configured in OpenCode's opencode.json before the daemon will start.
- Python >= 3.11 required.
- Low install friction with a pure Python wheel and four lightweight runtime dependencies (prometheus-client, pydantic, requests, watchdog).
License · maintenance · safety
AGPL-3.0-only (agpl) — Licensed under AGPL-3.0-only, which requires that any modifications or derivative works be released under the same license and made available to users. This is a strong copyleft license suitable for open-source projects but may restrict commercial use or closed-source modifications.
last release 2026-07-27 (18 days) · last repo commit 2026-08-14 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 308,392 downloads/mo, #7,765 on PyPI
Alternatives
Verify before relying
pip install opencode-agent-hub
# Terminal 1: start the daemon
agent-hub-daemon
# Terminal 2: monitor activity
agent-hub-watch- Whether injected agent-to-agent messages consume additional LLM API tokens beyond the agent's own responses.
- Performance characteristics and latency of message injection across many concurrent agents.
- Compatibility with OpenCode versions and whether upstream issue #8564 (injected messages not visible in TUI) has been resolved.
- Whether rate limiting is sufficient for production use cases with high-frequency agent communication.
What it is and what it does
opencode-agent-hub is a daemon that enables multiple AI agents running in separate OpenCode sessions to discover and communicate with each other. It works by polling OpenCode's shared SQLite database to find active sessions, facilitating introductions through a coordinator agent, and then routing messages between agents by watching for JSON files written to ~/.agent-hub/messages/ and injecting them into target sessions via async prompts. Agents do not poll for messages—the daemon wakes them up when new communication arrives.
The package is built for developers who want to orchestrate autonomous multi-agent workflows within OpenCode. It includes a daemon service (installable as a systemd or launchd service), a watch utility for monitoring activity, and configurable rate limiting to control LLM API costs. The daemon relies on agent-hub-mcp being configured in OpenCode, and messages are validated with pydantic on receipt. Known limitations include that injected messages are not visible in the OpenCode TUI, and some models may flag orientation messages as prompt injections.
Use it for
- Orchestrate collaborative problem-solving where multiple specialized agents work together on a single task without manual routing.
- Build autonomous workflows where agents can request information or assistance from peers, reducing external API calls.
- Monitor and debug multi-agent interactions using agent-hub-watch to see message flow and coordination in real time.
- Control LLM API costs in high-frequency agent communication by enabling rate limiting to throttle message throughput.
- Deploy a persistent agent hub as a system service to coordinate long-running agent sessions across multiple terminals.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you are actively using OpenCode and want to enable agent-to-agent communication—the low install friction, active maintenance, and zero known vulnerabilities make it safe to try. However, be aware that it is still in Beta, the project is young, and injected messages are not visible in the OpenCode TUI, which may complicate debugging. Verify that agent-hub-mcp is properly configured before starting the daemon, and enable rate limiting if concerned about LLM API costs.
Install
opencode-agent-hub on PyPI
Before you install
Low install friction with a pure Python wheel and four lightweight runtime dependencies (prometheus-client, pydantic, requests, watchdog). Active maintenance with a recent release and ongoing commits, though the project is young and still in Beta status.
Requires agent-hub-mcp to be configured in OpenCode's opencode.json before the daemon will start. Python >= 3.11 required.
License in practice
Licensed under AGPL-3.0-only, which requires that any modifications or derivative works be released under the same license and made available to users. This is a strong copyleft license suitable for open-source projects but may restrict commercial use or closed-source modifications.
Quickstart
pip install opencode-agent-hub
# Terminal 1: start the daemon
agent-hub-daemon
# Terminal 2: monitor activity
agent-hub-watch
Verify before relying
- Whether injected agent-to-agent messages consume additional LLM API tokens beyond the agent's own responses.
- Performance characteristics and latency of message injection across many concurrent agents.
- Compatibility with OpenCode versions and whether upstream issue #8564 (injected messages not visible in TUI) has been resolved.
- Whether rate limiting is sufficient for production use cases with high-frequency agent communication.
Package facts
| License | AGPL-3.0-only agpl |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesprometheus-clientpydanticrequestswatchdog |
| Maintenance | Actively maintained 18 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 308,392 / month, #7,765 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Affero General Public License v3Operating System :: MacOSOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Distributed Computing |
Evidence: opencode_agent_hub-1.6.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “multi-agent coordination”
- opencode-agent-hubCoordinates communication between multiple AI agents running in…
- langgraph-supervisorBuilds hierarchical multi-agent systems where a supervisor agent…
- pyautogenpyautogen is a proxy package that redirects to autogen-agentchat, a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also trinity-agent · omnigent · bernstein · ouroboros-ai · code-puppy · clawmetry · mindroom · detect_agent · PraisonAI · metagit-cli