पत्रलेख (PatraLekh) joins two Hindi words: पत्र (patra) — "letter" or "document" — and लेख (lekh) — "writing". Together they mean "letter-writer" or "document-writer".
New to this? Press Watch the tour and just follow along — no technical knowledge needed.
This guide walks you through downloading PatraLekh, installing it, adding your AI key, building your knowledge base, and your first run, with a tour of the Settings and Telemetry screens. The screens below are visual previews of the app.
1
Download
Go to the Releases page and download the file that matches your computer.
Mac (Apple Silicon — M1/M2/M3/M4):PatraLekh-…-macos-arm64.zip
Mac (Intel):PatraLekh-…-macos-intel.zip
Windows:PatraLekh-…-windows.zip
Linux:PatraLekh-…-linux.zip
github.com/patralekhthf/patralekh/releases/latest
PatraLekh v0.1.0 Latest
Download the file for your OS, unzip, and double-click PatraLekh.
▾ Assets
📦 PatraLekh-v0.1.0-macos-arm64.zip3.8 MB
📦 PatraLekh-v0.1.0-macos-intel.zip4.3 MB
📦 PatraLekh-v0.1.0-windows.zip4.4 MB
📦 PatraLekh-v0.1.0-linux.zip4.3 MB
The Releases page — click the zip for your operating system.
2
Install & open
There is no installer — PatraLekh is a single app. Unzip the download and double-click it. Your browser opens automatically at http://localhost:8080.
macOS blocks free, unsigned apps the first time. Allow PatraLekh once — about 20 seconds:
Double-click PatraLekh. A message says "Apple could not verify…" — click Done.
Open System Settings → Privacy & Security.
Scroll down to Security. Next to "PatraLekh was blocked", click Open Anyway.
Confirm with Touch ID or your password, then click Open.
After this one time, just double-click PatraLekh normally — no more warnings. (On macOS 14 or earlier you can instead right-click PatraLekh → Open → Open.)
Still stuck? Open the Terminal app, type xattr -dr com.apple.quarantine (with a trailing space), drag the PatraLekh app onto the window, and press Return. Then double-click it.
System Settings — Privacy & Security
Security
"PatraLekh" was blocked to protect your Mac.
It is from a developer that cannot be verified.
Open Anyway
Step 3: in System Settings → Privacy & Security, click "Open Anyway" (one time only).
Unzip and double-click PatraLekh.exe.
First time only: SmartScreen may warn — click More info → Run anyway.
In a terminal: chmod +x PatraLekh && ./PatraLekh
On Windows and Linux a small console window stays open while PatraLekh runs — that's the app itself; closing it quits PatraLekh. On macOS it runs as a normal app (no window).
3
First run
On first launch you will see a banner asking you to set up your knowledge base. That is normal — we will do it in the next steps. Click Settings (top right) to begin.
localhost:8080
PatraLekh
New ResumeSettingsTelemetry
No knowledge base yet. The writer needs your career details to work. Set it up in Settings → Knowledge Base.
Job description
Paste the job description here…
Source URL (optional)
https://…
Generate
The home screen on first run, with the "set up your knowledge base" banner.
4
Add your API key
PatraLekh uses your own AI provider key, so you control cost and privacy. Create a key with one provider, then paste it into Settings → API Keys and click Test.
OpenAI is scaffolded but not yet used for generation.
localhost:8080/settings
Settings
ModelsAPI KeysKnowledge BaseRulesSystem
Keys are stored locally on this computer (never uploaded) and used for every generation.
Anthropicconsole.anthropic.com
● Setsk-a…ABCD
Enter a new key to replace…
ShowTestRemove
✓ Key works.
Google Geminiaistudio.google.com
Not set
Paste your API key…
ShowTest
Save keys
Settings → API Keys. Paste a key, Test it, then Save. A green "● Set" badge confirms it.
5
Create your Knowledge Base
The knowledge base is a single Markdown file describing your career — it is the only source PatraLekh uses about you, so it never invents facts. You create it once, in two clicks:
Open Settings → Knowledge Base and click Copy generation prompt.
Paste that prompt into Claude or ChatGPT, and attach your existing resumes, LinkedIn export, and any career documents.
It returns a KNOWLEDGE_BASE.md. Save it, then Upload it here.
You only do this once. To update it later (new job, new achievements), regenerate or edit the file and re-upload. Use Download current to grab the existing one for editing.
localhost:8080/settings
ModelsAPI KeysKnowledge BaseRulesSystem
Current knowledge base
● None loaded— generate and upload one below to start.
1 · Generate it (one-time)
Copy this prompt, paste it into Claude or ChatGPT with your resumes and documents.
Copy generation promptShow prompt
2 · Upload it
Choose FileKNOWLEDGE_BASE.mdUpload
✓ Saved. It will be used on your next resume.
Settings → Knowledge Base: copy the prompt, generate the file with an AI, then upload it.
6
Enable Word output (Pandoc) & pick a folder
In Settings → System, click Download & install next to Pandoc to enable .docx files (no admin rights needed). Markdown is always produced even without it. For the Output folder, click Choose folder… to pick one in a normal system window, or tap a shortcut like Desktop — no typing needed.
localhost:8080/settings
ModelsAPI KeysKnowledge BaseRulesSystem
Pandoc
Required to generate .docx files. Installed privately for this app — no admin rights or Homebrew needed.
Settings → System: install Pandoc with one click, choose your output folder, see the app version.
7
The rest of Settings
Two more tabs round out Settings:
Models — choose which AI model runs each stage of the pipeline (JD Analyzer, Planner, Metrics, Writer, Evaluator). Pick a Quick profile (Fast / Balanced / Quality) or set each stage by hand. A live estimated cost per resume updates as you choose.
Rules — free-form personal rules applied to every resume, one per line (e.g. "always include my portfolio link", "skip my 2-month role at X"). These are enforced by the writer and double-checked by the evaluator.
localhost:8080/settings
ModelsAPI KeysKnowledge BaseRulesSystem
Quick profile
Anthropic FastAnthropic BalancedAnthropic Quality
Per-stage model
JD Analyzeranthropic:claude-haiku-4-5 ▾
Writeranthropic:claude-sonnet-4-6 ▾
Evaluatoranthropic:claude-sonnet-4-6 ▾
Estimated cost per resume: $0.315Save
Settings → Models: per-stage model choice with a live cost estimate.
8
Telemetry — track usage & cost
The Telemetry page (top-right link) shows what you have spent over the last 90 days: totals, cost broken down by stage and by model, and a table of recent runs with tokens and timing. Everything is computed locally from your run history.
localhost:8080/telemetry
Telemetry
Total resumes
12
Avg cost / resume
$0.31
Avg tokens / resume
38k
Avg total time
41s
Cost by stage
Stage
Avg in
Avg out
Avg cost
Writer
9,200
2,400
$0.13
Evaluator
9,000
1,000
$0.08
Planner
8,900
1,200
$0.04
Recent runs (newest first)
Date
Company
Title
Tokens
Cost
2026-06-26
Stripe
Sr Product Manager
39k
$0.32
2026-06-25
Acme
Staff Engineer
37k
$0.29
The Telemetry page: totals, cost by stage and model, and recent runs — all computed locally.
9
Generate a resume
Back on the home page, paste a job description, optionally tick Also write a cover letter, and click Generate. Watch the stages run, review and edit the draft in the editor, then Finalize to write the files to your output folder.
Each finalized file is named, for example, PATRALEKH_Your-Name_Stripe-Senior-PM_2026-06-26_Resume.docx — branded, dated, and tied to the job.
Tip: use New Resume (top right) to clear everything and start fresh for a different job. Your job description and progress are remembered if you navigate to Settings and back.
PatraLekh runs entirely on your computer and uses your own AI provider key. You are responsible for your own provider costs.
Download & updates: github.com/patralekhthf/patralekh