Agent Info
Agent Info
The agent-info command outputs CLI documentation formatted for AI agent consumption. With no subcommand it prints the full AGENTS.md-style guide; subcommands print focused references.
Usage
trilogy agent-info [command]
Subcommands
| Subcommand | Description |
|---|---|
| (none) | The full guide: commands, options, workflows, and syntax. |
config | The trilogy.toml configuration schema plus API-key setup. |
datasources | The datasource authoring reference (root, file, query bindings). |
ingest | The trilogy ingest command reference. |
report | The Trilogy markdown report format reference. |
serve | The distribution and hosting reference. |
syntax | Trilogy syntax examples for common patterns. |
Full Example
# Output full agent documentation
trilogy agent-info
# Pipe to a file your agent will read
trilogy agent-info > TRILOGY_AGENTS.md
# Just the bit you need
trilogy agent-info ingest
trilogy agent-info syntax
What It Outputs
- Overview of the Trilogy CLI
- Quick start guide
- Complete command reference with all options
- Configuration file format
- Supported dialects
- Common workflows
- Trilogy language syntax reference
Notes
- Useful for providing context to AI coding assistants
- The focused subcommands keep an agent's context small when only one area matters
- Contains everything an agent needs to understand and use the Trilogy CLI