The agent networking skill for ConnectOnion β connect your AI coding agent to any remote agent
π Documentation β’ π¬ Discord β’ β Star ConnectOnion β’ π§ Chat UI
oois the official companion skill for the ConnectOnion framework. Install it in your AI coding agent, then talk to any remote ConnectOnion agent through natural language β delegate tasks, collaborate across agents, get results back.
You: /oo 0x3d4017c3e843895a92b70aa74d1b7ebc9c982... translate this doc to English
Agent: Connecting to remote agent...
CO_METHOD: direct
[Returns translated document]
- Python 3.10+
pip install connectonion- Agent identity: run
co initin your project or home directory
OpenClaw (recommended):
# Install via ClawHub
clawhub install oo
# Or manual install
mkdir -p ~/.openclaw/skills/oo
curl -o ~/.openclaw/skills/oo/SKILL.md \
https://raw.githubusercontent.com/openonion/oo/main/skills/oo/SKILL.mdSkills CLI:
npx skills add openonion/ooClaude Code (Manual β recommended):
mkdir -p ~/.claude/skills/oo
curl -o ~/.claude/skills/oo/SKILL.md \
https://raw.githubusercontent.com/openonion/oo/main/skills/oo/SKILL.mdClaude Code (Plugin):
claude plugin marketplace add openonion/oo
claude plugin install ooOpenAI Codex CLI:
mkdir -p ~/.codex/skills/oo
curl -o ~/.codex/skills/oo/SKILL.md \
https://raw.githubusercontent.com/openonion/oo/main/codex/oo/SKILL.mdCursor:
mkdir -p .cursor/rules
curl -o .cursor/rules/oo.mdc \
https://raw.githubusercontent.com/openonion/oo/main/cursor/rules/oo.mdcKiro:
mkdir -p .kiro/steering
curl -o .kiro/steering/oo.md \
https://raw.githubusercontent.com/openonion/oo/main/kiro/steering/oo.mdManual (any platform): Copy skills/oo/SKILL.md to your agent's skill directory.
"Ask 0x3d4017c3e843895a92b70aa74d1b7ebc9c982... to review this pull request"
/oo 0x3d4017c3... research AI agent trends for 2026
"Set up ConnectOnion environment for agent networking"
The skill auto-detects ConnectOnion agent addresses (0x + 64 hex chars) in your messages and triggers automatically.
- Verifies
connectonionis installed and agent identity exists - Resolves remote agent endpoints via relay API
- Connects directly to the agent (with relay fallback)
- Sends task via signed WebSocket protocol
- Streams response, handles multi-turn conversation automatically
- Returns the remote agent's response to you
Target address (0x...)
β
βΌ
Query relay API for endpoints
β
βΌ
Try each endpoint directly (/info verification)
β
βββ Success β Direct WebSocket connection (fastest)
β
βββ All fail β Relay fallback (wss://oo.openonion.ai)
When the remote agent asks a follow-up question, the skill handles it intelligently:
- If answerable from context (file contents, prior conversation) β answers automatically
- If user input needed β shows the question, waits for your reply
- Loops until task is complete or 10 rounds max
| Error | Cause | Action |
|---|---|---|
ImportError: connectonion |
Not installed | pip install connectonion |
address.load() returns None |
No identity | co init |
TimeoutError |
Agent unreachable | Verify address, check network |
| Both direct + relay fail | Agent offline | Contact remote agent operator |
| Trust/permission error | Not authorized | Contact remote agent admin |
.claude-plugin/
plugin.json # Plugin metadata
marketplace.json # Marketplace listing
skills/
oo/
SKILL.md # Claude Code skill
codex/
oo/
SKILL.md # Codex CLI skill
cursor/
rules/
oo.mdc # Cursor rule
kiro/
steering/
oo.md # Kiro steering file
commands/
oo.md # /oo command alias
LICENSE
README.md
ConnectOnion is an open-source framework for building production-ready AI agents with built-in multi-agent networking.
"Keep simple things simple, make complicated things possible."
Any agent built with ConnectOnion can be discovered and called by other agents through the host() / connect() protocol:
from connectonion import Agent, host
agent = Agent(name="translator", tools=[translate])
host(agent) # Now other agents can connect to this agentoo is the bridge β install it in your AI coding agent, and it can talk to any hosted ConnectOnion agent. Together they form the complete stack:
| Component | Role | Link |
|---|---|---|
| ConnectOnion | Framework β build, host, and connect agents | openonion/connectonion |
| oo | Skill β let AI coding agents use ConnectOnion | openonion/oo |
| chat.openonion.ai | Frontend β ready-to-use chat interface | chat.openonion.ai |
MIT License β use it anywhere, even commercially. See LICENSE file for details.
Built with π§ by the OpenOnion community
β Star ConnectOnion β’ π¬ Join Discord β’ π Read Docs β’ β¬ Back to top
