Desktop reference

Events

What a TALOS Desktop session streams: the AG-UI events, the events TALOS adds, and the stream of a workflow run.

Reference for TALOS Desktop 0.2.4 generated from the source of the release · released

A session streams what happens in it as it happens: GET /api/v1/sessions/{sessionId}/events (server-sent events, see Local API). The events follow the AG-UI protocol; TALOS adds its own, marked below. A field TALOS adds to a standard event is optional for a client that does not know it.

On connection the stream first replays what the session already recorded, then continues live; talos.fine-rigiocata marks the boundary.

RunStarted

AG-UI

A turn of the model starts.

threadId
The session.
runId
The turn.
inputoptional
What the turn was started with.
contestooptional
Where it runs: { progetto, cartella, branch }.

RunFinished

AG-UI

The turn ended well.

threadId
The session.
runId
The turn.
outcomeoptional
{ type: "success" }.
resultoptional
{ detto, compattazioni, premesseNegate, usage }: the final answer, how many compactions happened, the premises the model denied, and the token usage (null when no provider reported it).

RunError

AG-UI

The turn ended without success: an error, a stop, or the turn limit.

messageoptional
What happened, in words.
codeoptional
How it ended (for example fermato for a stop), or an error code.
classeoptional
The kind of provider failure, when the kernel classified it.
messageChiaveoptional
The key of the sentence in the interface’s dictionary, so the window says message in your language.
messageParamsoptional
The values that sentence takes.

RunRedirectRequested

TALOS

You sent a message to redirect the turn in progress.

redirectId
Pairs the request with its outcome.
testo
Your message.

RunRedirectApplied

TALOS

The redirect reached the model.

redirectId
The request.
testo
Your message.
immaginioptional
Images attached to it.
bollaoptional
What your message bubble shows ({ testo, allegati }), when it differs from the text the model receives.

RunRedirectCancelled

TALOS

The redirect was withdrawn before it reached the model.

redirectId
The request.

RunRedirectFailed

TALOS

The redirect could not be applied.

redirectId
The request.
message
Why.
codeoptional
An error code.
reasonoptional
Why, as a key, so the window can say it in your language.
paramsoptional
The values of that sentence.

TextMessageStart

AG-UI

A message of the model begins.

messageId
The message.
role
assistant.

TextMessageContent

AG-UI

A piece of the message, as it streams.

messageId
The message.
delta
The text to append.

TextMessageEnd

AG-UI

The message is complete.

messageId
The message.

ReasoningMessageStart

AG-UI

The model’s reasoning begins (models and providers that expose it).

messageId
The reasoning.
role
reasoning.

ReasoningMessageContent

AG-UI

A piece of the reasoning.

messageId
The reasoning.
delta
The text to append.

ReasoningMessageEnd

AG-UI

The reasoning is complete.

messageId
The reasoning.

ToolCallStart

AG-UI

The model calls a tool.

toolCallId
The call.
toolCallName
The tool (see Tools).
parentMessageIdoptional
The message the call belongs to.
avviatoAoptional
When it started, in milliseconds since the epoch (server clock).
daTestooptional
Not yet described.

ToolCallArgs

AG-UI

The arguments of the call, as JSON text (streamed in pieces).

toolCallId
The call.
delta
The text to append.

ComandoUtenteIniziato

TALOS

A command you typed yourself (! in the composer) starts: it is not a turn of the model and can run beside one.

comandoId
The command.
comando
What you typed.

ComandoUtenteFinito

TALOS

Your command ended.

comandoId
The command.
codiceoptional
Its exit code.
enforcementoptional
How the sandbox ran it.
erroreoptional
Why it did not start, when it did not.

ToolCallOutput

TALOS

Output of a command while it runs: progress to show, not the result.

toolCallId
The call.
delta
The output to append.

ToolCallResult

AG-UI

The result of the call, as the model reads it.

messageId
The result’s message.
toolCallId
The call.
content
The result, as text.
role
tool.
isErroroptional
true when the tool failed.
durataMsoptional
How long it ran, in milliseconds, when measured.
comandooptional
The command that ran, for a command.
cwdoptional
Where it ran.
stdoutoptional
Standard output, when the command produced some.
stderroptional
Standard error, when there was some (not necessarily an error).
exitCodeoptional
The exit code, when known.
inSfondooptional
true when the command went on in the background.
fileSfondooptional
For a command in the background: the file its output goes to.
fileSfondoMostratooptional
Not yet described.
sfondoDaoptional
Who moved it to the background: persona (you), tempo-scaduto (its time ran out) or avvio (started that way).
receiptoptional
The kernel’s receipt for this call, passed on as it is.
outcomeoptional
cancelled when the call was cancelled before it started.
interrottaoptional
Not yet described.
duplicateoptional
true when the call was an identical copy of another call in the same answer, so it was not run.
schedaChatgptoptional
Not yet described.
suspiciousoptional
The result carries text that looks like instructions for an AI: { source, patterns, place? }, so the window can mark it.
unaskedoptional
In Full access, an automation made without the confirmation card: what the card would have pointed out, { oltre, minacce, automationId? }.
refusaloptional
A refused delegation, as data: { code, retryable?, reason }.
imagesoptional
Not yet described.

StateDelta

AG-UI

A change of the session’s state, as JSON Patch operations.

delta
The operations: /file/<path> when the agent wrote a file (value the new text, prima the text before, allegato a reference for binary files), /usage for the running token totals, /recuperoCronologia when the history was recovered on resume.

ArtifactCreated

TALOS

The agent made an interactive visual (artifact_create).

messageId
The message it belongs to.
id
The artifact: read it with GET /api/v1/artifacts/{artifactId}.
titolo
Its title.
voceLibreriaIdoptional
Its lasting copy in the Library, to show it again after a reload.
versioneoptional
Not yet described.

WorkspaceChanged

TALOS

Files of the session’s folder changed on disk.

percorsi
The paths that changed.

ApprovalRequested

TALOS

The agent waits for your approval before an action.

requestId
Answer with POST /api/v1/sessions/{sessionId}/approve.
azione
The action: the tool and its arguments.
approvabileFuorioptional
Not yet described.

QueuedMessageDelivered

TALOS

A message you queued reached the model.

testo
The message.

ApprovalResolved

TALOS

The approval was answered.

requestId
The request.
approvato
true or false.
ambitooptional
cartella or percorso when the yes holds for that folder or path until the session ends.
motivooptional
nessuna-interfaccia when nobody could answer and the server closed it.
rispostoDaoptional
The session you answered from, when it was not the one that asked.

UserQuestionRequested

TALOS

The agent asks you a question (ask_user_question).

requestId
Answer with POST /api/v1/sessions/{sessionId}/question.
questions
The questions, each with its options.
atoptional
When it was asked.
toolCallIdoptional
The call that asked.
origineoptional
Who asked.
ripristinabileoptional
Whether the question survives a restart of the server.

McpElicitationRequested

TALOS

An MCP server asks you for data (a form) or to open a page. Answer with POST /api/v1/sessions/{sessionId}/mcp-elicitation.

requestId
The request.
server
The MCP server that asks.
mode
form or url.
message
What the server says.
requestedSchemaoptional
For a form: the fields it asks for.
urloptional
For a page: its address.
dominiooptional
For a page: its domain.
elicitationIdoptional
For a page: the server’s own id of the request.
atoptional
When it was asked.

McpElicitationResolved

TALOS

The MCP request was answered, declined or cancelled (what you entered is never in the history).

requestId
The request.
action
accept, decline or cancel.
atoptional
When.
daoptional
Who resolved it.
motivooptional
Why, when it closed without your answer.

UserQuestionResolved

TALOS

The question was answered, skipped, cancelled or expired.

requestId
The request.
status
How it was resolved.
answersoptional
The answers.
skippedoptional
The questions you skipped.
notesoptional
Your notes, by question.
atoptional
When.
daoptional
Who resolved it.
motivooptional
Why, when it did not get an answer.
rispostoDaoptional
The session you answered from, when it was not the one that asked.

HookInvoked

TALOS

A trusted hook ran (see Hooks).

hookId
The hook.
tipo
The event it ran for.
azione
The tool, for a tool event.
esito
Its verdict: { consentito, motivo? }.

RuntimeFallback

TALOS

The local engine failed and the turn continues on a cloud model (only with fallbackConsent).

from
local.
to
openrouter.
reason
The error of the local engine.
provider
local.
runtimeId
The local engine.
modelId
The local model.
backend
The engine that failed.
at
When.

A CUSTOM event is { "type": "CUSTOM", "name": "…", "value": … }:

talos.server-locale
Not yet described.
talos.finestra-locale
Not yet described.
talos.agenti
An agent below this session (a child, or a child’s child) started, changed state or ended: a snapshot of it.
talos.impostazioni-sessione
The session’s settings changed (mode, permissions), for example after a plan is approved.
talos.coda
The queue of messages waiting for the model changed: { voci, inPausa }.
talos.compattazione
A compaction of the conversation: fase is inizio, fine or annullata, with the tokens before and after and whether it can be undone.
talos.compattazione-preparata
A summary prepared in the background ahead of the limit (instant compaction): started, ready, discarded with the reason, or failed. Recorded, not drawn in the chat.
talos.riassunto-modello-inutilizzabile
Not yet described.
talos.processo-sfondo
A command in the background ended: { toolCallId, esito, codice, segnale, finitoAlle }, and fermatoDallaPersona when you stopped it.
attesa-approvazione-silenzio
An approval is still waiting: { requestId, attesaMs, tipo }, sent while it waits (progress, not history).
talos.plan
A plan in Plan mode (talos.plan.v1): proposed, revised, approved or rejected.
talos.agent-dialogue
A question or an answer between this agent and its parent or child.
talos.figlie-fermate
Not yet described.
talos.richiesta-piano-fallita
A request to switch to Plan mode could not be applied.
talos.journal-riparato
The session’s journal was repaired when it was read back.
talos.accesso-chatgpt
Not yet described.
talos.mcp-avvio
How the MCP servers of the project started when the session began, or when one was tested (prova: true): { id, esiti }, one result per server, with the reason when it did not start.
talos.scheda-lenta
Not yet described.
talos.sessione-chiusa
The session was closed (POST …/close): { alle, giri, comandi }, when, and how many turns and background commands were stopped.
talos.processo-tolto
An ended command was removed from the Processes tab: { toolCallId, toltoAlle }.
talos.controllo-spento
Not yet described.
talos.provider-retry
A provider call failed and is retried (talos.provider-retry.v1): the attempt, the most attempts, the HTTP status and how long it waits.
talos.cache-ricominciata
Not yet described.
talos.fornitore-evitato
Not yet described.
talos.continuazione
Not yet described.
talos.chiamata-nel-testo
Not yet described.
talos.fornitore-a-valle
Which OpenRouter provider served the turn (talos.fornitore-a-valle.v1): { fornitore, modello? }.
talos.attesa-del-motore
Not yet described.
talos.ripiego-locale
Not yet described.
avviso-fornitore
A note on how a provider’s request was adapted (levels changed, fields not sent): recorded, never shown in the chat.
cambio-fornitore
The turn continued on another provider or model (a fallback).
consumo-fornitore
What a provider call consumed: tokens and, when known, cost.
consumo-di-servizio
Not yet described.
talos.richiesta-non-inviata
Not yet described.
talos.fine-rigiocata
The replay is over: the events before this one were already recorded, the ones after are live.
talos.obiettivo
The goal of the conversation as it stands now ({ obiettivo, tetti? }), sent when you subscribe and when it changes; state, not history.

GET /api/v1/sessions/{sessionId}/workflows/{runId}/events streams named events; it closes when the run is over.

event: run-update
What changed in the run since the last sequence: steps, groups and states. id is the run’s new sequence number.
event: run-error
The stream failed: { code }. The stream closes.

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model