from agno.agent import Agent
from agno.db.sqlite import SqliteDb
from agno.workflow import Workflow
triage = Agent(
name="Triage",
model="openai:gpt-5.5",
instructions="Extract the issue, severity, and responsible team.",
)
action_plan = Agent(
name="Action Plan",
model="openai:gpt-5.5",
instructions="Turn the triage result into a short action plan.",
)
incident_workflow = Workflow(
name="Incident Triage",
steps=[triage, action_plan],
db=SqliteDb(db_file="tmp/workflows.db"),
)
incident_workflow.print_response(
"Checkout requests return HTTP 500 after the latest deployment."
)