Expand description
What a sender may know before sending: the target’s availability and what a routine message
from a host-tier sender would do now (docs/specs/SPEC_AGENT_AVAILABILITY_ONE_STATE_2026_10_26.md
§3.3). It reads the same fact and asks the same verdict the jekt path applies, and delivers,
reserves and logs nothing, so it is safe to call for every agent in a list.
Structs§
Enums§
Functions§
- availability_
of_ 🔒block - What can be said about the agent on
block_idnow, or about a defined agent with no live pane (None). - block_
of_ 🔒uid - The block the agent with this UID runs in, when it is registered here under that UID.
- classify_
stopped 🔒 - describe 🔒
- The answer for one agent: its
state, when it began (since_ms) and, for a limit, when it lifts (resets_at_ms);would, what a routine message does now (deliverorhold); and, when the agent can’t work,reasonandretry_when. A limited agent with no known reset still getswould: deliver(a turn is how it finds out), withreason: usage_limitso the sender knows it may fail. - describe_
block 🔒 describe_statusfor the agent registered inlive(Nonefor a defined agent with no live pane).state_blockis the block that holds its pane and desired state when that is notlive: the parked block of an agent with no process.- describe_
status 🔒 describefor a status: what a routine message does now isdecide’s answer (so an offline model API reads as a hold), and the status’spane,wantedandapiare named, so a sender sees “parked, running” or “shut down” before it sends.- enqueue_
note 🔒 - What to tell a sender who filed a task for the agent
lookup(a name or a UID) that the agent can’t take up now: its availability (target) and anotesaying the task waits, naming the agentnameas the sender typed it (lookupwhen that is empty).Nonefor an agent that can work, a group or unaddressed task, or a name no agent here has, so the answer stays as it was. - handle_
availability 🔒 GET /agentmux/reactive/availability?agent=<name|uid>:describe_blockfor one agent of this instance. 400 withoutagent, 404 for a name no agent here has, 409 for one that names several.- on_
screen 🔒 - Whether an open window shows the workspace whose tab holds this block.
- reach_
of 🔒 - The model API of a block’s agent as a pane reads it: tracked and answering, offline, not checked yet, or not tracked.
- state_
block 🔒 - The block whose controller says what the agent is doing: the registered one, else the agent’s own block
when a controller holds it. A pane in a closed workspace can run with no registration; reading it as
absent made
Agents listsaystoppedfor an agent whose runtime state wasidle. - state_
name 🔒 - The wire name of a state:
AgentState’s, with a defined agent that has no process asstopped. - status_
of 🔒 - Everything a path needs to know about an agent: its availability (
live, the block it is registered in, if any) and, fromblock(its live block, or the one that holds its desired state), whether it has a pane, whether it is wanted running, and whether its model API answers (net: one snapshot of the connectivity status, so a list of agents takes it once). Writes nothing. - stop_
is_ 🔒not_ an_ error - An agent whose block records a stop (the idle lifecycle,
Agents stop, a person’s shut down) isstoppedeven when its process ended with a non-zero exit code: the stop is a forced kill, which exits that way.erroris for a process that ended when nothing asked it to. - usage_
of 🔒 - How much of each usage window of the account the agent’s run launched on is used, by window
(
five_hour,seven_day):used_percent,resets_at_msand the reading’sage_ms.Nonewhen the account has no reading that has not reset (a provider that reports none, or nothing has run on it yet):Identity accountssays which. - view_
of_ 🔒agent describe_blockfor the agentagent(a name or a UID) names on this instance.- wait_
note 🔒 - The sentence for an agent in
viewthat can’t work:limitedorsigned_out. It says the task is filed and waits for the agent, and when that is expected. - with_
note 🔒 bodywith the fields ofenqueue_note, if there is one.