import type Anthropic from '@anthropic-ai/sdk'; import type { AgentLLMIntegration } from '../types'; import type { AnthropicLlmIntegrationConfig } from './types'; /** * Creates an Arvo-compatible LLM Adapter for Anthropic Claude models. * * This factory configures an integration that bridges the generic `Arvo` agent runner with the specific * Anthropic API requirements. It includes built-in features for: * * - **Structured Outputs:** Automatically converts Zod schemas to JSON schema format and instructs * Claude to respond with valid JSON matching the schema. * - **Token Optimization:** Automatically replaces large media payloads (images/files) with placeholder * text in the conversational history after they have been processed once to reduce context window usage. * - **Observability:** Instruments calls with OpenInference-compliant OpenTelemetry attributes, * including detailed input/output recording and token usage. * - **Safety:** Automatically injects a "tool limit reached" system instruction when the agent * exhausts its configured tool budget. * * @param client - An initialized `Anthropic` SDK client instance. * @param config - Configuration for model parameters (e.g., temperature, max tokens), cost calculations, and telemetry metadata. * @returns An `AgentLLMIntegration` function ready for use with `createArvoAgent`. */ export declare const anthropicLLMIntegration: (client: Anthropic, config?: AnthropicLlmIntegrationConfig) => AgentLLMIntegration; //# sourceMappingURL=index.d.ts.map