Use the same protected API from a terminal or send OTLP JSON traces from an agent runtime. Credentials are supplied through environment variables and are never embedded in commands.
01
Install the beta CLI
From a checkout of this repository:
cd apps/cli
npm link
agentfixit status
02
Upload and correlate
Use the member access code as a local environment value:
export AGENTFIXIT_API_KEY="…"
agentfixit diagnose trace.jsonl --repo owner/repository --commit "$GIT_COMMIT"
agentfixit correlate AF-XXXX --base-ref "$LAST_GOOD_COMMIT"
03
Send OTLP JSON
The hosted endpoint accepts OTLP/HTTP JSON when its separate ingest key is configured.
agentfixit otlp trace.json --ingest-key "$AGENTFIXIT_INGEST_KEY"
04
Retrieve reports
Fetch incident JSON or save the cited Markdown report:
agentfixit get AF-XXXX --json
agentfixit report AF-XXXX --output agentfixit-report.md