Skip to content

agent.inventory.v1

List the agents this person runs

Returns the coding agents installed on this machine, each with the options this person habitually passes it, so a caller offers the same choices the Launcher does instead of inventing its own. It carries no executable path and no shell history — only the agent, how to name it to a person, and the options.

At a glance

Callable byagent, cli, plugin
Effectread — Reads state and changes nothing.
Confirmationnever — Runs without asking.
Idempotencynone
Leaves the machineno
Provided bydev.tenon.core
Contract classsealed

Input

Takes no properties — send {}.

Output

PropertyRequiredTypeConstraints
agentsyes{arguments, habit, id, label}[]items 0–16

Call it

From a plugin — declare it in intents.uses first:

js
const result = await tenon.intents.send("agent.inventory.v1", {})
if (!result.ok) throw new Error(result.error.code)

From a shell:

sh
tenon-cli intent send agent.inventory.v1 --input '{}'

Ask your own build for this same contract with tenon-cli intent describe agent.inventory.v1.