Skip to main content

Streaming & Events

Svantic supports real-time streaming via the A2A protocol’s SSE (Server-Sent Events) mechanism, enabling clients to receive progressive updates as tasks execute.

A2A Streaming

When a client sends a task to Svantic via message/stream, the response is an SSE stream of A2A events: A2A streaming sequence: client sends message/stream, receives SSE events for status updates, messages, artifacts, and completion

Event Types

TaskStatusUpdateEvent

Reports task lifecycle changes:

Message

An agent response containing one or more Parts:

TaskArtifactUpdateEvent

Emitted when the agent produces a tangible output — a file, a structured document, or a final result.

Consuming Streams

Using RemoteAgent (SDK)

Using the REST API

For direct HTTP access, use POST /send with method: "message/stream" — see the Using the API guide.

Event Conversion

Svantic’s internal engine events are automatically converted to A2A events by the EventConverter: