My implementation for Jane Street's Figgie in Python
API inspired from: https://github.com/CornellDataScience/FiggieBot
A video walkthrough: Youtube - Figgie Python RL | v1 | LLM agents | websockets
- Clone this repository:
git clone https://github.com/parmarsuraj99/figgie-python-rl
- Move to root dir
cd figgie-python-rl
- Install necessary dependencies
pip install -r requirements.txt
- Setting up the Agents
- Optionally, Put your OpenAI or Anthropic API keys in the
.env-dev
file and rename it to.env
- Or you can replace the AI agents in the
clients.py
file.
- Optionally, Put your OpenAI or Anthropic API keys in the
- Run the server with
python app.py
- Optionally, visit
http://localhost:8000/
in the browser to view server logs
- Optionally, visit
- Run agents with
python clients.py
. This will spin up and connect four agents to the serverand start making tardes. - Enjoy