The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(agents): add prompt-breakdown debugging command
Steven Enamakel61b24c5b6001
diff --git a/AGENTS.md b/AGENTS.mdindex 563748e470..08535b3dfc 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -188,6 +188,12 @@ guessing from logs.`openhuman-core agent dump-prompt --agent <id> --json --with-tools`(`scripts/debug-agent-prompts.sh`); the proxy shows the request the harnessassembles from it per turn.+- `pnpm debug breakdown <req-NNN.json> --response <res-NNN.txt>`+ (`scripts/debug/prompt-breakdown.mjs`) prices one captured request: each+ system-prompt section, each tool schema (description vs parameters) and each+ message, in o200k tokens calibrated to the provider's `usage.prompt_tokens`,+ plus paragraphs the request pays for twice. Capture with+ `CAPTURE_ALL=1 CAPTURE_RESPONSES=1` so the response carries the usage.## Configuration and security