1. Create a source
In the ReasonBlocks dashboard, choose Data, create a data source and generate its connection key. Copy the complete HTTPS capture URL for your provider:- OpenAI Chat Completions: a URL ending in
/capture/SOURCE_ID/openai/v1. - Anthropic Messages: a URL ending in
/capture/SOURCE_ID/anthropic.
REASONBLOCKS_CAPTURE_KEY. Keys expire
after seven days; rotating the connection key invalidates the previous one.
2. Let your coding agent connect the project
x-rb-run header.
The setup CLI and helper are published on PyPI as
rbtrace==1.2.1. It labels
runs automatically when the generated helper is imported. If a project
already has a generated 1.1.0 connection, python -m rbtrace migrate upgrades
its helper in place, keeping the source URL and backing up the original files; see
Migrate an older generated connection.3. Verify capture
Run the local check,python -m rbtrace doctor --path . --json, in your
application environment and test the actual entrypoint. When you run a real
workflow, confirm that its records appear in Data. The local check verifies
configuration and capture-key presence; it does not contact the service or
validate credentials remotely.
Model calls use your provider account and incur its normal fees. See
Integrating your agent for task boundaries and coverage.

