Home

stencila agents

Manage agent definitions

Usage

stencila agents [COMMAND]

Examples

# List all agents
stencila agents

# Show details about a specific agent
stencila agents show code-review

# Create a new agent in the workspace
stencila agents create my-agent "A helpful assistant"

# Create a new agent in user config
stencila agents create my-agent "A helpful assistant" --user

# Validate an agent by name, directory, or file path
stencila agents validate code-review

# Show how an agent session would be routed
stencila agents resolve code-engineer

# Run an agent with a prompt
stencila agents run code-engineer "What files are in this directory?"

# Dry run to see agent config and prompt
stencila agents run code-engineer "Hello" --dry-run

Subcommands

CommandDescription
listList available agents
showShow an agent
createCreate a new agent
validateValidate an agent
resolveShow how an agent session would be routed
runRun an agent with a prompt
sessionsManage agent sessions
© 2026 Stencila