Skip to content

Glossary: RAG Basics

ANTHROPIC_API_KEY

Also written: API key

The environment variable that holds the secret key letting your program call Claude. Keep it out of code; if it is missing, the Kettle & Crane code falls back to a free demo mode.

Where the book teaches it

Related terms

Demo modeEnvironment variable