The complete AI-powered open-source contribution platform. OpenSourcePilot helps developers discover the right issues, analyze codebases, plan solutions, generate test suites, and draft pull requests in one unified workflow.
- Web Client: https://open-source-pilot.vercel.app/
- Interactive API Docs: https://web-production-5369f.up.railway.app/docs
- GitHub Repository: https://github.com/coderleeon/OpenSource-Pilot
OpenSourcePilot bridges the gap between searching for issues and writing pull requests. It organizes the contribution lifecycle into a logical, three-phase flow:
βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ
β 1. DISCOVER β βββ> β 2. ANALYZE β βββ> β 3. CONTRIBUTE β
β Open Source Radar β β Repository Insights β β AI-Guided Coding β
βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ
- Discover (Open Source Radar): Scan the open-source ecosystem for issues matching your skills, experience, and interests. Assess community health, merge confidence, and contributor fit before starting.
- Analyze (Codebase Exploration): Understand the target repository's internal modules, structure tree, README conventions, and missing capability areas.
- Contribute (Solution & PR Drafts): Generate target-relevant files lists, step-by-step solution drafts, unit/integration test suites, and review-ready pull requests.
Search and evaluate GitHub repositories to find high-value open-source opportunities tailored to you.
- Dynamic Contributor Fit Scoring: Grade issue compatibility (0-100) and learning return based on user profile.
- Merge Probability Engine: Assess the likelihood of PR acceptance based on maintainer turnaround and issue history.
- Repository Health Analytics: Track community metrics, release frequency, and open issue trends.
- Missing Feature Detection: Receive LLM-generated feature suggestions to pitch to project maintainers.
- Local Saved Pipeline: Track and manage saved contribution targets locally.
Parse and index codebases to locate relevant segments without manual digging.
- Structure & Stack Analysis: Extract codebase directory structures and auto-detect primary languages and framework stacks.
- ChromaDB Vector Indexing: Create code-snippet embeddings using
sentence-transformersfor instant code context lookup. - Semantic Context Retrieval: Match user query descriptions directly with relevant source files.
Go from understanding an issue to a complete contribution draft.
- Actionable Contribution Plans: Auto-generate root-cause hypotheses and sequential step-by-step implementation lists.
- Multi-Language Test Generators: Generate unit and integration test boilerplate for
pytest,Jest,JUnit,Go testing, andRust testing. - PR Draft Synthesis: Formulate pull request summaries, Conventional Commits titles, and reviewer checklists.
OpenSourcePilot separates orchestration, scheduling, and AI agent execution layers for testability and scaling:
flowchart TD
Client["Next.js React Frontend"] <-->|REST API / JSON| FastAPI["FastAPI Backend Gateway"]
subgraph Services ["Application Services"]
WorkflowService["Contribution Workflow Service"]
RadarService["Radar Service"]
RepoService["Repo Service"]
end
FastAPI <--> Services
subgraph Agents ["AI Agent Layer"]
WorkflowAgent["Contribution Workflow Agent"]
RadarAgent["Radar Agent"]
RepoAgent["Repo Agent"]
PlanningAgent["Planning Agent"]
TestGenAgent["Test Gen Agent"]
PRAgent["PR Agent"]
end
WorkflowService <--> WorkflowAgent
RadarService <--> RadarAgent
RepoService <--> RepoAgent
WorkflowAgent --> PlanningAgent & TestGenAgent & PRAgent
subgraph External ["Data & Context Engines"]
GitHub["GitHub API (PyGithub)"]
Chroma["ChromaDB Vector Store"]
LLM["LLM Layer (OpenRouter / Claude / OpenAI)"]
end
RepoAgent <--> GitHub
RadarAgent <--> GitHub & LLM
PlanningAgent & TestGenAgent & PRAgent <--> LLM
Chroma <--> WorkflowService
Input developer profiles and get suited contribution listings.

Refine listings by skill keywords and contribution ease levels.

Understand repository health and merge probability indicators.

Explore directory trees, tech stacks, and missing feature recommendations.

Plan changes, build integration tests, and output complete Pull Request descriptions.

- Frontend: Next.js (TypeScript, Tailwind CSS, Lucide icons)
- Backend: FastAPI, Uvicorn, Python 3.12+
- Semantic Search: ChromaDB,
sentence-transformers(all-MiniLM-L6-v2embeddings) - AI Engine: OpenRouter SDK (Defaulting to Anthropic Claude 3.5 Haiku)
- GitHub Integration: PyGithub, GitPython
- Testing: Pytest
git clone https://github.com/coderleeon/OpenSourcePilot.git
cd OpenSourcePilotCreate a .env file in the root directory:
OPENROUTER_API_KEY=your_openrouter_api_key
GITHUB_TOKEN=your_github_personal_access_token
LLM_PROVIDER=openrouter
OPENROUTER_MODEL=anthropic/claude-3.5-haiku# Set up virtual environment
python -m venv .venv
.venv\Scripts\activate # Windows
source .venv/bin/activate # macOS/Linux
# Install dependencies and start server
pip install -r requirements.txt
uvicorn app.main:app --reloadAPI docs will be available at: http://localhost:8000/docs
cd frontend
npm install
npm run devFrontend interface will be available at: http://localhost:3000
pytest -vPOST /api/v1/radar/discover- Scan for suitable issues based on skills, tech, interest, and experience level.POST /api/v1/radar/repo-health- Evaluate repository health scores, velocity, and active community trends.POST /api/v1/radar/missing-features- Fetch missing capability suggestions for a target repository.
POST /api/v1/repo/analyze- Clones a repository, parses structure, and indexes files into vector storage.POST /api/v1/search/code- Query code snippets semantically.
POST /api/v1/issue/list- List open issues for a repository.POST /api/v1/issue/analyze- Retrieve specific issue details and classify type/difficulty.POST /api/v1/issue/complete-workflow- Execute complete synthesis workflow (Analyze β Plan β Test β PR).
- Open Source Radar: Match issues dynamically based on dev profile.
- Merge Confidence Estimator: Predict PR merge probability.
- Health Audits: Analyze repo release frequency and maintainer activity.
- Missing Capability Detectors: Suggest README optimizations and missing feature hooks.
- Visual Dashboard: Redesigned Next.js visual suite with localized saved pipelines.
- Semantic vector retrieval using ChromaDB.
- Dynamic test script generators for JavaScript, Python, Rust, and Go.
- Contextual Conventional Commit PR drafting.
- Dockerization and multi-cloud configurations (Railway, Vercel).
Developed and maintained by Leeon John.
- Twitter: @LeeonJohn_
- LinkedIn: Leeon John Profile
- GitHub: @coderleeon