bprep is an AI-powered agent that helps you prepare for anything at the last moment by presenting you with a short 5-question AI-generated quiz. This project leverages a free model from OpenRouter—no need to buy OpenAI credits. Special thanks to Agno for making this project even more fun than expected!
demo.mp4
- Quick, 5-question AI-generated quiz to help you prepare anything.
- MCQ Agent using Agno.
- Works with free gemini models from Openrouter
- Frontend: NextJS
- Backend: FastAPI
cd frontend
-
Install Dependencies:
pnpm install
-
Start the Development Server:
pnpm dev
cd backend
-
Create a Python Virtual Environment:
python3 -m venv .venv
-
Activate the Virtual Environment:
On macOS/Linux:
source .venv/bin/activateOn Windows:
.venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Set Your OpenRouter API Key:
export OPENROUTER_API_KEY="KEY"
-
Run the FastAPI Development Server:
fastapi dev
- Frontend: After running
pnpm dev, open your browser and go tohttp://localhost:3000to see the app in action. - Backend: The FastAPI server will run on the configured port (default is typically 8000) and handle all API requests.
Happy coding!