An interactive AI system generator that creates complete .opencode architectures tailored to your domain.
Input: Your requirements (via interview)
Output: Complete AI system with agents, context, workflows, and commands
# Install Advanced profile (includes system builder)
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgentsControl/main/install.sh | bash -s advanced
What you get:
Already have developer or full profile? Add system builder:
# Run advanced profile
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgentsControl/main/install.sh | bash -s advanced
# When prompted about collisions:
# Choose: 1) Skip existing
# Result: Only system-builder components added
/build-context-system
Phase 1: Domain & Purpose
Phase 2: Use Cases
Phase 3: Complexity & Scale
Phase 4: Integrations
Phase 5: Review & Confirm
Generated structure:
.opencode/
├── agent/
│ ├── {your-domain}-orchestrator.md # Main coordinator
│ └── subagents/
│ ├── {specialist-1}.md
│ ├── {specialist-2}.md
│ └── {specialist-3}.md
├── context/
│ ├── domain/ # Your domain knowledge
│ ├── processes/ # Your workflows
│ ├── standards/ # Quality rules
│ └── templates/ # Reusable patterns
├── workflows/
│ ├── {workflow-1}.md
│ └── {workflow-2}.md
├── command/
│ ├── /{custom-command-1}.md
│ └── /{custom-command-2}.md
└── README.md # Usage guide
$ /build-context-system
## Building Your Context-Aware AI System
I'll guide you through creating a complete .opencode system tailored to your needs.
**Process Overview**:
- Phase 1: Domain & Purpose (2-3 questions)
- Phase 2: Use Cases & Workflows (3-4 questions)
- Phase 3: Complexity & Scale (2-3 questions)
- Phase 4: Integration & Tools (2-3 questions)
- Phase 5: Review & Confirmation
Let's begin! 🚀
---
**Question 1:** What is your primary domain or industry?
> E-commerce and online retail
**Question 2:** What is the primary purpose of your AI system?
> Automate order processing and customer support workflows
**Question 3:** Who are the primary users?
> Customer support teams and operations managers
---
## Domain Type Detected: business
Your domain is **business-focused**.
I'll adapt questions to cover:
- Business processes to automate
- Reports and documents to generate
- Customer touchpoints and workflows
- Compliance and quality requirements
---
**Question 4:** What are your top 3-5 use cases?
> 1. Process customer orders from multiple channels
> 2. Triage and route support tickets
> 3. Generate daily sales reports
> 4. Handle returns and refunds
> 5. Send order status notifications
**Question 5:** For each use case, what is the typical complexity?
> 1. Moderate - multi-step with some decision points
> 2. Moderate - requires categorization and routing
> 3. Simple - straightforward data aggregation
> 4. Complex - multiple approvals and state tracking
> 5. Simple - template-based notifications
---
[... more questions ...]
---
## System Architecture Summary
**Domain**: E-commerce Operations
**Purpose**: Automate order processing and customer support
**Users**: Support teams, operations managers
**System Components**:
### Agents (5)
1. **ecommerce-orchestrator** - Main coordinator
2. **order-processor** - Handles order workflows
3. **ticket-router** - Triages support tickets
4. **report-generator** - Creates sales reports
5. **notification-sender** - Sends customer updates
### Context Files (12)
- Domain: order-types, customer-data, product-catalog
- Processes: order-workflow, ticket-routing, refund-process
- Standards: quality-criteria, validation-rules
- Templates: email-templates, report-formats
### Workflows (5)
- process-order
- route-ticket
- generate-report
- handle-refund
- send-notification
### Custom Commands (5)
- /process-order {order_id}
- /route-ticket {ticket_id}
- /generate-report {type} {date}
- /handle-refund {order_id}
- /notify-customer {order_id} {status}
---
**Does this architecture meet your needs?**
Options:
- ✅ Proceed - Generate the complete system
- 🔄 Revise - Adjust specific components
- ❌ Cancel - Start over
> ✅ Proceed
---
▶ Generating system...
✓ Generated ecommerce-orchestrator
✓ Generated 4 specialized agents
✓ Generated 12 context files
✓ Generated 5 workflows
✓ Generated 5 custom commands
✓ Generated documentation
## ✅ Your Context-Aware AI System is Ready!
**System**: E-commerce Operations AI System
**Location**: `.opencode/`
**Files Created**: 32
### 🚀 Quick Start
**Test your main command:**
/process-order "ORD-12345"
**Review your orchestrator:**
cat .opencode/agent/ecommerce-orchestrator.md
**Your system is production-ready!** 🎉
/build-context-system
Domain: Software Development
Purpose: Automate code review and testing
Result: Custom dev workflow system
/build-context-system
Domain: Customer Support
Purpose: Automate ticket routing and responses
Result: Custom support automation system
/build-context-system
Domain: Data Engineering
Purpose: Automate ETL pipelines and validation
Result: Custom data pipeline system
/build-context-system
Domain: Content Marketing
Purpose: Generate and schedule content
Result: Custom content workflow system
When you install advanced profile, you get:
System Builder Components:
system-builder (agent) - Main orchestratordomain-analyzer (subagent) - Analyzes domainsagent-generator (subagent) - Creates agentscontext-organizer (subagent) - Organizes contextworkflow-designer (subagent) - Designs workflowscommand-creator (subagent) - Creates commandsbuild-context-system (command) - Interactive interfacePlus all development tools:
SYSTEM_BUILDER_REGISTRATION.md.opencode/agent/system-builder.md.opencode/command/build-context-system.mdInstallation:
curl -fsSL https://raw.githubusercontent.com/darrenhinde/OpenAgentsControl/main/install.sh | bash -s advanced
Usage:
/build-context-system
Result: Complete custom AI system tailored to your domain! 🎉
Ready to build your own AI system? Install advanced profile and run /build-context-system!