ELELEM-ANTHROPIC(7)
elelem manual ELELEM-ANTHROPIC(7)Name
elelem-anthropic — Claude, through the Anthropic API
Synopsis
gem install elelem-anthropic elelem chat -p anthropic [--model name] elelem chat -p vertex [--model name]
Description
Connects elelem to Claude through the Anthropic Messages API, or through Google Cloud Vertex AI. One gem, two providers.
Full documentation: elelem-anthropic.
Environment
ANTHROPIC_API_KEY- Required for -p anthropic. Sent as the x-api-key header.
ANTHROPIC_MODEL(default claude-opus-4-5-20250514)- Model for -p anthropic when –model is not given.
VERTEX_MODEL(default claude-opus-4-5@20251101)- Model for -p vertex when –model is not given. Part of the request URL.
GOOGLE_CLOUD_PROJECT- Required for -p vertex. The Google Cloud project that hosts the model.
GOOGLE_CLOUD_REGION(default us-east5)- Vertex AI region for -p vertex.
Requirements
Ruby 4.0 or later. An Anthropic API key (for -p anthropic). The gcloud CLI with application default credentials (for -p vertex).
Status
Ready: works today and is used daily. Published on RubyGems. History: commits.
Bugs
Known issues: plugin:anthropic. Patches are welcome by email; see git-send-email.io.
See also
elelem(1), elelem-openai(7), elelem-ollama(7), documentation, source