A conversation request has two lanes. The live lane streams output to Studio over SSE. The durable lane records messages, run status, and run events in the API.Documentation Index
Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Main steps
- Studio writes conversation state: Studio uses REST routes for conversations, messages, branches, participants, and read state.
- Studio starts agent work: Studio calls an AG-UI route on
veryfront-agentfor default chat, or starts a canonical run before attaching to the run SSE stream for project-agent work. - The agent validates context:
veryfront-agentauthenticates the bearer token, validates the request body, and checks project access when the request has a project. - The durable run starts: The agent creates or reuses a durable run through the API. In durable root-run flows, it persists the latest user message before creating the run.
- Output streams live: AG-UI chunks update Studio over SSE while the model or project runtime runs.
- Events persist durably: The mirror converts stream chunks into run events and appends them through REST.
- Streams resume from durable events: Studio attaches to
/conversations/{conversation_id}/runs/{run_id}/streamwithLast-Event-IDwhen it needs replay after a reconnect. - Clients catch up: Studio listens for WebSocket lifecycle notifications, then reads current state through REST when needed.