Skip to main content

Module agent_runs

Module agent_runs 

Expand description

Runs of asks to this session’s agents, as the session publishes them.

A person asks an agent to do something — typed over a window or in the agent composer — and the session queues it as a run. RESOURCE reads every run the session keeps, and run reads one: a run is followed by watching its own resource, and steering it or stopping it are its resource’s actions. Nothing here is an application’s: a run’s window is the agent’s, drawn wherever the ask was typed.

The run channel names a run by the issue it works on, ISSUE_PREFIX and its id, so the broker and the agent read one run under one address whether they hear of it from the session or from the ask.

Structs§

Asked
What queueing an ask answered: the run it started, and what that run is called on the run channel.
Direction
One message to a run.
Entry
One entry of a run’s conversation (shell.md §8.1, “The transcript is steps”).
Live
What a run streams of the model turn it is in now, while it goes.
Run
One run of an ask, as the session publishes it.
RunModel
The model a run plans with.
Runs
Every run the session keeps, as RESOURCE reads them: oldest first.

Enums§

Phase
Where a run is.
Said
What one entry of a run’s conversation is.
TurnEnd
How a model turn ended, when it ended.

Constants§

AGENT_PREFIX
What an agent’s author id in a run’s conversation begins with.
ISSUE_PREFIX
What a run is called on the run channel: the address of the issue whose work it does.
RESOURCE
The resource every run is read from, and the one an ask queues one on.
RUN_PREFIX
What one run’s resource id begins with, before its own id.

Functions§

id_of_issue
The id id_of_issue reads out of an issue’s address.
issue
The issue id’s run works on, as the run channel names it.
run
The resource run names for the run id.