Installation
Setting Up API Keys
Before using Anthropic with AgentOps, you need to set up your API keys. You can obtain:- ANTHROPIC_API_KEY: From the Anthropic Console
- AGENTOPS_API_KEY: From your AgentOps Dashboard
.env file.
Usage
Initialize AgentOps at the beginning of your application to automatically track all Anthropic API calls:Examples
More Examples
Understanding Tools
Claude integration with tool usage and advanced features
Sync Example
Shows synchronous calls with the Anthropic SDK.
Async Example
Demonstrates asynchronous calls with the Anthropic SDK.

