Skip to main content
The PraisonAI CLI automatically tracks and displays tool calls made by agents, providing visibility into what actions the AI is taking.

Overview

Tool Tracking Shows Which Tools Used When you run a prompt, the CLI:
  1. Loads 5 built-in tools by default
  2. Tracks all tool calls made during execution
  3. Displays a summary of tools used after completion

Default Tools

Every CLI prompt has access to these 5 built-in tools:

Usage Examples

Basic Tool Tracking

Output:

Multiple Tools

Output:

Verbose Mode

For detailed tool call information, use verbose mode:
Output:

Adding Custom Tools

You can add additional tools using the --tools flag:
my_tools.py:

Callback System

The tool tracking uses a callback system that can be extended programmatically:

Comparison: Default vs Verbose

Best Practices

Use default mode for clean output in scripts and pipelines. Use verbose mode (-v) when debugging or learning what the agent is doing.
Tool calls are tracked via a callback system that has zero performance overhead when no callback is registered.

Interactive Mode

Full interactive TUI with tool support

Tools Management

Discover and manage available tools

Cost Tracking

Track token usage and costs

Verbose Output

Detailed output options