Intelligent routing for OpenCode with elite autonomous execution.
The Tri-Agent Router orchestrates every request through exactly three agents: one to own the work, one to catch blind spots, and one to verify quality. AgentTrondo brings Trondo's elite methodology — one approval gate, autonomous execution, and comprehensive reporting.
| File | What It Does |
|---|---|
tri-agent-router.ts |
Routes every request to 3 agents |
AgentTrondo.md |
Elite autonomous orchestrator |
core.ts |
Router implementation |
install.sh / install.ps1 |
Install scripts |
manifest.json |
Package metadata |
Local:
curl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bashGlobal:
curl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bash -s -- --globalCheck version:
curl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bash -s -- checkEvery request goes through three agents:
- Primary — Owns execution
- Secondary — Complementary expertise
- Tertiary — Verification
The router picks agents based on your request, attaches relevant skills, and sends you an approval menu.
Select AgentTrondo when you need:
- Multi-phase delivery
- One approval → autonomous execution
- Comprehensive final reports
- Multiphasic planning with checklists
Usage:
Select AgentTrondo as primary → Submit mission → Review plan → Approve once → Get report on completion
Edit opencode.jsonc to tune behavior:
| Option | Default | What It Does |
|---|---|---|
agentDirs |
auto | Directories to scan |
skillDirs |
auto | Directories to scan |
maxSkills |
8 | Max skills to attach |
minSkillScore |
16 | Min skill match score |
requireApproval |
true | Gate execution |
When execution is needed, you get a menu:
| Option | Meaning |
|---|---|
Yes |
Approve once |
Always |
Auto-approve this session |
Change |
Pick different agents |
Deny |
Cancel |
curl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bash -s -- updateTo update, first remove the old install, then reinstall fresh:
curl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bash -s -- uninstall
curl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bashcurl -fsSL https://raw.githubusercontent.com/IceMasterT/Opencode-Tri-Agent-Router/main/install.sh | bash -s -- uninstallOr manually delete:
~/.config/opencode/plugin/tri-agent-router.ts~/.config/opencode/plugin/tri-agent-router.manifest.jsonAgentTrondo.md
- OpenCode CLI
- Bash 3.2+ (or PowerShell for Windows)
- Git
MIT — use it, fork it, break it.
Star the repo if this saves you time.
{ "plugin": [ "/path/to/tri-agent-router.ts", { "agentDirs": ["/path/to/agents"], "skillDirs": ["/path/to/skills"], "maxSkills": 8, "minSkillScore": 16, "requireApproval": true } ] }