Super simple boilerplate for using the OpenAI Assistant API + Cursor Rules for you to start building personal AI Agents
-
Clone the repository:
git clone https://github.com/ali-abassi/OpenAI_Assistant_API_Boilerplate.git -
Change
.SAMPLEenvto.envand add your API keys:- Open the
.envfile - Add your OpenAI API Key
- Add your Assistant ID
- Open the
-
Install the required packages:
pip install -r requirements.txt -
Run the script:
python main.py -
Start chatting with your personal assistant!
-
Use the cursor composer to start adding your own tools along with documentation details from the apis you want to use. Use the attached
AddTools_CursorInstructions.mdto help you.
- OpenAI Assistant API integration
- File operations (read/write)
- Rich terminal interface
- Conversation persistence so it recalls your prior convos until you tell it to 'reset'