Skip to content

Selectors

Every command takes a plain name: an agent for abt run, a workflow for abt dispatch. abt run -s <agent> runs that agent and its subagents: tree, never a workflow neighbor — see Workflows.

abt run / abt dispatch — -s name

Command What runs Who it's for
abt dispatch -s <workflow> a workflow from workflows/: sources, topology, exposures operators pressing a button
abt run -s <agent> one agent plus its subagents: tree, without sources or exposures developers smoke-testing one node
abt run -s triage -p "Refund my last order"
abt dispatch -s support_ticket -p "Refund my last order"

Omitting -s is a usage error on both commands. To list what you can run, use abt list.

-s/--select on abt compile / abt test / abt doctor

Same idea as abt run -s NAME — a bare agent name, nothing else:

abt compile -s triage
abt test -s triage
abt doctor -s refund-handler

abt test also has --only-agent <name> (narrows which agent's suite runs; the agent's subagents: tree stays wired) and -n/--name <name>. --only-agent is mutually exclusive with -s and, separately, with -n — but -s and -n can be combined with each other. A -n that matches no test exits 2 with no test named '<name>' matched.

abt test delegation depth

Every test run wires the agent's full declared subagents: tree, matching abt run. --only-agent only narrows which agent's suite executes, never the wiring. See Testing.

abt list -s (filtering printed agents)

abt list -s takes a plain name, or tag:<name>:

abt list -s tag:incident
abt list --agent refund-handler

--agent <name> prints that one agent's own wiring instead of the agent list: its retrievers: and its downstream consumers, the agents that list it under subagents:. Sources, prompts and exposures are workflow nodes, so they don't appear here; see abt graph. Combine with -s to require the agent to match the filter. --agent and --tags can't be combined; abt list --agent refund-handler --tags exits 1 with:

ERROR: Cannot combine --tags with --agent. Omit --tags to list the agent's own components (prompts, sources, exposures).

The components that message names are the workflow nodes above. --agent prints retrievers and consumers only.

abt doctor -s <name> similarly checks one agent's own delegation closure — the named agent plus everything in its subagents: tree, unbounded.

See CLI reference for the full flag list.

See also

  • Workflows — order and branching live in workflows/, not selectors
  • Subagents — subagents: delegation