Skip to main content

Rich Demo

File: examples/rich_demo_agent.py

Full-fidelity trace demo. Combines a model turn, tool retries, shell commands, file reads/writes, patches, artifacts, and derived decisions in a single run.

Run​

uv run examples/rich_demo_agent.py

What It Demonstrates​

  • Model turns with tool selection
  • Tool retries and error handling
  • Shell command execution with exit codes
  • File read and write operations
  • Patch application
  • Artifact generation
  • Derived decisions from tool results

When to Use​

Use this example when you want the densest possible run for inspecting the dashboard, timeline, and artifact views. It exercises every event type TraceAgent supports.

💬 Comments