Your first contribution, with a mentor

Make your first PR
with confidence.

A beginner-friendly AI mentor to help you understand GitHub issues, navigate unfamiliar codebases, plan tests, prepare pull requests, and think through contribution safety — powered by a model running on your own computer.

Try the hosted AI mentor below. Local Ollama setup remains available if you prefer running a model on your own computer.

Try FirstPR AI online

Your open-source mentor, in the browser.

Choose a skill, paste your question or GitHub issue, and get guidance from the hosted AI model. Don’t include passwords, API keys, or private information.

Cloud mode sends your prompt to Groq to generate a response. Prompts are not intentionally stored by this site; the provider may process requests under its own terms. Review all suggestions before using them.

Five focused skills
🧩

Issue Analyzer

Turn a confusing issue into a clear problem, requirements, and investigation plan.

🧭

Codebase Explorer

Plan where to look and how to understand an unfamiliar repository.

🧪

Test Planner

Identify useful test cases before and after making a change.

🔀

PR Mentor

Organize a clear, reviewable contribution workflow.

🛡️

Safety Checker

Pause and review risky commands or contribution steps before acting.

Run it on your machine

Choose cloud AI or your own local model.

The hosted demo uses a cloud AI endpoint. You can still run FirstPR AI locally with Python, Gradio, and Ollama; local mode does not need a cloud API key.

1
Install the prerequisites

Install Python 3.10+, Git, and Ollama.

2
Clone and install

Run these commands in PowerShell.

3
Download the model and launch

Open the local interface in your browser.

git clone https://github.com/prabhtheone/FirstPR-AI.git
cd FirstPR-AI
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements.txt
ollama pull llama3.2:3b
python app.py

Then open http://127.0.0.1:7860. Keep Ollama running while using the app. If PowerShell blocks virtual-environment activation, use .venv\Scripts\python.exe -m pip install -r requirements.txt and .venv\Scripts\python.exe app.py.

Privacy note
Cloud mode sends prompts to the configured AI provider for processing. For sensitive or confidential material, use the local Ollama app instead. Never paste passwords, tokens, or private keys.