Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/clean-geese-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cephalization/phoenix-insight": patch
---

feat: Improve cli examples with external agent
21 changes: 11 additions & 10 deletions packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,16 +197,17 @@ Configuration:
Set PHOENIX_INSIGHT_CONFIG env var to override the default config location.

Examples:
$ phoenix-insight # Start interactive mode
$ phoenix-insight "What are the slowest traces?" # Single query (sandbox mode)
$ phoenix-insight --interactive # Explicitly start interactive mode
$ phoenix-insight --local "Show me error patterns" # Local mode with persistence
$ phoenix-insight --local --stream "Analyze recent experiments" # Local mode with streaming
$ phoenix-insight --config ./my-config.json "Analyze traces" # Use custom config file
$ phoenix-insight ui # Start web UI on localhost:6007
$ phoenix-insight ui --port 8080 # Start web UI on custom port
$ phoenix-insight ui --no-open # Start web UI without opening browser
$ phoenix-insight help # Show this help message
$ phoenix-insight # Start interactive mode
$ phoenix-insight "What are the slowest traces?" # Single query (sandbox mode)
$ phoenix-insight --interactive # Explicitly start interactive mode
$ phoenix-insight --local "Show me error patterns" # Local mode with persistence
$ phoenix-insight --local --stream "Analyze recent experiments" # Local mode with streaming
$ phoenix-insight --config ./my-config.json "Analyze traces" # Use custom config file
$ phoenix-insight ui # Start web UI on localhost:6007
$ phoenix-insight ui --port 8080 # Start web UI on custom port
$ phoenix-insight ui --no-open # Start web UI without opening browser
$ opencode run "Analyze my spans" -f $(pxi snapshot latest)/_context.md # Analyze phoenix data with OpenCode agent
$ phoenix-insight help # Show this help message
`
)
.hook("preAction", async (thisCommand) => {
Expand Down