Example

Use Claude with your Agent:

Usage

You can get your API key from Anthropic here.

1

Create a virtual environment

Open the Terminal and create a python virtual environment.

2

Install libraries

pip install -U anthropic phidata
3

Export `ANTHROPIC_API_KEY`

export ANTHROPIC_API_KEY=xxx
4

Run Claude Agent

python cookbook/providers/claude/basic.py

Information