100% Free ยท Local AI ยท Open Source

LeetCode on Autopilot

AI agent that automatically reads, solves, debugs, and submits LeetCode problems using free local models via Ollama. No cloud. No cost.

leetai-agent โ€” agent.log
[SOLVER]Analyzing "Two Sum" (Easy) ยท deepseek-coder:6.7b
[SOLVER]Pattern identified: Hash Map ยท O(n) time, O(n) space
[SOLVER]Solution generated โ†’ 8 lines
[REFLECTOR]Reviewing edge cases... confidence: 97%
[OPTIMIZER]No improvement needed โ€” already optimal
[AGENT]โœ… Code injected into Monaco editor
[AGENT]โœ… All test cases passed โ€” Submitting...
[AGENT]๐ŸŽ‰ Accepted! Runtime: 45ms (beats 96.2%)
โ–Š

Everything you need

Production-grade automation with a multi-agent AI pipeline

One-Click Auto Solve

Detects the problem, generates an optimized solution, and pastes it โ€” all automatically.

Multi-Agent AI Pipeline

Solver โ†’ Reflector โ†’ Optimizer โ†’ Debugger. Four specialized agents work in sequence.

100% Local & Free

Runs on Ollama with DeepSeek Coder, CodeLlama, Qwen2.5. No paid API. No data leaves your machine.

Analytics Dashboard

Track accuracy, tokens used, solve time, difficulty breakdown, and model performance.

Auto Debug & Retry

Failed test cases are automatically analyzed and fixed. Up to 5 retries per problem.

Chrome Extension

Manifest V3 extension that injects directly into the LeetCode editor with a floating UI.

Free AI Models

All models run locally via Ollama. Zero cost, full privacy.

DeepSeek Coder
6.7B
Recommended
CodeLlama
7B
Fast
Qwen2.5 Coder
7B
Accurate
Phi-3 Mini
3.8B
Lightweight

Quick Setup

Up and running in under 5 minutes

01
Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull deepseek-coder:6.7b
02
Start Backend
cd backend && npm install && npm run dev
03
Start Dashboard
cd dashboard && npm install && npm run dev
04
Load Extension
cd extension && npm run build
# Load dist/ in chrome://extensions

Start solving now

Open the dashboard and let AI handle the rest

Open Dashboard