This is a community project for letting ai models play a puzzle game to find out which one is the best.
Before you can run the project, you'll need to setup a
npm i
npm run dev
This starter project works with convex so to run you need to use the .env.example file to create your own .env file.
If you want to mock all models - in convex, please add the following environment variable:
npx convex env set FLAG_MOCK_MODELS true
If you want to show a Test page - in convex, please add the following environment variable:
npx convex env set FLAG_TEST_PAGE true
If you want to have cron jobs running - in convex, please add the following environment variable:
npx convex env set FLAG_CRON_JOBS true
Add optional environment variable/s for simulating real AI models without mockup responses(when mockup flags are set to FALSE):
npx convex env set GEMINI_API_KEY YOUR_API_KEY
npx convex env set OPENAI_API_KEY YOUR_API_KEY
npx convex env set ANTHROPIC_API_KEY YOUR_API_KEY
npx convex env set PERPLEXITY_API_KEY YOUR_API_KEY
npx convex env set MISTRAL_API_KEY YOUR_API_KEY
also, you may need to run, but I think the initial setup does that.
npx @convex-dev/auth
to get the proper convex jwks setup
When deploying you need to set the HOSTNAME of the application to your FQDN, such as https://you-domain.com
Want to help build on this project?