Interact with PandaAGI agents from your terminal
PandaAGI CLI Interface
Install Dependencies
rich
library for enhanced terminal output.Set Your API Key
Run the CLI
./my_agent_workspace
and starts an interactive session.Start Interacting
help
to see all available CLI commands.Real-Time Event Streaming
Conversation History
Interactive Commands
help
- Show available commandsclear
- Clear the screenexit
, quit
, or q
- Exit the CLIstats
- Show detailed session statisticsstatus
- Show current status and statisticshistory
- Show event history summaryreset
- Reset session statisticsRich Visual Feedback
rich
library to provide enhanced visual feedback:Option | Short | Description | Default |
---|---|---|---|
--workspace | -w | Path to agent workspace directory | ./my_agent_workspace |
--conversation-id | Resume an existing conversation by ID | None | |
--no-timestamps | Disable timestamp display in events | False | |
--width | Panel width in characters | 120 | |
--compact | -c | Use compact display mode for better performance | False |
--verbose | -v | Show additional debug information and full tracebacks | False |
stats
command:
Example Session Statistics
history
command:
Event History Summary
Default Workspace
./my_agent_workspace
unless specified otherwise. This workspace is where the agent stores files and other artifacts it creates during operation.Custom Workspace
Persistent Conversations