Get your key from here.
Create a virtual environment
Open the Terminal and create a python virtual environment.
Terminal
Install libraries
pip install -U cohere phidata
Export `CO_API_KEY`
export CO_API_KEY=xxx
Run Cohere Agent
python cookbook/providers/cohere/basic.py
Was this page helpful?