Expand description
Starting one agent CLI and watching it finish.
§Why the transcript is a file and not a buffer
A run’s output is the only account of what an agent actually did, and it is worth money. Held in memory it is lost the moment the supervisor dies — which is the case where it is most needed, because that is the run somebody will have to reconstruct. Streamed to a file it survives, it can be tailed live, and it costs nothing to keep.
§Why the environment is built rather than inherited
The child gets exactly the variables its agent named in env_from, and nothing else. Handing a
child the supervisor’s whole environment would give the telemetry agent the publishing
credentials and the reviewer the cloud keys, so a single prompt injection anywhere would reach
all of them. A variable that was named but is not set is an error, not a shrug: an agent
starting without the credential it declared will fail somewhere further away, having already
cost money.
Structs§
- Finished
- How a run ended.
- Plan
- Everything needed to start one run.
- Started
- A process that has been started and recorded.
Enums§
- Spawn
Error - What can go wrong before a child is running.
Constants§
- PAYLOAD_
FILE - The file a run’s composed instructions are written to.
- TRANSCRIPT_
FILE - The file a run’s output is streamed to.