Created
April 5, 2026 13:58
-
-
Save rothnic/f2d88e9463fd58f0afd16b9426751d39 to your computer and use it in GitHub Desktop.
Weave Multi-Agent Orchestration Configuration - anonymized example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| // Weave Multi-Agent Orchestration Configuration | |
| // Docs: https://tryweave.io/ | |
| // Agent model overrides - customize per-agent behavior | |
| "agents": { | |
| "loom": { | |
| // Main orchestrator | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "skills": [ | |
| "weave-usage", | |
| "weave-workflows", | |
| "task-init", | |
| "agentic-coding", | |
| "model-orchestration" | |
| ], | |
| "prompt_append": "You are the main orchestrator. Assess task complexity and delegate appropriately. Follow BDD/Spec-Driven Development: define functional requirements through BDD scenarios before implementation, design stable interfaces for verification, ensure every requirement is traceable to tests." | |
| }, | |
| "pattern": { | |
| // Strategic planner - can use lighter model for planning | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.2, | |
| "skills": [ | |
| "task-init", | |
| "agentic-coding", | |
| "solution-discovery" | |
| ], | |
| "prompt_append": "You are a strategic planner. Create structured plans with checkboxed tasks. Each plan should define: 1) Functional requirements in BDD style (Given/When/Then), 2) Technical approach enabling future rearchitecture, 3) Test strategy ensuring requirements are verifiable. Plans must be implementation-agnostic regarding technology when possible, focusing on stable functional requirements." | |
| }, | |
| "thread": { | |
| // Codebase explorer - fast, read-only | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.0, | |
| "skills": [ | |
| "code-intelligence", | |
| "roam", | |
| "ls-lint" | |
| ], | |
| "prompt_append": "You are a fast, read-only codebase explorer. Use ripgrep for searches. Identify code patterns, find relevant files, and provide precise answers with file paths and line numbers. When exploring, look for existing patterns and conventions. Report findings concisely." | |
| }, | |
| "spindle": { | |
| // External researcher | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "skills": [ | |
| "solution-discovery", | |
| "code-intelligence" | |
| ], | |
| "prompt_append": "You are an external researcher. Fetch documentation, read APIs, and synthesize findings with source citations. When researching solutions, consider existing libraries and patterns before recommending custom implementations. Provide concise summaries with references." | |
| }, | |
| "weft": { | |
| // Plan/code reviewer - slightly more critical | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.0, | |
| "skills": [ | |
| "agentic-coding", | |
| "git-workflow", | |
| "code-intelligence", | |
| "gh-cli" | |
| ], | |
| "prompt_append": "You are a quality reviewer. Verify that implementations match functional requirements defined in BDD scenarios. Check that tests exist for each requirement. Review code for type safety, error handling, and adherence to patterns. Approval-biased: only reject for genuine blocking issues. When reviewing PRs, use gh-cli for GitHub operations." | |
| }, | |
| "warp": { | |
| // Security auditor - conservative | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.0, | |
| "prompt_append": "You are a security auditor with skeptical bias. Audit for vulnerabilities: injection attacks, authentication flaws, data exposure, insecure dependencies, secrets in code. Reject by default on security patterns. Be thorough and skeptical. Follow security best practices without relying on potentially outdated skill knowledge." | |
| }, | |
| "tapestry": { | |
| // Execution engine | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "skills": [ | |
| "agentic-coding", | |
| "weave-workflows", | |
| "git-workflow", | |
| "ls-lint", | |
| "code-intelligence" | |
| ], | |
| "prompt_append": "You are an execution engine implementing plans step-by-step. Verify each task against functional requirements. Write tests that verify BDD scenarios before implementation. Prefer stable interfaces that allow swapping implementations. Run linting and type checking after changes. Mark checkboxes as you complete tasks." | |
| }, | |
| "shuttle": { | |
| // Category specialist | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "skills": [ | |
| "agentic-coding", | |
| "git-workflow", | |
| "gh-cli", | |
| "roam" | |
| ], | |
| "prompt_append": "You are a domain specialist handling delegated coding tasks. Follow existing code patterns. Use gh-cli for GitHub operations. Before writing code, verify functional requirements are defined and traceable to tests. Prefer stable interfaces over implementation details. Run tests before marking tasks complete." | |
| } | |
| }, | |
| // Custom agents with specialized domains | |
| "custom_agents": { | |
| "opencode-specialist": { | |
| "display_name": "OpenCode Specialist", | |
| "description": "Expert in OpenCode configuration, plugin architecture, skill development, and the OpenCode ecosystem", | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "mode": "subagent", | |
| "category": "specialist", | |
| "cost": "CHEAP", | |
| "skills": [ | |
| "opencode-config", | |
| "opencode-tools", | |
| "opencode-agents", | |
| "opencode-advanced-automation", | |
| "opencode-tools-ecosystem", | |
| "opencode-skills-guide", | |
| "custom-skill-creator", | |
| "skill-creator", | |
| "find-skills", | |
| "create-opencode-plugin" | |
| ], | |
| "prompt_append": "You are an OpenCode ecosystem specialist. When modifying OpenCode configuration, always validate JSONC syntax. Prefer progressive disclosure in skill design. When creating skills, use the skill-creator patterns. For plugin development, follow the create-opencode-plugin patterns. Follow BDD principles: specs as source of truth, stable interfaces for verification.", | |
| "triggers": [ | |
| { | |
| "domain": "OpenCode Configuration", | |
| "trigger": "Editing opencode.jsonc, configuring agents, setting up MCP servers, managing plugins" | |
| }, | |
| { | |
| "domain": "Skill Development", | |
| "trigger": "Creating new skills, updating existing skills, scaffolding skill structure, skill packaging" | |
| }, | |
| { | |
| "domain": "Plugin Development", | |
| "trigger": "Building OpenCode plugins, plugin hooks, tool execution interception, auth providers" | |
| }, | |
| { | |
| "domain": "OpenCode Tools", | |
| "trigger": "Creating custom tools, tool() API usage, tool validation, error handling in tools" | |
| } | |
| ] | |
| }, | |
| "skill-creator": { | |
| "display_name": "Skill Creator", | |
| "description": "Specialist in skill development, packaging, and best practices for the agent skills ecosystem", | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "mode": "subagent", | |
| "category": "specialist", | |
| "cost": "CHEAP", | |
| "skills": [ | |
| "skill-creator", | |
| "custom-skill-creator", | |
| "find-skills", | |
| "opencode-skills-guide" | |
| ], | |
| "prompt_append": "You are a skill development specialist. Follow the skill-creator skill patterns: use init_skill.py for scaffolding, keep SKILL.md under 500 lines, use progressive disclosure with references/, include only essential files. Always validate skills before packaging. Test scripts before including them.", | |
| "triggers": [ | |
| { | |
| "domain": "Skill Development", | |
| "trigger": "Creating new skills from scratch, designing skill structure, planning skill contents" | |
| }, | |
| { | |
| "domain": "Skill Packaging", | |
| "trigger": "Packaging skills for distribution, validating skill structure, creating .skill files" | |
| }, | |
| { | |
| "domain": "Skill Iteration", | |
| "trigger": "Improving existing skills, adding features to skills, fixing skill bugs" | |
| }, | |
| { | |
| "domain": "Skill Discovery", | |
| "trigger": "Finding existing skills, searching skill registry, discovering available capabilities" | |
| } | |
| ] | |
| }, | |
| "browser-automation": { | |
| "display_name": "Browser Automation", | |
| "description": "Specialist in web automation, browser interaction, form filling, data extraction, and testing using agent-browser", | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.1, | |
| "mode": "subagent", | |
| "category": "specialist", | |
| "cost": "CHEAP", | |
| "skills": [ | |
| "agent-browser" | |
| ], | |
| "prompt_append": "You are a browser automation specialist using agent-browser. Always follow the snapshot pattern: open → snapshot -i → interact → re-snapshot. Use refs (@e1, @e2) from snapshots for interaction. Chain commands with && when you don't need intermediate output. Use --session-name for concurrent sessions. Always close browser when done.", | |
| "triggers": [ | |
| { | |
| "domain": "Web Automation", | |
| "trigger": "Opening websites, filling forms, clicking buttons, taking screenshots, scraping data, testing web apps" | |
| }, | |
| { | |
| "domain": "Browser Tasks", | |
| "trigger": "Login to sites, automated browsing, web testing, UI interaction, data extraction from web pages" | |
| }, | |
| { | |
| "domain": "Web Scraping", | |
| "trigger": "Extracting data from websites, crawling pages, capturing web content" | |
| } | |
| ] | |
| } | |
| }, | |
| // Category-based model dispatch for specialized tasks | |
| "categories": { | |
| "visual-engineering": { | |
| // Tasks involving UI/UX, diagrams, visual design | |
| "model": "anthropic/claude-sonnet-4.6" | |
| }, | |
| "docs": { | |
| // Documentation and prose writing | |
| "model": "kimi-for-coding/k2p5", | |
| "temperature": 0.2 | |
| } | |
| }, | |
| // Skills - inject domain expertise via markdown files | |
| // Place skill files in ~/.config/opencode/skills/ or project .opencode/skills/ | |
| "skills": { | |
| // Auto-discover skills from skill directories | |
| "autoDiscover": true, | |
| // Additional skill paths to load | |
| "paths": [] | |
| }, | |
| // Feature toggles - disable specific components if needed | |
| "disabled_hooks": [], | |
| "disabled_agents": [], | |
| // Concurrency settings | |
| "concurrency": { | |
| // Max parallel subagents | |
| "maxParallel": 3, | |
| // Rate limiting between agent calls (ms) | |
| "rateLimitDelay": 100 | |
| }, | |
| // Token management | |
| "tokens": { | |
| // Warning threshold (% of context window) | |
| "warningThreshold": 0.8, | |
| // Recovery threshold (% of context window) | |
| "recoveryThreshold": 0.95 | |
| }, | |
| // Workflow configuration | |
| "workflow": { | |
| // Require explicit plan approval before execution | |
| "requirePlanApproval": false, | |
| // Auto-run review after execution | |
| "autoReview": true, | |
| // Auto-run security audit after execution | |
| "autoSecurityAudit": true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment