Skip to main content

Package

npm install aden-ts

GitHub Repository

View source code and contribute

Supported Providers

ProviderSDK PackageStatus
OpenAIopenaiFull support (Chat, Responses API, streaming)
Anthropic@anthropic-ai/sdkFull support (Messages API, streaming, tools)
Google Gemini@google/generative-aiFull support (generateContent, chat)
Google GenAI@google/genaiFull support (for Google ADK)

Framework Compatibility

FrameworkIntegration
Vercel AI SDKVia fetch instrumentation
LangChainInstruments underlying providers
LlamaIndexWorks with instrumented providers
MastraFull agent stack tracking

Metrics Captured

MetricDescription
input_tokensPrompt/input tokens used
output_tokensCompletion/output tokens generated
cached_tokensTokens served from prompt cache
reasoning_tokensReasoning tokens (o1/o3 models)
latency_msRequest duration in milliseconds
modelModel name (e.g., gpt-4o, claude-3-5-sonnet)
providerProvider name (openai, anthropic, gemini)
tool_callsFunction/tool calls made
trace_idOpenTelemetry-compatible trace ID
agent_stackNamed agent context for multi-agent systems

SDK Documentation