Skip to main content
Loading navigation
Back to prompt library

Claude Agents SDK & Braintrust Setup

Linked challenge: RWA Token Risk Evaluation & Anomaly Monitoring with Claude Agents SDK and Braintrust

Prompt source

implementation4 lines3 sectionsNo variables0 checklist items
Initialize a Claude Agent runner wrapped with Braintrust logging instrumentation. Define tools for oracle telemetry retrieval and smart contract state inspection.

import braintrust
from anthropic import Anthropic

# Initialize Braintrust logger and set up Claude agent execution loop