1
Install agent contracts
Install agent contracts.
2
Install relari-otel in your Agent
In your agent repository, install the
relari-otel
package to collect traces.3
Option A: Set up Agent Contracts for Offline Verification
In the Initialize telemetry code in your agent code
agent-contracts
directory, start the agent contract service for verification. You can come back to this step after you’ve created your first verification specification (more details in Scenarios and Specifications).app.py
4
Option B: Set up Agent Contracts for Runtime Certification
In the Initialize telemetry code in your agent code
agent-contracts
directory, start the agent contract service for runtime certification. You can come back to this step after you’ve created your first certification specification (more details in Scenarios and Specifications).app.py
Next Steps
Now that you’ve installed agent contracts:- Learn more about creating contracts and specifications
- Learn more about using agent contracts for offline verification and runtime certification