Skip to content

CyberBoyAyush/zenox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Zenox

ZENOX

Intelligent agent orchestration for OpenCode

npm version license


Zenox supercharges OpenCode with specialized AI agents that handle different aspects of development. Instead of one agent doing everything, you get a team of experts β€” each optimized for their domain.

Features

  • 4 Specialized Agents β€” Explorer, Librarian, Oracle, UI Planner
  • Bundled Skills β€” Auto-installs frontend-design & grill-me, auto-updated with Zenox
  • Background Tasks β€” Fire multiple agents in parallel (with safe concurrency limits)
  • Thinking Mode Variants β€” Configure thinking levels (high, xhigh, max) per agent
  • Keyword Triggers β€” ultrawork, deep research, explore codebase
  • Session History β€” Query past sessions to learn from previous work
  • Code Intelligence β€” Search symbols via LSP
  • Project Guidelines Auto-Update β€” Automatically keeps AGENTS.md and CLAUDE.md up-to-date
  • Todo Continuation β€” Auto-reminds when tasks are incomplete
  • Auto-Updates β€” Plugin and bundled skills update automatically; toast on new version

Why Zenox?

Most AI coding assistants use a single model for everything. Zenox takes a different approach:

  • Explorer finds code fast β€” optimized for codebase search with a lightweight model
  • Librarian digs deep into docs β€” researches libraries, finds GitHub examples, citations included
  • Oracle thinks strategically β€” architecture decisions, debugging, technical trade-offs
  • UI Planner designs beautifully β€” CSS, animations, interfaces that don't look AI-generated

The main agent automatically delegates to specialists when needed. You don't have to manage them.

Quick Start

bunx zenox install

That's it. Restart OpenCode and the agents are ready.

Agents

Agent What it does Default Model
Explorer Codebase grep, file discovery, pattern matching claude-haiku-4-5
Librarian Library research, docs lookup, GitHub examples claude-sonnet-4-6
Oracle Architecture decisions, debugging strategy, code review gpt-5.5 (variant medium)
UI Planner Frontend design, CSS, animations, visual polish gemini-3-pro-high

How delegation works

You don't need to call agents directly. The main agent (Build/Plan) automatically delegates:

You: "Where's the authentication logic?"
β†’ Explorer searches the codebase

You: "How does React Query handle caching?"
β†’ Librarian fetches official docs + real examples

You: "Should I use Redux or Zustand here?"
β†’ Oracle analyzes trade-offs for your codebase

You: "Make this dashboard look better"
β†’ UI Planner redesigns with proper aesthetics

Keyword Triggers

Include these magic words in your prompt to unlock special modes:

Keyword What it does
ultrawork or ulw Maximum multi-agent coordination β€” fires parallel background agents, sets max precision
deep research Comprehensive exploration β€” fires 3-4 background agents (explorer + librarian)
explore codebase Codebase mapping β€” multiple explorers search in parallel

Examples

You: "ultrawork - add authentication to this app"
β†’ ⚑ Ultrawork Mode activated
β†’ Fires explorer + librarian in parallel
β†’ Maximum precision engaged

You: "deep research how this project handles errors"
β†’ πŸ”¬ Deep Research Mode activated
β†’ Fires multiple explorers + librarians
β†’ Waits for comprehensive results before proceeding

You: "explore codebase for payment logic"
β†’ πŸ” Explore Mode activated
β†’ Multiple explorers search patterns, implementations, tests

You'll see a toast notification when these modes activate.

Skills

Zenox bundles OpenCode Agent Skills β€” focused expert workflows the agent loads on demand via the native skill tool.

Skill What it does
frontend-design Anthropic's official design philosophy for distinctive, production-grade UI that avoids generic "AI slop" aesthetics. Used by UI Planner.
grill-me Stress-tests a plan/design by interviewing you relentlessly, one decision at a time.

How skills are installed β€” fully automatic

You never need a manual step to get skills:

  • On zenox install β€” skills are copied to ~/.config/opencode/skills/.
  • On every startup β€” when Zenox auto-updates (or any time the plugin loads), it re-syncs the bundled skills so they always match the installed Zenox version. No zenox install re-run needed.

OpenCode auto-discovers SKILL.md files in that directory and exposes them to agents. The agent loads one with skill({ name: "frontend-design" }).

Your own skills are never touched

Zenox only manages skill folders it created itself (tracked via a .zenox.json manifest):

  • A skill you installed yourself is never modified or removed.
  • If you already have a skill named frontend-design or grill-me, Zenox leaves it alone β€” it will not override it.
  • If you edit a Zenox-managed skill, your edits are preserved (Zenox detects the change and skips it).

Manage skills

bunx zenox skills          # Install/update bundled skills
bunx zenox skills list     # List bundled skills
bunx zenox skills update   # Same as install (re-sync)

Disable bundled skills entirely in zenox.json (see Configuration).

Background Tasks

Need comprehensive research? Fire multiple agents in parallel:

background_task(agent="explorer", description="Find auth code", prompt="...")
background_task(agent="librarian", description="JWT best practices", prompt="...")

// Both run simultaneously while you keep working
// You're notified when all tasks complete

Toast Notifications

Zenox shows toast notifications for background task events:

  • ⚑ Task Launched β€” Shows task description and agent
  • βœ… Task Completed β€” Shows duration and remaining count
  • πŸŽ‰ All Complete β€” Shows summary of all finished tasks
  • ❌ Task Failed β€” Shows error message

Session History

Query past sessions to learn from previous work:

Tool What it does
session_list List recent sessions to find relevant past work
session_search Search messages across sessions for how something was done
You: "How did we implement auth last time?"
β†’ session_search({ query: "authentication" })
β†’ Finds excerpts from past sessions where auth was discussed

Code Intelligence

Search for symbols via LSP (Language Server Protocol):

Tool What it does
find_symbols Search for functions, classes, variables by name
lsp_status Check which language servers are running
You: "Find where handleLogin is defined"
β†’ find_symbols({ query: "handleLogin" })
β†’ Returns: Function in src/auth/handlers.ts, line 42

Todo Continuation

Zenox automatically reminds you to continue working when:

  • You have incomplete tasks in your todo list
  • The session goes idle
  • There's been enough time since the last reminder (10 second cooldown)

This keeps you on track without manual intervention. The agent will be prompted to continue until all todos are complete or blocked.

Project Guidelines Auto-Update

Zenox automatically keeps your AGENTS.md and CLAUDE.md files up-to-date with important decisions, patterns, and conventions.

The Problem

Developers forget to update documentation. Important decisions get lost. Team members repeat the same questions. Next session, the agent has no context.

The Solution

Zenox detects important decisions and automatically documents them:

You: "In this project, always use Zustand for state management"
β†’ Agent checks AGENTS.md β€” not documented yet
β†’ Agent saves: "- State Management: Use Zustand, not Redux"
β†’ Future sessions automatically know this

What Gets Documented

Trigger Example
User decision "Always use Tailwind", "We use this API pattern"
Architecture choice Agent decides between approaches after analysis
Reusable code Agent creates a utility worth reusing
Convention discovered Agent notices consistent patterns in codebase

How It Works

  1. Agent recognizes something important
  2. Reads AGENTS.md / CLAUDE.md to check if already documented
  3. If not there β†’ calls save_project_guideline to add it
  4. Both files get updated (or AGENTS.md created if neither exists)

Zero manual work β€” your project documentation stays current automatically.

Configuration

Custom Models

During installation, choose "Customize models" to pick your own. Or run later:

bunx zenox config

Config saves to ~/.config/opencode/zenox.json:

{
  "agents": {
    "explorer": { "model": "anthropic/claude-sonnet-4-6" },
    "oracle": { "model": "openai/gpt-5.5" }
  }
}

Thinking Mode Variants

Configure thinking/reasoning levels for models that support extended thinking (like Claude, GPT with reasoning, etc.):

{
  "agents": {
    "oracle": { 
      "model": "anthropic/claude-opus-4-5",
      "variant": "high"
    },
    "ui-planner": { 
      "model": "openai/gpt-5.5-codex",
      "variant": "xhigh"
    }
  }
}

Available variants (model-dependent):

  • low β€” Minimal thinking
  • medium β€” Balanced thinking
  • high β€” Extended thinking
  • xhigh β€” Extra high thinking
  • max β€” Maximum reasoning depth

Variants are applied safely β€” if an agent doesn't exist or the model doesn't support the variant, it gracefully falls back.

Disable Agents, MCPs, or Skills

{
  "disabled_agents": ["ui-planner"],
  "disabled_mcps": ["grep_app"],
  "disabled_skills": ["frontend-design", "grill-me"]
}

A skill listed in disabled_skills is never installed or synced. If it was previously installed by Zenox, it is left in place (Zenox won't auto-remove your files) β€” delete the folder manually if you want it gone.

Background Task Limits

Control how many background agents can run at once (guards against runaway fan-out that burns through your usage):

{
  "background": {
    "max_concurrent": 6,
    "max_per_session": 50
  }
}
  • max_concurrent β€” max agents running simultaneously (default 6)
  • max_per_session β€” lifetime cap per session, a circuit breaker for runaway loops (default 50)

When a limit is hit, the next background_task is rejected with a message telling the agent to wait and collect results β€” running tasks are never interrupted, no matter how long they take.

Included MCP Servers

Zenox auto-loads these tools for agents to use:

Server Purpose
exa Web search, docs lookup, URL crawling
grep_app Search millions of GitHub repos instantly
sequential-thinking Step-by-step reasoning for complex problems

CLI

bunx zenox install          # Add to opencode.json + configure models + install skills
bunx zenox install --no-tui # Non-interactive (uses defaults)
bunx zenox config           # Reconfigure models anytime
bunx zenox mcp              # Enable/disable MCP servers
bunx zenox skills           # Install/update bundled skills
bunx zenox skills list      # List bundled skills
bunx zenox --help           # Show all commands

Auto-Update

Zenox checks for updates on startup. When a new version drops:

  1. You see a toast notification
  2. Bun cache is invalidated
  3. Restart to get the update

When the new version loads, bundled skills are re-synced automatically β€” you don't need to run zenox install again to get updated skills.

Pin a version to disable: "zenox@1.2.1" in your plugins array.

Credits

License

MIT

About

OpenCode plugin for intelligent agent orchestration with specialized subagents and parallel background tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors