Skip to content

A sophisticated AI Agent Orchestration System using the SPARC methodology. It coordinates 46 specialized AI agents through a verifiable workflow with Cognitive Triangulation, ensuring alignment with user intent from specification to completion.

Notifications You must be signed in to change notification settings

jayfoeelite/custom-agents-orchestrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Custom Agents Orchestrator

A sophisticated AI Agent Orchestration System implementing the SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) methodology with advanced Cognitive Triangulation, RULER-based quality evaluation, and specialized domain agents.

🌟 Overview

This project coordinates multiple specialized AI agents to collaboratively design, implement, test, and validate complex software projects through a structured, verifiable workflow that ensures alignment with user intent at every stage.

✨ Key Features

πŸ—οΈ SPARC Methodology Framework

  • Specification Phase: Comprehensive requirements gathering and acceptance criteria
  • Pseudocode Phase: Language-agnostic logical blueprints
  • Architecture Phase: High-level system design with resilience patterns
  • Refinement Phase: Iterative TDD implementation with quality gates
  • Completion Phase: Documentation, maintenance, and final verification

πŸ”€ Cognitive Triangulation

Multi-stage verification ensuring alignment between:

  • User's Core Intent β†’ User Stories β†’ Specifications β†’ Pseudocode β†’ Architecture β†’ Implementation β†’ Tests
  • Enforced by the Devil's Advocate agent at critical checkpoints
  • Prevents requirement drift and ensures implementation fidelity

πŸ“Š RULER Quality Evaluation

  • LLM-as-Judge methodology for comparative quality assessment
  • Generates multiple implementation trajectories
  • Ranks solutions based on efficiency, clarity, and maintainability
  • Ensures optimal implementation selection

πŸ€– 46 Specialized Agent Modes

Orchestrators (11 agents)

  • uber-orchestrator: Master conductor managing overall project flow
  • orchestrator-goal-clarification: Intent validation and synthesis
  • orchestrator-sparc-*-phase: Phase-specific coordinators (Specification, Pseudocode, Architecture)
  • orchestrator-sparc-refinement-*: Testing and implementation managers
  • orchestrator-sparc-completion-*: Documentation and maintenance coordinators
  • orchestrator-simulation-synthesis: Multi-method verification orchestrator
  • orchestrator-state-scribe: Intelligent state interpreter and recorder

Workers (9 agents)

  • spec-writer-comprehensive: Modular specification creation
  • spec-writer-from-examples: User story extraction from examples
  • pseudocode-writer: Detailed logic blueprints
  • coder-test-driven: TDD implementation specialist
  • coder-framework-boilerplate: Project scaffolding generator
  • tester-tdd-master: Test implementation expert
  • tester-acceptance-plan-writer: High-level test strategy
  • docs-writer-feature: Feature documentation specialist
  • research-planner-strategic: Adaptive multi-arc research strategist

Validators & Auditors (5 agents)

  • devils-advocate-critical-evaluator: Cognitive Triangulation enforcer
  • auditor-concurrency-safety: Race condition detector
  • auditor-financial-logic: Capital & risk validator
  • validator-api-integration: External dependency verifier
  • validator-performance-constraint: Sub-100ms latency enforcer

Quality & Analysis (4 agents)

  • ruler-quality-evaluator: LLM-as-judge quality arbiter
  • bmo-system-model-synthesizer: As-built system documentation
  • bmo-holistic-intent-verifier: Final triangulation verifier
  • optimizer-module: Code quality and performance enhancement

Domain Specialists (17 agents)

Financial trading and specialized vertical agents including performance fee calculators, client portal generators, audit trail recorders, and more.

πŸš€ Getting Started

Prerequisites

  • Python 3.7+ (for validation tooling)
  • Git
  • RooCode or compatible AI coding assistant

Installation

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/custom-agents-orchestrator.git
cd custom-agents-orchestrator
  1. Install Python dependencies for tooling:
pip install -r tools/requirements.txt
  1. (Optional) Validate agent definitions:
python tools/validate-agents.py

πŸ“ Project Structure

custom-agents-orchestrator/
β”œβ”€β”€ agents/                    # 46 agent YAML definitions
β”œβ”€β”€ docs/                      # Documentation
β”‚   β”œβ”€β”€ research/             # Research findings and decisions
β”‚   β”œβ”€β”€ TUTORIAL.md          # Interactive tutorial
β”‚   β”œβ”€β”€ UBER_ORCHESTRATOR_MODE_DELEGATION_GUIDE.md
β”‚   └── project_plan.md      # Implementation roadmap
β”œβ”€β”€ memory-bank/              # Project context and state
β”‚   β”œβ”€β”€ productContext.md
β”‚   β”œβ”€β”€ activeContext.md
β”‚   β”œβ”€β”€ systemPatterns.md
β”‚   β”œβ”€β”€ decisionLog.md
β”‚   └── progress.md
β”œβ”€β”€ schemas/                  # JSON Schema for validation
β”‚   └── agent-mode-schema.json
β”œβ”€β”€ tools/                    # Validation and analysis tools
β”‚   β”œβ”€β”€ validate-agents.py
β”‚   β”œβ”€β”€ generate-dependency-graph.py
β”‚   └── merge-agents.py
β”œβ”€β”€ SETUP_GUIDE.md           # Detailed setup instructions
└── validation_report.md     # Agent validation results

πŸ› οΈ Usage

Working with Agent Modes

All 46 agent modes are defined in the agents/ directory as YAML files. Each agent has:

  • Unique slug identifier
  • Role definition
  • Custom instructions
  • Group permissions
  • Communication protocols

Validation Tools

Validate all agents:

python tools/validate-agents.py

Generate dependency graph:

python tools/generate-dependency-graph.py

Merge agents for RooCode:

python tools/merge-agents.py

Agent Communication Protocol

All agents use standardized routing headers:

To: [recipient-agent-slug]
From: [sender-agent-slug]

πŸ“š Documentation

πŸ”„ Workflow

  1. Goal Clarification: uber-orchestrator β†’ orchestrator-goal-clarification
  2. Research & Planning: β†’ research-planner-strategic
  3. Triangulation Check #0: β†’ devils-advocate-critical-evaluator
  4. Specification Phase: β†’ orchestrator-sparc-specification-phase
  5. Pseudocode Phase: β†’ orchestrator-sparc-pseudocode-phase
  6. Architecture Phase: β†’ orchestrator-sparc-architecture-phase
  7. Refinement Loop (per feature):
    • orchestrator-sparc-refinement-testing
    • orchestrator-sparc-refinement-implementation
  8. Ultimate Triangulation Audit:
    • bmo-system-model-synthesizer
    • bmo-holistic-intent-verifier
  9. Final Verification: β†’ orchestrator-simulation-synthesis

πŸ§ͺ Testing Strategy

  • State-Based Classical TDD: Focus on observable outcomes
  • Multi-Methodology: Unit, Integration, Property-Based, Chaos, Metamorphic
  • No Mock Internal Collaborators: Maximize refactoring flexibility
  • Comprehensive Coverage: Edge cases, error scenarios, performance constraints

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Validate your changes (python tools/validate-agents.py)
  4. Commit your changes (git commit -m 'Add amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a Pull Request

πŸ“Š Project Status

  • βœ… Phase 1: Agent Definition & Validation (Complete)
  • βœ… Validation Tooling (Complete)
  • βœ… Documentation & Tutorial (Complete)
  • βœ… RooCode Integration (Complete)
  • πŸ”„ Phase 2: Full Automation via Anthropic API (In Planning)

See V2_IMPLEMENTATION_STATUS.md for detailed progress.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built on the SPARC methodology
  • Implements Cognitive Triangulation principles
  • Uses RULER (LLM-as-Judge) quality evaluation
  • Powered by RooCode AI coding assistant

πŸ“§ Contact

For questions, issues, or contributions, please open an issue on GitHub.


Note: This is an intelligent orchestration system for AI-assisted software development. It requires understanding of AI agent workflows and the SPARC methodology for effective use.

About

A sophisticated AI Agent Orchestration System using the SPARC methodology. It coordinates 46 specialized AI agents through a verifiable workflow with Cognitive Triangulation, ensuring alignment with user intent from specification to completion.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published