Download src/polyhedra/agent/__init__.py from polyHedra/PolyHedra: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/spaces/polyHedra/PolyHedra/resolve/main/src/polyhedra/agent/__init__.py
- Command line
-
hf download hf://spaces/polyHedra/PolyHedra/src/polyhedra/agent/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/polyHedra/PolyHedra/resolve/main/src/polyhedra/agent/__init__.py
1.37 kB
| """ | |
| 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", | |
| ] | |