Installation
Set up Agent Contracts in minutes
In this section, we will show how to quickly instrument your agent code to collect traces and install agent contracts to run offline verification or runtime certification.
Install agent contracts
Install agent contracts.
Install relari-otel in your Agent
In your agent repository, install the relari-otel
package to collect traces.
Option A: Set up Agent Contracts for Offline Verification
In the 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).
Initialize telemetry code in your agent code
Option B: Set up Agent Contracts for Runtime Certification
In the 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).
Initialize telemetry code in your agent code
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