1
Create a Python file
2
Add the following code to your Python file
knowledge_search.py
3
Create a virtual environment
Open the
Terminal and create a python virtual environment.4
Install libraries
5
Export your OpenAI API key
6
Start an AgentOS Server
Make sure you have an AgentOS server running with knowledge configured. See Creating Your First OS for setup instructions.
7
Run the Client