Self-hosted, AI-powered resume builder for software developers.
One sentence in → polished, ATS-optimised resume out — running entirely on your own machine.

Table of contents
- What it does
- Why self-host?
- Quick start (Docker)
- Build from source
- Features
- Tech stack
- Architecture & pipeline
- Configuration
- Running without Docker
- Testing
- Contributing
- License
What it does
StackResume turns minimal input into a polished, interview-ready software-developer resume. The multi-agent pipeline:
- Parses your message into structured data, with optional persistent profile memory injected automatically.
- Generates a complete resume JSON with STAR-format bullets and quantified metrics.
- Reviews & enhances in a loop — a Reviewer agent scores ATS compatibility, writing quality, impact, and completeness (0–100 each), then an Enhancer rewrites weak bullets and injects missing keywords. Loops until the score crosses
MIN_QUALITY_SCORE (default 82) or hits MAX_REVIEW_ITERATIONS (default 3).
- Tailors — paste a job description to unlock a cover letter and a library of outreach email templates alongside the resume.
- Exports to PDF, Word (
.docx), or OpenDocument (.odt) across five visual templates.
Everything is wrapped in a chat-style web UI with persistent sessions, search, favourites, an application tracker, and a live LLM activity log.
Why self-host?
StackResume is built to live on your infrastructure — a laptop, a homelab box, a private VPS, a corporate VM. Nothing is rented, nothing phones home.
- Your data stays put. Sessions, profile, master resumes, and uploads sit in a single SQLite file under the bind-mounted
./data directory. Back it up, encrypt it, move it between machines — it's a flat file.
- No SaaS, no telemetry, no tracking. The container talks to one place: whichever LLM provider you configure. Nothing else leaves the box.
- Bring your own key — or skip keys entirely. Plug in OpenAI / Anthropic / Google Gemini, or point at a local Ollama install for fully offline, zero-cost inference. No vendor lock-in.
- Open source under GPL-3.0. Read it, audit it, fork it, patch it. The whole pipeline — agents, prompts, document renderers — is in this repo.
- One container, anywhere Docker runs. Multi-arch image (
amd64, arm64) — runs on a Raspberry Pi just as happily as on a bare-metal server.
- Optional single-user auth. Flip one env var to put it behind SHA-512 + session-token login if you expose it on a LAN or behind a tunnel.
Quick start (Docker)
No clone needed — pull the pre-built multi-arch image (amd64 / arm64) straight from Docker Hub.
Minimal:
docker run -d -p 8000:8000 -v ./data:/data sathvikrao/stackresume:latest
API keys and provider settings can be configured from the in-app ⚙️ Settings UI after the container is running.
Full docker-compose.yml (all options)
services:
stackresume:
image: sathvikrao/stackresume:latest
container_name: stackresume
ports:
- "8000:8000"
volumes:
- ./data:/data
environment:
# ── LLM Provider ────────────────────────────────────────────────────────
- LLM_PROVIDER=google # openai | anthropic | google | ollama | custom
- LLM_MODEL=gemini-2.5-flash
- LLM_TEMPERATURE=0.7 # 0 = deterministic, 1 = creative
# ── API Keys (set the one matching LLM_PROVIDER) ────────────────────────
- OPENAI_API_KEY=
- ANTHROPIC_API_KEY=
- GOOGLE_API_KEY=
- OPENAI_BASE_URL= # custom OpenAI-compatible endpoint only
# ── Ollama (local inference, no key needed) ──────────────────────────────
- OLLAMA_BASE_URL=http://host.docker.internal:11434
# ── Pipeline tuning ──────────────────────────────────────────────────────
- MAX_REVIEW_ITERATIONS=3 # max Reviewer→Enhancer loops
- MIN_QUALITY_SCORE=82.0 # stop early once score crosses this (0–100)
# ── Auth (off by default) ────────────────────────────────────────────────
- AUTH_ENABLED=false
- AUTH_USERNAME=admin
- AUTH_PASSWORD= # must be set when AUTH_ENABLED=true
# ── LangSmith tracing (optional) ─────────────────────────────────────────
- LANGSMITH_API_KEY=
- LANGSMITH_PROJECT=stackresume
- LANGSMITH_TRACING=false
# ── Misc ─────────────────────────────────────────────────────────────────
- CORS_ORIGINS=* # collapses to same-origin when AUTH_ENABLED=true
- DATABASE_URL=sqlite+aiosqlite:////data/resume_builder.db
- DEBUG=false
extra_hosts:
- "host.docker.internal:host-gateway" # needed for Ollama on the host
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 20s
docker compose up -d
Open http://localhost:8000 once the container is running.
Build from source
Prefer building the image yourself? Clone the repo, drop in a provider key, and let docker compose do the rest.
1. Clone and configure
git clone https://github.com/Sathvik-Rao/StackResume.git
cd StackResume
cp .env.example .env
2. Set a provider key in .env
# Google Gemini (default — fast and cheap)
LLM_PROVIDER=google
LLM_MODEL=gemini-2.5-flash
GOOGLE_API_KEY=AIza...
# OpenAI
# LLM_PROVIDER=openai
# LLM_MODEL=gpt-4o
# OPENAI_API_KEY=sk-...
# Anthropic Claude
# LLM_PROVIDER=anthropic
# LLM_MODEL=claude-sonnet-4-6
# ANTHROPIC_API_KEY=sk-ant-...
# Local Ollama — no API key needed
# LLM_PROVIDER=ollama
# LLM_MODEL=llama3.1
[!TIP]
No API key? Use LLM_PROVIDER=ollama with a local Ollama install — free, no internet required. Run ollama pull llama3.1 first.
3. Run
docker compose up --build
Open http://localhost:8000. The backend serves both the API and the frontend from the same port.
[!TIP]
No Docker? See Running without Docker.
Features
Multi-agent pipeline
Nine specialised agents orchestrated with LangGraph — each resume goes through intent guarding, input parsing, optional JD analysis, generation, a Reviewer→Enhancer quality loop, and finalisation. If a job description is attached, a Cover Letter Writer and Outreach Writer run after finalisation.
| Agent |
Role |
| Intent Guard |
Blocks off-topic messages with a polite redirect — regex pre-filter first, LLM fallback only for ambiguous cases. |
| Input Parser |
Extracts structured data from any free-form input. |
| JD Analyzer |
(JD only) Pulls ATS keywords, required / preferred skills, and seniority from the job description. |
| Resume Generator |
Produces the full JSON resume with STAR bullets and realistic fill for any missing fields. |
| Quality Reviewer |
Scores ATS, writing quality, impact, and completeness (0–100 each). |
| Resume Enhancer |
Rewrites weak bullets, injects missing keywords, fixes every issue the Reviewer flagged. |
| Finalizer |
Stamps final metadata (iteration count, version, timestamp). |
| Cover Letter Writer |
(JD only) Drafts a tailored cover letter. |
| Outreach Writer |
(JD only) Drafts 2–4 templates — cold-application, LinkedIn, referral, follow-up. |
Job description tailoring
Click 🎯 Tailor to JD, paste any JD, and drag the intensity slider (0–100):
| Range |
Effect |
| 100 |
Full rewrite — every section mirrors the JD. |
| 65–89 |
Heavy — summary + competencies tailored, bullets reordered. |
| 35–64 |
Moderate — minor adjustments, a few JD keywords surfaced. |
| 10–34 |
Light — 1–2 small tweaks. |
| 0–9 |
None — JD used as background context only. |
Persistent profile (My Profile)
Click 🧠 My Profile to store your identity, work history, projects, education, and target roles across five tabs. Profile data is injected into every pipeline run while the 🧠 Use memory toggle is on — a global preference that persists across chats, sessions, and reloads (stored server-side). Each generated reply also notes whether your master resume and/or profile memory were used, so it's clear later what fed the result.
Import / Export — download your profile as a portable JSON file and load it back on any install. Invalid files are rejected with a clear error.
Master resumes
Save any generated resume as a named master resume and mark one as the default — great for keeping a polished base and forking variants per role. Three ways to put them to work:
- ⭐ Use Master (input bar) attaches a master as the starting point for your next message, so you can tailor it to a JD or refine it through the pipeline.
- ⭐ New from Master (sidebar) opens a fresh chat with the master loaded verbatim — no AI changes. Click the main button for your default, or the caret to pick any saved master. Ideal for forking a polished base, or just attaching the application tracker to an untouched copy.
- Compare to Master on any resume version diffs it against a chosen master, so you can see exactly what tailoring changed relative to your base.
Manual editor + Re-score
Every resume has an ✏ Edit tab for inline editing of every section — summary, bullets, skills, education, etc. 💾 Save edits stamps metadata.manually_edited=true so subsequent agent runs preserve your changes. 🎯 Save & Re-score reruns only the Quality Reviewer — fresh scores in seconds without touching any content.
Document export
| Format |
Notes |
| PDF |
Universal, print-ready. Recommended for job portals. |
Word (.docx) |
Editable in Word / Google Docs / Pages. |
OpenDocument (.odt) |
Editable in LibreOffice / OpenOffice. |
Five templates: Classic ATS (max ATS compatibility), Modern Clean (blue accents), Executive (dark slate), Dark Theme (deep navy), and LaTeX (serif, academic — Computer Modern with Font Awesome icons). Font size (9 / 10 / 11pt) and page cap (auto / 1 / 2) configurable per export. The Export modal includes a live side-by-side PDF preview that updates as you change options.
Application tracker
Each session carries an optional tracker — status, apply URL, account email, masked password, and notes. Status pills appear in the sidebar so you can scan your whole pipeline at a glance.
Multi-provider support
Switch provider and model at any time from ⚙️ AI Model Settings. Supported: OpenAI, Anthropic, Google Gemini, Ollama (local), and any OpenAI-compatible custom endpoint.
Optional authentication
Set AUTH_ENABLED=true to require login. Passwords are SHA-512 hashed client-side; the server compares with secrets.compare_digest and issues a UUID session token valid for 24 h.
[!WARNING]
You must also set AUTH_PASSWORD. If it's empty the server returns 503 Server auth misconfigured on every login attempt.
Pipeline tuning
Key generation parameters are configurable via .env or the in-app settings UI:
| Parameter |
Default |
Effect |
LLM_TEMPERATURE |
0.7 |
Controls output creativity — 0 is fully deterministic, 1 is most creative. |
MAX_REVIEW_ITERATIONS |
3 |
How many Reviewer→Enhancer loops to allow before accepting the resume. |
MIN_QUALITY_SCORE |
82.0 |
Overall score threshold (0–100) at which the loop stops early. |
LangSmith tracing
Set LANGSMITH_API_KEY + LANGSMITH_TRACING=true to stream every LLM call to your LangSmith project. A Test trace button in Settings verifies the connection end-to-end.
Tech stack