from enum import Enum class AgentState(str, Enum): IDLE = "idle" RUNNING = "running" COMPLETE = "complete" FAILED = "failed"