agent command group provides tools for managing and inspecting AI agents in Forge.
Usage
Subcommands
list
List all available agents. Alias:ls
Output in machine-readable format for scripting.
Examples
List All Agents
List Agents (Machine-Readable)
Using List Command Alias
Filter Custom Agents Only
Related Commands
forge --agent <ID>- Start a session with a specific agentforge list tool <AGENT>- List tools available to a specific agentforge info- View the currently active agent
Agent Configuration
Agents are configured through YAML files. See the Agent Configuration guide for details on creating custom agents.Notes
- Agents can have different tools and capabilities
- Custom agents are stored in
~/.config/forge/agents/ - Use
forge --agent <ID>to start a session with a specific agent - The default agent is used when no agent is specified