""" Standalone workflow engine for structured tool-call sequences. Used by the MCP server (polyhedra CLI) for VS Code / Cursor integration. This is SEPARATE from the multi-agent Slack/CLI system in `agents/`. Entry point: server.py → polyhedra command. Do not import from this module in agents/ or messaging/. """ from polyhedra.agent.models import ( Intent, IntentType, Workflow, WorkflowStep, WorkflowResult, StepStatus ) from polyhedra.agent.intent_parser import IntentParser from polyhedra.agent.workflow_generator import WorkflowGenerator from polyhedra.agent.tool_adapter import ToolAdapter from polyhedra.agent.research_agent import ResearchAgent from polyhedra.agent.retry import RetryConfig, CircuitBreaker, retry_with_backoff from polyhedra.agent.checkpoint import CheckpointConfig, CheckpointManager, Checkpoint from polyhedra.agent.state import StateManager, WorkflowState from polyhedra.agent.config import AgentConfig __all__ = [ "Intent", "IntentType", "Workflow", "WorkflowStep", "WorkflowState", "WorkflowResult", "StepStatus", "IntentParser", "WorkflowGenerator", "ToolAdapter", "ResearchAgent", "RetryConfig", "CircuitBreaker", "retry_with_backoff", "CheckpointConfig", "CheckpointManager", "Checkpoint", "StateManager", "AgentConfig", ]