Skip to main content

Module agents

Module agents 

Source
Expand description

agents tier dispatch. Mirrors objectiveai-sdk-rs/src/cli/command/agents/mod.rs. Mix of unary leaves (get, publish) and streaming sub-trees (list, spawn, message, logs, queue, tags, plus the surviving instances aggregate that owns me/list).

Modules§

enqueue
agents enqueue — fire-and-forget into the queue.
get
agents get — read an agent definition by remote path.
instances
agents instances — CLI-side dispatch for the surviving instances subtree. Two leaves: get, list. spawn, message, and read moved up to agents spawn, agents message, and agents logs read.
list
agents list available <source> — enumerate remote agents from a given source. Streams one ResponseItem per agent. Sources:
locks
Lock coordinates for the per-agent lockfiles.
logs
agents logs — CLI-side dispatch for the logs subtree. One sub-tier today: read. The SDK’s logs::Request / logs::ResponseItem are now type aliases for read::*, so this tier just hands the request to read::execute.
message
agents message — unary delivery primitive.
publish
agents publish — write a RemoteAgentBaseWithFallbacks to a repository on the filesystem and return its content sha.
queue
agents queue — CLI-side dispatch for the queue subtree. add is gone — agents message now handles enqueue under the hood.
spawn
agents spawn — in-process chunk-or-id streaming handler.
tags
agents tags — CLI-side dispatch for the tags subtree.
wait
agents wait — block until an agent is done.

Functions§

execute