This integration is only for
Agent tracing. If you are looking for the Anthropic integration with the AI gateway, please see the
Anthropic integration.
The Anthropic Agent SDK enables you to build agentic workflows powered by Claude. Keywords AI provides a TypeScript/JavaScript exporter that automatically captures and sends traces from the Anthropic Agent SDK to Keywords AI for monitoring, debugging, and optimization.
Quickstart
Install the exporter, then configure it to send traces to Keywords AI.
Prerequisites
Set up your environment variables:
If you are on the enterprise platform, please use your enterprise endpoint as the base URL.
Hello World example
Using a custom endpoint
Configuration
All configuration can also be passed directly to the constructor, which takes priority over environment variables: