Skip to content

feat: add Workflow mode to chat with AgentOS workflows#144

Open
bastiancgn wants to merge 1 commit into
agno-agi:mainfrom
bastiancgn:feature/workflow-mode
Open

feat: add Workflow mode to chat with AgentOS workflows#144
bastiancgn wants to merge 1 commit into
agno-agi:mainfrom
bastiancgn:feature/workflow-mode

Conversation

@bastiancgn

Copy link
Copy Markdown

Adds a third mode "Workflow" in the sidebar (next to Agent / Team). You pick a workflow from the list and chat with it like with agents/teams — same behaviour as in the cloud UI.

Changes:

  • ModeSelector: new "Workflow" option, selection in URL as ?workflow=...
  • API: GET /workflows and POST /workflows/{workflow_id}/runs; sessions use type=workflow and component_id
  • Store + hooks: workflows state, fetch on init, stream handler hits workflow run endpoint when mode is workflow
  • Sessions sidebar: workflow sessions listed/loaded via entityType: 'workflow'

Streaming uses the same events as agent/team (RunStarted, RunContent, RunCompleted). Tested against an AgentOS instance with workflows (e.g. investment-team); select Workflow, pick one, send a message and check streaming + session persistence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant