Bead ID: bd-2r7 Date: 2026-01-25 Agent: Claude Opus 4.5
Status: HIGH AGENT-FRIENDLINESS MATURITY
Process Triage (pt) is exceptionally well-optimized for AI coding agent usage:
- TOON output fully integrated (
--format toon) - Comprehensive JSON output with multiple format options
- Token-efficient output with field selection and max-token budgets
- Extensive robot/agent mode support
| Feature | Status | Details |
|---|---|---|
--format flag |
YES | json, toon, md, jsonl, summary, metrics, slack, exitcode, prose |
--robot flag |
YES | Non-interactive mode for automation |
--json flag |
YES | Alias for --format json |
PT_OUTPUT_FORMAT env |
YES | Set default format via environment |
--fields flag |
YES | Select specific output fields |
--compact flag |
YES | Enable minified output |
--max-tokens flag |
YES | Limit output token budget |
--estimate-tokens flag |
YES | Get token count without full output |
| Format | Description |
|---|---|
json |
Token-efficient structured JSON (default) |
toon |
Token-Optimized Object Notation |
md |
Human-readable Markdown |
jsonl |
Streaming JSON Lines for progress |
summary |
One-line summary for quick checks |
metrics |
Key=value pairs for monitoring |
slack |
Human-friendly narrative |
exitcode |
Minimal output (exit code only) |
prose |
Natural language for agent-to-user |
| Command | JSON | TOON | Notes |
|---|---|---|---|
pt-core agent plan |
YES | YES | Full Bayesian inference plan |
pt-core agent explain |
YES | YES | Evidence breakdown per-process |
pt-core agent apply |
YES | YES | Action execution results |
pt-core agent capabilities |
YES | YES | System capabilities |
pt-core agent sessions |
YES | YES | Session history |
pt-core config show |
YES | YES | Configuration values |
pt-core signature list |
YES | YES | Process signatures |
pt-core signature stats |
YES | YES | Match statistics |
The TokenEfficientOutput system provides:
--fields minimal|standard|full // Select output fields
--compact // Short keys, minified JSON
--max-tokens N // Token budget with truncation
--estimate-tokens // Get token estimateThis is highly advanced agent-friendly output control.
Status: EXISTS and comprehensive (548 lines)
Contains:
- Multi-agent coordination guidelines
- Beads/bv/br workflow instructions
- MCP Agent Mail integration
- Exit code semantics
- UBS integration
Documented extensively in --help output and source code.
| Dimension | Score (1-5) | Notes |
|---|---|---|
| Documentation | 5 | Comprehensive AGENTS.md |
| CLI Ergonomics | 5 | Excellent subcommand structure |
| Robot Mode | 5 | --format, --robot, --fields, --max-tokens |
| Error Handling | 4 | Structured errors with categories |
| Consistency | 5 | OutputFormat enum standardized |
| Zero-shot Usability | 4 | Good --help, needs QUICKSTART |
| Overall | 4.7 | Excellent maturity |
Status: FULLY INTEGRATED
TOON is available via:
--format toonflagtoon_rust = { path = "../toon_rust" }workspace dependencyOutputFormat::Toonenum variant in pt_commonencode_toon_value()function in pt_core::output
None - pt is already highly agent-friendly
- Add docs/agent/QUICKSTART.md for 30-second onboarding
- Add
--schemaflag for JSON Schema emission
- Consider adding
--capabilitiescommand - Document error taxonomy formally
Process Triage (pt) is among the most agent-friendly tools in the suite with:
- Full TOON integration
- Advanced token-efficient output system
- Comprehensive robot mode support
- Excellent documentation
Score: 4.7/5 - Excellent maturity, minimal improvements needed.
Generated by Claude Opus 4.5 during bd-2r7 execution