Anthropic Integration
Claude in your product. Through ee.ai.
Claude Opus, Sonnet, and Haiku — all through the same ee.ai interface. Tool use, 200k context, streaming, vision — and you can switch to GPT or Gemini with one line.
Models
Three tiers. One interface.
Claude Opus
Most capable model — complex analysis, nuanced writing, multi-step reasoning.
Claude Sonnet
Best balance of speed and intelligence — ideal for production workloads.
Claude Haiku
Fastest model — near-instant responses for high-throughput use cases.
Code
Model-agnostic by design.
// Generate with Claude Sonnet
const result = await ee.ai.generate({
model: 'claude-sonnet-4-20250514',
prompt: 'Analyse this contract for risk factors',
context: await ee.storage.get('contracts/acme-nda.pdf'),
tools: [
{ name: 'searchPrecedent', fn: ee.search.legal },
{ name: 'flagRisk', fn: ee.workflow.createAlert },
],
})
// Switch models with one line
const fast = await ee.ai.generate({
model: 'claude-haiku',
prompt: 'Classify this support ticket',
})Features
Full Claude surface. Unified API.
Tool Use
Claude calls your functions — search, compute, store — in a structured loop.
Long Context
200k token context window — entire codebases, full documents, long conversations.
Streaming
Token-by-token streaming for chat UIs and real-time applications.
Vision
Analyse images, charts, diagrams, and screenshots — multimodal natively.
Model-agnostic SDK
Switch between Claude, GPT, and Gemini with one line. No vendor lock-in, no code changes, no downtime.
Connect Anthropic