Skip to main content

Module agent_ops

Module agent_ops 

Source
Expand description

agents.start, agents.open, agents.stop, agents.set_seat, agents.rename, agents.update (model and effort), agents.env_get and agents.env_set: an agent controls another machine’s agents as it controls its own (spec §4.3, P3). Each runs the code of the local Agents action with the remote agent (slug@machine) as the actor, so every rule a local caller meets is met here too: a stop of another agent waits for the person’s keep-running window, a start counts against the sender’s start limit, an environment refuses the names an agent may not set. The agent a call names is one on this machine; an id or slug, as a local call takes it.

Functions§

agent_of 🔒
The agent a call names: an id or slug of an agent on this machine.
env 🔒
env_get 🔒
env_set 🔒
open 🔒
Opens the agent in the caller’s own tab, without focus (agent_open_remote).
refused 🔒
A refusal of the local code, as the requester reads it.
rename 🔒
The agent agent (an id or slug on this machine) gets the displayed name name, as a local Agents rename does.
set_seat 🔒
start 🔒
stop 🔒
update 🔒
The agent agent (an id or slug on this machine) has its definition, model or effort changed, as a local Agents update does.