Skip to content

AgentRuntime

Resource use of a running agent. The numbers cover the agent's process, its current turn and its running tool calls.

Property Type Description
agent string -
conversation? string The conversation ID, for an agent that runs one process per conversation.
node string The node the agent runs on.
memory_bytes number The memory used by the agent's processes, in bytes.
binary_bytes? number The size of the shared binaries the agent's processes reference, in bytes. Large message and tool results are usually stored this way.
processes number The number of processes: the agent, plus one for a running turn and one for each running tool call.
message_queue number The number of messages waiting in the agent process's mailbox. A number that keeps growing means the agent can't keep up.
reductions number The work the agent's processes have done, in BEAM reductions. Compare it between agents, or between two reads, to see which agents use the most CPU.