terraphim_orchestrator 1.16.34

AI Dark Factory orchestrator wiring spawner, router, supervisor into a reconciliation loop
Documentation

Multi-agent orchestration with scheduling, budgeting, and compound review.

This crate provides the core orchestration engine for managing fleets of AI agents with features for resource scheduling, cost tracking, and coordinated review workflows.

Core Components

  • AgentOrchestrator: Main orchestrator running the "dark factory" pattern
  • DualModeOrchestrator: Real-time and batch processing modes with fairness scheduling
  • CompoundReviewWorkflow: Multi-agent review swarm with persona-based specialization
  • Scheduler: Time-based and event-driven task scheduling
  • HandoffBuffer: Inter-agent state transfer with TTL management
  • CostTracker: Budget enforcement and spending monitoring
  • NightwatchMonitor: Drift detection and rate limiting

Example

use terraphim_orchestrator::{AgentOrchestrator, OrchestratorConfig};

# async fn example() -> Result<(), Box<dyn std::error::Error>> {
let config = OrchestratorConfig::default();
let mut orchestrator = AgentOrchestrator::new(config).await?;

// Run the orchestration loop
orchestrator.run().await?;
# Ok(())
# }