Command Cheat Sheet¶
This page lists the common AgentTrace commands.
Show Help¶
agenttrace --help
Initialize A Project¶
agenttrace init
Use this once in a Git project.
Start A Run¶
agenttrace start "task description"
With tool and model:
agenttrace start "task description" --tool Codex --model gpt-5
Capture Git Evidence¶
agenttrace snapshot
This records Git status and Git diff for the active run.
Record A Test Command¶
agenttrace add-test "test command here"
Examples:
agenttrace add-test "npm test"
agenttrace add-test "python -m unittest discover -s tests"
Record Manual Testing¶
agenttrace add-test "manual QA" --no-execute --note "Checked the feature in the browser."
Add Review Notes¶
agenttrace add-review review-notes.md
Link A GitHub Pull Request¶
With a PR number:
agenttrace pr 42
With more details:
agenttrace pr 42 --title "Add validation" --base main --head feature/validation
With a full URL:
agenttrace pr https://github.com/acme/widgets/pull/42
Record Evaluation Evidence¶
agenttrace eval benchmark-123 --score 91.5 --regression passed --note "No regression."
Show Current Evidence Policy¶
agenttrace policy
Change Evidence Policy¶
Require review notes:
agenttrace policy --require-reviews
Require a clean latest snapshot:
agenttrace policy --require-clean-snapshot
Allow failed tests in the policy result:
agenttrace policy --allow-failed-tests
Generate A Report¶
agenttrace report
Generate The Dashboard¶
agenttrace dashboard