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 operationServer → 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 endedProperties
| Property | Type |
|---|---|
workspace | string |
model | string |
maxTurns | number |
projectId | string |
organizationId | string |
superMode | boolean |
verbose | boolean |
autonomous | boolean |
testCommand | string |
resumeSessionId | string |
routingTable | `'gpt54-family' |
mode | import('@atloria/agent-core').TaskMode |
Was this page helpful?