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!