Skip to main content

Module task_programs

Module task_programs 

Expand description

An agent task’s tilolang programs (docs/designs/app-language/agents.md, “How a program runs”), served by the session to the Tasks agent’s loop.

The session’s door runs every task’s programs: an MCP client’s through its tilo tool, the Tasks agent’s through RUN under this provider. Both are the same step of the same task session: the program runs in the task’s own tilolang host, what it reads and changes is done as the agent working on the task, one call is one step that undo takes back, and the answer is tilolang text whose references later programs of the task take.

Structs§

ProgramAnswer
What a program answered.

Constants§

PROVIDER
The provider the session answers a task’s programs under.
RESOURCE
The resource the step is an action of.
RUN
Run one program as one step of the caller’s task: program, confirm (send again a previewed program), and this (what the person pointed at, as a resource literal). Answers a ProgramAnswer.

Functions§

target