alepha@docs:~/docs/.content/release/framework/docs/packages/alepha/ai$
cat anthropic.md | pretty
1 min read
Last commit:

#Alepha - Ai Anthropic

#Installation

Part of the alepha package. Import from alepha/ai/anthropic.

npm install alepha

#Overview

Plugin for Alepha AI that talks to the Anthropic Messages API, over plain fetch: streaming, tool use, prompt caching and typed errors.

Registering it makes AnthropicAiProvider the AiProvider, on every runtime. It needs AI_API_KEY and AI_MODEL (or a model on each $ai), and fails at start without them.

#API Reference

#Providers