Skip to content

AgentStartPayload

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/apps/api/src/agent/agent.types.ts

Agent WebSocket Protocol Types

Defines the event contract between frontend and backend for real-time agent sessions. Mirrors the CLI experience over WebSocket.

Client → Server: agent

— Create a new session agent
— Send a message to the agent agent
— Inject a message mid-task agent
— Cancel the current operation

Server → Client: agent

— Agent is processing agent
— Tool call started agent
— Tool call completed agent
— Agent text output (streamed or full) agent
— Todo list updated agent
— Turn completed with usage stats agent
— Error occurred agent
— Session ended

Properties

PropertyType
workspacestring
modelstring
maxTurnsnumber
projectIdstring
organizationIdstring
superModeboolean
verboseboolean
autonomousboolean
testCommandstring
resumeSessionIdstring
routingTable`'gpt54-family'
modeimport('@atloria/agent-core').TaskMode

Was this page helpful?

Download as PDF