I Built a Zero-Trust Resume Pipeline to Stop AI from Hallucinating A developer built EigenCV, a zero-trust resume pipeline that uses Infrastructure-as-Code to generate ATS-optimized LaTeX resumes without allowing AI to hallucinate skills. The system treats career history as an immutable database and crashes the build if the AI attempts to add unverified information. EigenCV is available as an open-source repository that can run locally or inside ChatGPT. Stop letting ChatGPT hallucinate skills you don't have. A production-grade Infrastructure-as-Code IaC pipeline for generating ATS-perfect, highly tailored LaTeX resumes without sacrificing your integrity. The Industry Standard Commercial AI Builders : You tell an AI to "optimize my resume for this job." The AI treats your resume as a creative writing exercise. It quietly hallucinates skills, inflates job titles, and paraphrases your engineering achievements into generic HR buzzwords. The result is a PDF that beats the ATS but fails the technical interview because it's full of lies. The EigenCV Approach Zero-Trust : We treat your career history as an immutable database. The AI is strictly an orchestration layer . It does not write your resume; it queries your database to pull the most relevant, pre-verified bullet points. If the AI attempts to go rogue and hallucinate a missing skill into your profile to artificially boost your ATS score, the Python compiler's Lie Detector intercepts it and hard-crashes the build. Obvious lies never make it into the PDF. The sample above is just one configuration. EigenCV puts you in complete control: Dynamic Sections: Not all sections are mandatory. Choose exactly what to include and reorder them instantly e.g., move 'Education' to the top by simply editing the comma-separated cvorder variable. Change Layouts: Seamlessly swap between professional LaTeX templates e.g., Awesome-CV , EigenCV-Modern . Brand Yourself: Inject custom corporate accent colors to match the company you're applying to.- Multilingual: Generate applications in English, German, or any other language using the built-in translation matrix. You don't need to know Python, LaTeX, or Git to use EigenCV. You can run the entire pipeline directly in ChatGPT. Download this entire repository as a ZIP file. Build your Master Database: Upload the ZIP to ChatGPT requires Advanced Data Analysis or Claude, along with ALL your old resumes. Tell the AI: "Extract all my career facts from these resumes and populate the EigenCV JSON database." Apply to a Job: Paste the Job Description and tell the AI: "Please apply to this job using the instructions found in docs/AI CLOUD PROMPT.md ." Download your PDF: ChatGPT will automatically match your database to the job, generate the JSON, and run the chatgpt run.py wrapper script. Because we include a dedicated "Cloud-Safe" LaTeX template, ChatGPT will render the PDF directly in its sandbox and give you a download link Fallback: If ChatGPT times out, it will still generate the .tex code. You can drag & drop that code into a free Overleaf account for instant rendering or render the pdf locally using the pdflatex . If you prefer terminal workflows, need maximum build speed, or require strict data privacy, run the pipeline locally. Prerequisites: You need Python 3.11+ and a LaTeX distribution e.g., TeX Live or MiKTeX . Alternatively, simply open this repo in VS Code and click "Reopen in Container" to use our pre-built Docker environment Install Dependencies: Run pip install -r requirements.txt . Agent Setup: For Maximum Speed: Open the repository using an Agentic CLI like Antigravity / Claude Code or an Agentic IDE Cursor / Windsurf connected to their standard cloud APIs. For 100 % Hardcore Privacy: Point your Agentic IDE to a local model like Ollama or LM Studio so your data NEVER leaves your machine. Build the DB: Tell the Agent: "Migrate my old CV. Follow to build your Zero-Trust database. AI START HERE.md ." Apply: Paste a Job Description and say: "Apply to this job. Follow AI START HERE.md ." Automation: The Agent will automatically route the prompts, generate the strict JSON, and execute the Python scripts locally to render your PDF and calculate your ATS score Most AI tools use a "generate and pray" approach. EigenCV uses Agentic Determinism . Here is how we guarantee a flawless, hallucination-free application: The Immutable Master Database: You don't paste your resume into a chat window. Your career history lives offline as a structured JSON/Markdown database on your hard drive. Every achievement, project, and skill has a mathematically verifiable ID e.g., proj aws migration . AI Orchestration The Brain : When applying for a job, the AI reads the Job Description and acts as a strategic orchestrator. Instead of writing text, it executes a precise query against your database, returning only the IDs that maximize your ATS match score. It crafts a hyper-authentic Cover Letter based exclusively on your verified profile data. Deterministic Compilation The Muscle : The AI is entirely locked out of the rendering process. The EigenCV Python compiler takes the approved list of IDs, fetches the exact text from your offline database, and deterministically injects it into a stunning, ATS-optimized LaTeX template. Flawless layouts, no hallucinations. sequenceDiagram autonumber actor U as 👤 User participant LLM as 🧠 Agent participant DB as 🗄️ Database participant Py as 🐍 Python Tools rect rgb 40, 40, 60 Note over U,DB: Phase 0: Setup & Privacy U- Py: Run scrub data.py Py- DB: Wipe private data U- LLM: Upload old CV LLM- DB: Build JSON Database end rect rgb 20, 40, 20 Note over U,Py: Phase 1: Routing U- LLM: Provide Job Description LLM- DB: Query database DB-- LLM: Return valid IDs LLM- LLM: Generate build config.json end rect rgb 60, 40, 20 Note over LLM,Py: Phase 2: Compile LLM- Py: Execute cv compiler.py Note over Py,DB: 🏥 Healer auto-corrects IDs