glean-agents
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseglean agents
glean agents
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
Manage and run Glean agents. Subcommands: list, get, schemas, run.
bash
glean agents <subcommand> [flags]前置要求: 阅读了解认证、全局标志和安全规则。../glean-shared/SKILL.md
管理并运行Glean Agent。子命令包括:list、get、schemas、run。
bash
glean agents <subcommand> [flags]Subcommands
子命令
| Subcommand | Description |
|---|---|
| Get details of a specific agent |
| List all available agents |
| Run an agent |
| Get input/output schemas for an agent |
| 子命令 | 说明 |
|---|---|
| 获取指定Agent的详细信息 |
| 列出所有可用的Agent |
| 运行一个Agent |
| 获取Agent的输入/输出Schema |
Flags
标志
| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | |
| string | JSON request body | |
| json | ndjson | text | json |
| 标志 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| boolean | false | |
| string | JSON请求体 | |
| json | ndjson | text | json |
Examples
示例
bash
glean agents list | jq '.[].id'
glean agents run --json '{"agentId":"my-agent","input":{"query":"test"}}'bash
glean agents list | jq '.[].id'
glean agents run --json '{"agentId":"my-agent","input":{"query":"test"}}'Discovering Commands
命令探索
bash
undefinedbash
undefinedShow machine-readable schema for this command
显示此命令的机器可读Schema
glean schema agents
glean schema agents
List all available commands
列出所有可用命令
glean schema | jq '.commands'
undefinedglean schema | jq '.commands'
undefined