Loading...
Loading...
List, inspect, and run Glean AI agents. Use when discovering available agents, viewing agent schemas, or invoking agents programmatically.
npx skill4agent add gleanwork/glean-cli glean-agentsPREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
glean agents <subcommand> [flags]| Subcommand | Description |
|---|---|
| Get details of a specific agent |
| List all available agents |
| Run an agent |
| Get input/output schemas for an agent |
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | |
| string | JSON request body | |
| json | ndjson | text | json |
glean agents list | jq '.[].id'
glean agents run --json '{"agentId":"my-agent","input":{"query":"test"}}'# Show machine-readable schema for this command
glean schema agents
# List all available commands
glean schema | jq '.commands'