Major architectural refactoring: - Add OpenAgent as universal primary agent for questions, tasks, and workflows - Implement session-based context management with manifest tracking - Reorganize subagents into logical categories (code/core/utils) - Add dynamic context discovery and loading system - Introduce cleanup script for stale sessions - Update registry with new categorization (essential/standard/extended/specialized/meta) - Rename 'core' profile to 'essential' and add 'business' profile - Add comprehensive documentation with visual diagrams - Update installation script with new profiles Breaking changes: - Subagent paths changed from analysis/core to code/core/utils - Profile 'core' renamed to 'essential' (backward compatible) New features: - Session isolation for concurrent agent instances (.tmp/sessions/) - Automatic stale session cleanup (>24 hours) - Manifest-based context indexing and discovery - Business profile for content-focused workflows - OpenAgent with plan-approve-execute-validate-summarize workflow Components: 32 total (3 agents, 13 subagents, 8 commands, 2 tools, 2 plugins, 2 contexts, 2 config) Documentation: - docs/agents/openagent.md - Comprehensive guide with Mermaid diagrams - docs/guides/building-with-opencode.md - Power user formula - scripts/README.md - Script documentation - .opencode/context/core/context-management.md - Session management strategy
641 lines
18 KiB
JSON
641 lines
18 KiB
JSON
{
|
|
"version": "1.0.0",
|
|
"repository": "https://github.com/darrenhinde/opencode-agents",
|
|
"categories": {
|
|
"essential": "Minimal components for basic functionality",
|
|
"standard": "Standard components for typical use",
|
|
"extended": "Extended components for advanced features",
|
|
"specialized": "Specialized components for specific domains",
|
|
"meta": "Meta-level components for system generation"
|
|
},
|
|
"components": {
|
|
"agents": [
|
|
{
|
|
"id": "codebase-agent",
|
|
"name": "Codebase Agent",
|
|
"type": "agent",
|
|
"path": ".opencode/agent/codebase-agent.md",
|
|
"description": "Analyzes codebase patterns and architecture",
|
|
"tags": [
|
|
"analysis",
|
|
"architecture",
|
|
"patterns"
|
|
],
|
|
"dependencies": [
|
|
"subagent:task-manager",
|
|
"subagent:documentation",
|
|
"subagent:coder-agent",
|
|
"subagent:tester",
|
|
"subagent:reviewer",
|
|
"subagent:build-agent"
|
|
],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "openagent",
|
|
"name": "OpenAgent",
|
|
"type": "agent",
|
|
"path": ".opencode/agent/openagent.md",
|
|
"description": "Universal agent for answering queries, executing tasks, and coordinating workflows across any domain",
|
|
"tags": [
|
|
"universal",
|
|
"flexible",
|
|
"coordination"
|
|
],
|
|
"dependencies": [
|
|
"subagent:task-manager",
|
|
"subagent:documentation"
|
|
],
|
|
"category": "essential"
|
|
},
|
|
{
|
|
"id": "system-builder",
|
|
"name": "System Builder",
|
|
"type": "agent",
|
|
"path": ".opencode/agent/system-builder.md",
|
|
"description": "Generates complete context-aware AI systems from user requirements",
|
|
"tags": [
|
|
"system-generation",
|
|
"architecture",
|
|
"orchestration",
|
|
"meta"
|
|
],
|
|
"dependencies": [
|
|
"subagent:domain-analyzer",
|
|
"subagent:agent-generator",
|
|
"subagent:context-organizer",
|
|
"subagent:workflow-designer",
|
|
"subagent:command-creator"
|
|
],
|
|
"category": "meta"
|
|
}
|
|
],
|
|
"subagents": [
|
|
{
|
|
"id": "task-manager",
|
|
"name": "Task Manager",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/core/task-manager.md",
|
|
"description": "Breaks down complex features into small, verifiable subtasks",
|
|
"tags": [
|
|
"planning",
|
|
"organization",
|
|
"task-management"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
},
|
|
{
|
|
"id": "image-specialist",
|
|
"name": "Image Specialist",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/utils/image-specialist.md",
|
|
"description": "Generates and edits images using Gemini AI",
|
|
"tags": [
|
|
"images",
|
|
"ai",
|
|
"generation"
|
|
],
|
|
"dependencies": [
|
|
"tool:gemini"
|
|
],
|
|
"category": "utils"
|
|
},
|
|
{
|
|
"id": "reviewer",
|
|
"name": "Reviewer",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/code/reviewer.md",
|
|
"description": "Performs code review with security and quality checks",
|
|
"tags": [
|
|
"review",
|
|
"security",
|
|
"quality"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "tester",
|
|
"name": "Tester",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/code/tester.md",
|
|
"description": "Writes unit and integration tests",
|
|
"tags": [
|
|
"testing",
|
|
"tdd",
|
|
"quality"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "documentation",
|
|
"name": "Documentation Writer",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/core/documentation.md",
|
|
"description": "Creates and updates documentation",
|
|
"tags": [
|
|
"docs",
|
|
"documentation",
|
|
"writing"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
},
|
|
{
|
|
"id": "coder-agent",
|
|
"name": "Coder Agent",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/code/coder-agent.md",
|
|
"description": "Executes coding subtasks in sequence",
|
|
"tags": [
|
|
"coding",
|
|
"implementation",
|
|
"execution"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "build-agent",
|
|
"name": "Build Agent",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/code/build-agent.md",
|
|
"description": "Type checks and validates builds",
|
|
"tags": [
|
|
"build",
|
|
"validation",
|
|
"type-checking"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "codebase-pattern-analyst",
|
|
"name": "Codebase Pattern Analyst",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/code/codebase-pattern-analyst.md",
|
|
"description": "Analyzes and implements codebase patterns",
|
|
"tags": [
|
|
"patterns",
|
|
"analysis",
|
|
"architecture"
|
|
],
|
|
"dependencies": [],
|
|
"category": "specialized"
|
|
},
|
|
{
|
|
"id": "domain-analyzer",
|
|
"name": "Domain Analyzer",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/system-builder/domain-analyzer.md",
|
|
"description": "Analyzes user domains and recommends agent architectures",
|
|
"tags": [
|
|
"analysis",
|
|
"domain-modeling",
|
|
"architecture"
|
|
],
|
|
"dependencies": [],
|
|
"category": "meta"
|
|
},
|
|
{
|
|
"id": "agent-generator",
|
|
"name": "Agent Generator",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/system-builder/agent-generator.md",
|
|
"description": "Generates XML-optimized agent files following research-backed patterns",
|
|
"tags": [
|
|
"generation",
|
|
"xml-optimization",
|
|
"agents"
|
|
],
|
|
"dependencies": [],
|
|
"category": "meta"
|
|
},
|
|
{
|
|
"id": "context-organizer",
|
|
"name": "Context Organizer",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/system-builder/context-organizer.md",
|
|
"description": "Organizes and generates modular context files",
|
|
"tags": [
|
|
"context",
|
|
"organization",
|
|
"knowledge-management"
|
|
],
|
|
"dependencies": [],
|
|
"category": "meta"
|
|
},
|
|
{
|
|
"id": "workflow-designer",
|
|
"name": "Workflow Designer",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/system-builder/workflow-designer.md",
|
|
"description": "Designs complete workflow definitions with context dependencies",
|
|
"tags": [
|
|
"workflows",
|
|
"design",
|
|
"orchestration"
|
|
],
|
|
"dependencies": [],
|
|
"category": "meta"
|
|
},
|
|
{
|
|
"id": "command-creator",
|
|
"name": "Command Creator",
|
|
"type": "subagent",
|
|
"path": ".opencode/agent/subagents/system-builder/command-creator.md",
|
|
"description": "Creates custom slash commands with clear syntax and examples",
|
|
"tags": [
|
|
"commands",
|
|
"generation",
|
|
"cli"
|
|
],
|
|
"dependencies": [],
|
|
"category": "meta"
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"id": "test",
|
|
"name": "Test Pipeline",
|
|
"type": "command",
|
|
"path": ".opencode/command/test.md",
|
|
"description": "Run the complete testing pipeline",
|
|
"tags": [
|
|
"testing",
|
|
"ci",
|
|
"validation"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "commit",
|
|
"name": "Smart Commit",
|
|
"type": "command",
|
|
"path": ".opencode/command/commit.md",
|
|
"description": "Create intelligent git commits with context",
|
|
"tags": [
|
|
"git",
|
|
"commit",
|
|
"version-control"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "context",
|
|
"name": "Context Manager",
|
|
"type": "command",
|
|
"path": ".opencode/command/context.md",
|
|
"description": "Manage project context and documentation",
|
|
"tags": [
|
|
"context",
|
|
"documentation",
|
|
"management"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
},
|
|
{
|
|
"id": "clean",
|
|
"name": "Clean Project",
|
|
"type": "command",
|
|
"path": ".opencode/command/clean.md",
|
|
"description": "Clean build artifacts and temporary files",
|
|
"tags": [
|
|
"cleanup",
|
|
"maintenance",
|
|
"build"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "optimize",
|
|
"name": "Code Optimizer",
|
|
"type": "command",
|
|
"path": ".opencode/command/optimize.md",
|
|
"description": "Optimize code performance and bundle size",
|
|
"tags": [
|
|
"optimization",
|
|
"performance",
|
|
"build"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "prompt-enhancer",
|
|
"name": "Prompt Enhancer",
|
|
"type": "command",
|
|
"path": ".opencode/command/prompt-enchancer.md",
|
|
"description": "Enhance and improve AI prompts",
|
|
"tags": [
|
|
"prompts",
|
|
"ai",
|
|
"enhancement"
|
|
],
|
|
"dependencies": [],
|
|
"category": "standard"
|
|
},
|
|
{
|
|
"id": "worktrees",
|
|
"name": "Git Worktrees Manager",
|
|
"type": "command",
|
|
"path": ".opencode/command/worktrees.md",
|
|
"description": "Manage git worktrees for parallel development",
|
|
"tags": [
|
|
"git",
|
|
"worktrees",
|
|
"workflow"
|
|
],
|
|
"dependencies": [],
|
|
"category": "specialized"
|
|
},
|
|
{
|
|
"id": "build-context-system",
|
|
"name": "Build Context System",
|
|
"type": "command",
|
|
"path": ".opencode/command/build-context-system.md",
|
|
"description": "Interactive system builder for creating complete context-aware AI architectures",
|
|
"tags": [
|
|
"system-generation",
|
|
"interactive",
|
|
"architecture",
|
|
"meta"
|
|
],
|
|
"dependencies": [
|
|
"agent:system-builder"
|
|
],
|
|
"category": "meta"
|
|
}
|
|
],
|
|
"tools": [
|
|
{
|
|
"id": "gemini",
|
|
"name": "Gemini AI Tool",
|
|
"type": "tool",
|
|
"path": ".opencode/tool/gemini/index.ts",
|
|
"description": "Image generation, editing, and analysis using Gemini AI",
|
|
"tags": [
|
|
"ai",
|
|
"images",
|
|
"gemini"
|
|
],
|
|
"dependencies": [
|
|
"tool:env"
|
|
],
|
|
"category": "specialized"
|
|
},
|
|
{
|
|
"id": "env",
|
|
"name": "Environment Manager",
|
|
"type": "tool",
|
|
"path": ".opencode/tool/env/index.ts",
|
|
"description": "Load and manage environment variables securely",
|
|
"tags": [
|
|
"environment",
|
|
"config",
|
|
"security"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
}
|
|
],
|
|
"plugins": [
|
|
{
|
|
"id": "telegram-notify",
|
|
"name": "Telegram Notifications",
|
|
"type": "plugin",
|
|
"path": ".opencode/plugin/telegram-notify.ts",
|
|
"description": "Send notifications via Telegram bot",
|
|
"tags": [
|
|
"notifications",
|
|
"telegram",
|
|
"integration"
|
|
],
|
|
"dependencies": [
|
|
"tool:env"
|
|
],
|
|
"category": "specialized"
|
|
},
|
|
{
|
|
"id": "notify",
|
|
"name": "Generic Notifier",
|
|
"type": "plugin",
|
|
"path": ".opencode/plugin/notify.ts",
|
|
"description": "Generic notification system",
|
|
"tags": [
|
|
"notifications",
|
|
"alerts"
|
|
],
|
|
"dependencies": [],
|
|
"category": "specialized"
|
|
}
|
|
],
|
|
"contexts": [
|
|
{
|
|
"id": "essential-patterns",
|
|
"name": "Essential Patterns",
|
|
"type": "context",
|
|
"path": ".opencode/context/core/essential-patterns.md",
|
|
"description": "Core development patterns and best practices",
|
|
"tags": [
|
|
"patterns",
|
|
"best-practices",
|
|
"guidelines"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
},
|
|
{
|
|
"id": "project-context",
|
|
"name": "Project Context",
|
|
"type": "context",
|
|
"path": ".opencode/context/project/project-context.md",
|
|
"description": "Project-specific context and configuration",
|
|
"tags": [
|
|
"context",
|
|
"project",
|
|
"configuration"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
}
|
|
],
|
|
"config": [
|
|
{
|
|
"id": "env-example",
|
|
"name": "Environment Template",
|
|
"type": "config",
|
|
"path": "env.example",
|
|
"description": "Example environment configuration file",
|
|
"tags": [
|
|
"config",
|
|
"environment",
|
|
"template"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
},
|
|
{
|
|
"id": "readme",
|
|
"name": "README",
|
|
"type": "config",
|
|
"path": "README.md",
|
|
"description": "Project documentation and setup guide",
|
|
"tags": [
|
|
"documentation",
|
|
"readme",
|
|
"guide"
|
|
],
|
|
"dependencies": [],
|
|
"category": "essential"
|
|
}
|
|
]
|
|
},
|
|
"profiles": {
|
|
"essential": {
|
|
"name": "Essential (Minimal)",
|
|
"description": "Minimal starter kit - universal agent with core subagents. Great for learning the system or lightweight tasks. Upgrade to Developer or Business for full features.",
|
|
"components": [
|
|
"agent:openagent",
|
|
"subagent:task-manager",
|
|
"subagent:documentation",
|
|
"command:context",
|
|
"command:clean",
|
|
"tool:env",
|
|
"context:essential-patterns",
|
|
"context:project-context",
|
|
"config:env-example"
|
|
]
|
|
},
|
|
"developer": {
|
|
"name": "Developer",
|
|
"description": "Complete software development environment with code generation, testing, review, and build tools. Recommended for most developers.",
|
|
"badge": "RECOMMENDED",
|
|
"components": [
|
|
"agent:openagent",
|
|
"agent:codebase-agent",
|
|
"subagent:task-manager",
|
|
"subagent:documentation",
|
|
"subagent:coder-agent",
|
|
"subagent:reviewer",
|
|
"subagent:tester",
|
|
"subagent:build-agent",
|
|
"subagent:codebase-pattern-analyst",
|
|
"command:commit",
|
|
"command:test",
|
|
"command:context",
|
|
"command:clean",
|
|
"command:optimize",
|
|
"tool:env",
|
|
"context:essential-patterns",
|
|
"context:project-context",
|
|
"config:env-example",
|
|
"config:readme"
|
|
]
|
|
},
|
|
"business": {
|
|
"name": "Business",
|
|
"description": "Business process automation, content creation, and visual workflows. Includes image generation, notifications, and documentation tools.",
|
|
"components": [
|
|
"agent:openagent",
|
|
"subagent:task-manager",
|
|
"subagent:documentation",
|
|
"subagent:image-specialist",
|
|
"command:context",
|
|
"command:clean",
|
|
"command:prompt-enhancer",
|
|
"tool:env",
|
|
"tool:gemini",
|
|
"plugin:notify",
|
|
"plugin:telegram-notify",
|
|
"context:essential-patterns",
|
|
"context:project-context",
|
|
"config:env-example",
|
|
"config:readme"
|
|
]
|
|
},
|
|
"full": {
|
|
"name": "Full",
|
|
"description": "Everything included - all agents, subagents, tools, and plugins for maximum functionality.",
|
|
"components": [
|
|
"agent:openagent",
|
|
"agent:codebase-agent",
|
|
"subagent:task-manager",
|
|
"subagent:documentation",
|
|
"subagent:coder-agent",
|
|
"subagent:reviewer",
|
|
"subagent:tester",
|
|
"subagent:build-agent",
|
|
"subagent:codebase-pattern-analyst",
|
|
"subagent:image-specialist",
|
|
"command:test",
|
|
"command:commit",
|
|
"command:context",
|
|
"command:clean",
|
|
"command:optimize",
|
|
"command:prompt-enhancer",
|
|
"command:worktrees",
|
|
"tool:env",
|
|
"tool:gemini",
|
|
"plugin:notify",
|
|
"plugin:telegram-notify",
|
|
"context:essential-patterns",
|
|
"context:project-context",
|
|
"config:env-example",
|
|
"config:readme"
|
|
]
|
|
},
|
|
"advanced": {
|
|
"name": "Advanced (Meta-Level)",
|
|
"description": "Full installation plus System Builder for creating custom AI architectures. For power users and contributors.",
|
|
"components": [
|
|
"agent:openagent",
|
|
"agent:codebase-agent",
|
|
"agent:system-builder",
|
|
"subagent:task-manager",
|
|
"subagent:documentation",
|
|
"subagent:coder-agent",
|
|
"subagent:reviewer",
|
|
"subagent:tester",
|
|
"subagent:build-agent",
|
|
"subagent:codebase-pattern-analyst",
|
|
"subagent:image-specialist",
|
|
"subagent:domain-analyzer",
|
|
"subagent:agent-generator",
|
|
"subagent:context-organizer",
|
|
"subagent:workflow-designer",
|
|
"subagent:command-creator",
|
|
"command:test",
|
|
"command:commit",
|
|
"command:context",
|
|
"command:clean",
|
|
"command:optimize",
|
|
"command:prompt-enhancer",
|
|
"command:worktrees",
|
|
"command:build-context-system",
|
|
"tool:env",
|
|
"tool:gemini",
|
|
"plugin:notify",
|
|
"plugin:telegram-notify",
|
|
"context:essential-patterns",
|
|
"context:project-context",
|
|
"config:env-example",
|
|
"config:readme"
|
|
],
|
|
"additionalPaths": [
|
|
".Building/",
|
|
".github/workflows/"
|
|
]
|
|
}
|
|
},
|
|
"metadata": {
|
|
"lastUpdated": "2025-11-18",
|
|
"schemaVersion": "1.0.0"
|
|
}
|
|
}
|