Before building an agent that uses an Anthropic model, you’ll need to create an
Anthropic developer account and get an API key.
Configuration
The name of the Anthropic model you
want your agent to use. By default, your agent will use
claude-3-7-latest.The name of the secret which contains your Anthropic API key. NOTE: This is the name of the
secret, not your actual secret key!
Creating the Model
Callinganthropic() with no arguments will use all default values:
string argument will set the model name: