1
Create a Python file
Create a file called
session_state_in_context.py2
Add code to file
session_state_in_context.py
3
Create a virtual environment
Open the
Terminal and create a python virtual environment.4
Install libraries
5
Set OpenAI Key
6
Set your
OPENAI_API_KEY as an environment variable. You can get one from OpenAI.7
Mac
Windows
8
Run the agent
9
Find All Cookbooks
Explore all the available cookbooks in the Agno repository. Click the link below to view the code on GitHub:Agno Cookbooks on GitHub