MoE Orchestrator for Document Classification.
Coordinates the full classification pipeline:
- Run all analysts in parallel
- Calculate consensus from votes
- Run judges for validation
- Produce final classification with audit trail
Per ADR-019: Multi-agent orchestration with parallel execution.
File: orchestrator.py
Classes
OrchestratorConfig
Configuration for the MoE orchestrator.
OrchestratorStats
Statistics from orchestration run.
MoEOrchestrator
Mixture of Experts Orchestrator for document classification.
Functions
create_default_orchestrator()
Create an orchestrator with default analysts and judges.
classify(document)
Classify a single document through the full MoE pipeline.
classify_batch(documents, progress_callback)
Classify multiple documents.
get_stats()
Get orchestrator statistics.
reset_stats()
Reset statistics.