Expand description
Shared agent-input shape for agents spawn and agents message.
Both commands address an agent the same three ways:
- Ref — a concrete agent definition: a remote-path string
(
--agent), inline JSON (--agent-inline), a JSON file (--agent-file), or Python producing the JSON (--agent-python-inline/--agent-python-file). File/Python variants travel UNRESOLVED on the wire; the CLI resolves them into a typed agent at execution time. - Tag —
--agent-tag <name>, resolved against the tags DB at call time: BOUND yields the liveagent_instance_hierarchy(historic instance), GROUPED yields the group’s stored agent spec (fresh spawn that upgrades the group on first conduit read), ABSENT is an error. - Instance —
--agent-instance <leaf>plus optional--parent-agent-instance-hierarchy(the CLI substitutes its ownConfig.agent_instance_hierarchywhen omitted): an existing agent instance, resumed via its stored session + continuation.
Structs§
- Agent
Selector Args - Required agent-selector group: exactly one of the seven selector
flags must be set.
--parent-agent-instance-hierarchyrides OUTSIDE the group (it modifies--agent-instancerather than competing with it).
Enums§
- Agent
Ref - Wire form of a direct agent definition.
Resolvedcarries the typed inline-or-remote spec (the--agent <ref>string is parsed intoResolved(Remote(..))at argv-parse time); the other variants defer IO / Python execution to the CLI handler. - Agent
Selector