Run repeatable processes with workflows, background execution, human review, and schedules.
Engineering and operations teams use workflows to automate processes that need consistent execution and a traceable result. Agno combines model-driven steps with branches, loops, parallel work, approval gates, background execution, schedules, and persisted run history.
incident_workflow.py
from agno.agent import Agentfrom agno.db.sqlite import SqliteDbfrom agno.workflow import Workflowtriage = 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.")
Create a virtual environment, install the OpenAI, AgentOS, and SQLite integrations, and set OPENAI_API_KEY before running the workflow: