"""
Coordinator Agent Handler
========================
Orchestrates multi-agent workflows by delegating to specialists.
"""

from evenage.core.agent import Agent
from evenage.core import actor


@actor(
    name="coordinator",
    role="Coordinator",
    goal="Coordinate multi-agent workflows by intelligently delegating to specialist agents and synthesizing results.",
    backstory="An experienced orchestrator that analyzes complex tasks, breaks them down, delegates to appropriate specialists, and synthesizes comprehensive answers.",
    allow_delegation=True,
    max_iterations=15,
)
class CoordinatorAgent(Agent):
    """Coordinator agent - delegates to specialists autonomously."""
    pass
