"""
Sequential workflow definition

NOTE: This is a demonstration file. The runtime (main.py) auto-detects agents
and chains them sequentially if no coordinator is present. You can customize
this workflow if you need specific agent ordering or configuration.
"""
from __future__ import annotations

from evenage import Workflow
from agents.researcher import researcher

# Optional: import other agents if you have them
# from agents.analyst import analyst
# from agents.writer import writer

sequential_workflow = Workflow(
    name="sequential_research_pipeline",
    description="Sequential workflow for research, analysis, and writing"
)

# Define the sequence - add agents in the order you want them to run
sequential_workflow.add_node(researcher)
# sequential_workflow.add_node(analyst, next="writer")
# sequential_workflow.add_node(writer)

# Optional runtime config (used by environment/backends)
sequential_workflow.configure(
    trace_db="postgresql://evenage:evenage@postgres:5432/evenage",
    artifact_storage="minio://minioadmin:minioadmin123@minio:9000/artifacts",
    dashboard_port=5173,
)
