Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

100 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Auto Apply AI Banner

πŸš€ Auto-Apply AI

An Isolated AI Agent Suite & Automation Workspace for Smart Job Hunting, Resume & ATS Evaluation, Preferences-Guided Multi-Country Scraping, and Direct Gmail Auto-Apply.

FastAPI Next.js Python Tailwind PostgreSQL Ollama Playwright License


Auto-Apply AI Workspace Preview

πŸ–₯️ Auto-Apply AI β€” Sleek Dark-Grid Workspace Interface with Coral-Red Glow Accents & Real-Time Agent Automation


πŸ“Œ Table of Contents


πŸ’‘ Overview

Auto-Apply AI is an intelligent, autonomous multi-agent automation platform designed to transform modern job hunting into an efficient, hands-free workflow. Operating as an isolated AI agent workspace, it takes over the tedious tasks of editing resumes, searching across multiple job portals, and writing repetitive customized emails.

Instead of manual applications, Auto-Apply AI empowers candidates with:

  1. Intelligent PDF & Word (.docx) Parsing & ATS Grading: Natively extracts competencies, work histories, and executive summaries, scoring resumes against modern Applicant Tracking System (ATS) guidelines with interactive formatting feedback.
  2. Preferences-Guided Opportunity Search: Synthesizes your specific target roles, experience levels, remote preferences, and resume skills to execute hyper-targeted scans across up to 10 destination countries simultaneously (e.g., πŸ‡ΊπŸ‡Έ US, πŸ‡¨πŸ‡¦ Canada, πŸ‡¬πŸ‡§ UK, πŸ‡©πŸ‡ͺ Germany, πŸ‡¦πŸ‡ͺ UAE).
  3. LLM Matching Engine & AI Cover Letters: Dynamically evaluates opportunity compatibility using customized AI prompting, generating highly persuasive, tailored 3-paragraph cover letters for matching positions.
  4. Multi-Model LLM Vault (Offline & Cloud): Fully compatible with 100% free local offline models (Ollama / LM Studio), alongside secure integration with leading cloud providers (OpenAI, Google Gemini, Groq, DeepSeek, and OpenRouter).
  5. Direct Gmail Auto-Apply & Proofs Hub: Authenticates securely via Google OAuth2 or Gmail App Passwords (SMTP) to dispatch custom applications directly to hiring managers, logging verifiable message proofs straight in your Gmail "Sent" folder.
  6. One-Command Launcher: Effortlessly initialize both backend servers, frontend dashboards, and dependencies with a simple python start.py command.

πŸ”₯ Key Features

πŸ“„ 1. Native PDF & Word (.docx) Resume Parsing Engine

  • No-C-Dependency Processing: Natively parses both .pdf and Word .docx documents using Python's clean structural extractors.
  • Deep Profile Breakdown: Automatically extracts executive summaries, technical skill arrays, employment experience tiers, and academic credentials.
  • Real-Time ATS Auditor: Evaluates formatting density, bullet point action verbs (e.g., Orchestrated, Optimized), section structure, and contact information availability.
  • Resilient Fallback Parsing: Seamlessly falls back to heuristic tech-stack extraction if an external LLM key is offline or out of quota.

🧠 2. Real-Time LLM Agent Workspace & Thinking UI

  • Live Agent Feed: Experience a responsive terminal-style log feed inside your dashboard that outputs real-time AI reasoning, skill extractions, and matcher evaluations.
  • Dark Grid & Coral-Red Aesthetic: Designed with state-of-the-art glassmorphic overlays, harmonious dark color palettes, and interactive micro-animations.

🌐 3. Preferences-Guided Multi-Country Job & Internship Aggregator

  • Target Country Multi-Selection: Select up to 10 target countries simultaneously via an interactive autocomplete dropdown with custom tag badges (βœ“ Country βœ•).
  • Flexible Opportunity Filters: Search not only full-time roles, but also internships, scholarships, and hackathons with customizable salary bands and remote filters (Fully Remote, Hybrid, On-site).

πŸ”‘ 4. Universal LLM Providers Vault

  • Free Local LLMs: Built-in, zero-config support for local Ollama and LM Studio endpoints (http://localhost:11434/v1), keeping your private career data 100% offline and free.
  • Cloud Providers Support: Connect seamlessly to OpenAI (gpt-4o-mini), Groq (llama-3.3-70b-versatile), Google Gemini (gemini-2.5-flash), DeepSeek, and OpenRouter.
  • Secure Secret Masking: All keys stored within the isolated workspace vault are encrypted and visually masked in the UI.

πŸ“§ 5. Direct Gmail Auto-Apply & Proof Tracking

  • Dual Authentication: Establish connections either through Google OAuth2 or an encrypted 16-character Gmail App Password (SMTP).
  • History & Proofs Hub: Track all delivered applications with time-period filtering (Today / 24 Hours, Monthly, Yearly, or All Time).
  • Official Sent-Folder Logs: Every application email dispatched by the automation agent gets recorded directly in the candidate’s official Gmail "Sent" folder for transparent verification.

πŸ—οΈ System Architecture

graph TD
    User([Candidate / User]) <--> Workspace[Next.js 16 Isolated Workspace Dashboard]
    Workspace <--> REST[FastAPI Asynchronous REST Engine]
    
    subgraph Core Storage & Database
        REST <--> SQLite[(SQLite / PostgreSQL\nSQLAlchemy 2.0 ORM)]
        REST <--> Storage[Local & Firebase File Storage]
    end

    subgraph Autonomous Multi-Agent Suite
        REST <--> ResumeAgent[Resume & ATS Parsing Agent]
        REST <--> SearchAgent[Preferences-Guided Search Agent]
        REST <--> MatchAgent[LLM Matching & Eval Engine]
        REST <--> ApplyAgent[Cover Letter & Auto-Apply Agent]
    end

    subgraph External Models & Integrations
        ResumeAgent & MatchAgent & ApplyAgent --> LocalLLM[Ollama / LM Studio\n(100% Free Offline LLM)]
        ResumeAgent & MatchAgent & ApplyAgent --> CloudLLM[OpenAI / Gemini / Groq / DeepSeek]
        ApplyAgent --> Gmail[Gmail OAuth2 & SMTP Server]
        SearchAgent --> JobAPIs[Multi-Country Job Feed Scrapers & RSS]
    end
Loading

πŸ› οΈ Tech Stack

Component Technology Highlights & Details
Frontend Platform Next.js 16 (App Router) React 19, TypeScript, dynamic UI state & interactive modals
UI Design System Tailwind CSS v4 + Vanilla Tokens Dark-grid aesthetics, coral-red glow effects, modern responsive layouts
Backend Engine Python 3.12+ / FastAPI Asynchronous performance, automatic Swagger/OpenAPI documentation
Database & ORM SQLAlchemy 2.0 (SQLite / PostgreSQL) Automatic table introspection & non-destructive schema synchronization
Document Processing PyPDF2, pdfplumber, python-docx High-fidelity structural parsing for PDF and Word formats
AI & LLM Engine Ollama, OpenAI, Google GenAI, Groq Multi-provider architecture with fallback capabilities
Automation Dispatcher Gmail API & Async SMTP Reliable background job delivery and verification tracking

πŸ“ Repository Structure

Auto-Apply-AI/
β”œβ”€β”€ start.py                        # πŸš€ Single-command cross-platform full-stack launcher
β”œβ”€β”€ backend/                        # FastAPI Backend Engine
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   └── app/
β”‚   β”‚       β”œβ”€β”€ api/                # REST API Endpoints
β”‚   β”‚       β”‚   β”œβ”€β”€ applications.py # Application proof logs & verification
β”‚   β”‚       β”‚   β”œβ”€β”€ auth.py         # Workspace user authentication
β”‚   β”‚       β”‚   β”œβ”€β”€ auto_apply.py   # Autonomous job application triggers
β”‚   β”‚       β”‚   β”œβ”€β”€ emails.py       # Cover letter generation & email sending
β”‚   β”‚       β”‚   β”œβ”€β”€ gmail.py        # Gmail OAuth & SMTP credentials manager
β”‚   β”‚       β”‚   β”œβ”€β”€ matching.py     # LLM evaluation & job score calculations
β”‚   β”‚       β”‚   β”œβ”€β”€ resumes.py      # Resume uploading, parsing & ATS audit
β”‚   β”‚       β”‚   β”œβ”€β”€ search.py       # Preferences-guided opportunity scanners
β”‚   β”‚       β”‚   └── users.py        # User settings & API Vault manager
β”‚   β”‚       β”œβ”€β”€ services/           # Core AI & Business Services
β”‚   β”‚       β”‚   β”œβ”€β”€ application/    # Intelligent AI Cover letter creator
β”‚   β”‚       β”‚   β”œβ”€β”€ matching/       # Opportunity-to-resume evaluation engine
β”‚   β”‚       β”‚   β”œβ”€β”€ search/         # Aggregators & preferences-guided agents
β”‚   β”‚       β”‚   β”œβ”€β”€ ats_checker.py  # ATS criteria rating & formatting tips
β”‚   β”‚       β”‚   └── pdf_parser.py   # Native document text extractor
β”‚   β”‚       β”œβ”€β”€ config.py           # Application config & environment loader
β”‚   β”‚       β”œβ”€β”€ database.py         # Engine startup & auto-sync schema setup
β”‚   β”‚       β”œβ”€β”€ main.py             # Server initialization & CORS policies
β”‚   β”‚       β”œβ”€β”€ models.py           # Declarative SQL database models
β”‚   β”‚       └── storage.py          # Local filesystem & Firebase file storage
β”‚   β”œβ”€β”€ requirements.txt            # Backend Python dependencies
β”‚   └── pyproject.toml              # Backend environment configs
β”œβ”€β”€ frontend/                       # Next.js 16 Workspace Dashboard
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   └── app/
β”‚   β”‚       β”œβ”€β”€ components/         # Modular Dashboard Components & Tabs
β”‚   β”‚       β”‚   β”œβ”€β”€ GmailModal.tsx  # Gmail authentication & SMTP modal
β”‚   β”‚       β”‚   β”œβ”€β”€ HistoryTab.tsx  # Today / Monthly / Yearly application hub
β”‚   β”‚       β”‚   β”œβ”€β”€ JobsTab.tsx     # Opportunity cards, score badges & filters
β”‚   β”‚       β”‚   β”œβ”€β”€ Navbar.tsx      # Top branding bar & quick-access vault
β”‚   β”‚       β”‚   β”œβ”€β”€ ProfileTab.tsx  # Resume parser upload & ATS report UI
β”‚   β”‚       β”‚   └── SettingsTab.tsx # Multi-LLM provider & Preferences Vault
β”‚   β”‚       β”œβ”€β”€ context/            # Client Authentication & State Context
β”‚   β”‚       β”œβ”€β”€ layout.tsx          # Root styling and theme framework
β”‚   β”‚       └── page.tsx            # Main application navigation router
β”‚   β”œβ”€β”€ package.json                # Node modules and build scripts
β”‚   └── tailwind.config.ts          # UI styling & design tokens
β”œβ”€β”€ docs/                           # Documentation & Preview Media
β”‚   └── images/
β”‚       └── login-preview.png       # Dark grid login workspace UI graphic
β”œβ”€β”€ LICENSE                         # Standard MIT Open-Source License
└── README.md                       # Comprehensive repository documentation

⚑ Getting Started

Prerequisites

  • Python: v3.10 or higher
  • Node.js: v18.x or higher
  • Git

πŸš€ Single-Command Startup (Recommended)

The easiest way to boot the entire Auto-Apply AI platform on Windows, macOS, or Linux is using our cross-platform automation launcher:

python start.py

What start.py does automatically:

  1. βœ… Verifies and Installs missing Python packages (fastapi, uvicorn, sqlalchemy, etc.) via pip.
  2. βœ… Verifies and Installs missing Node packages (frontend/node_modules) via npm install.
  3. πŸš€ Launches the FastAPI backend API server on http://localhost:8000 in the background.
  4. πŸš€ Launches the Next.js workspace UI server on http://localhost:3000 in the background.
  5. 🌐 Automatically opens your default web browser straight to the Auto-Apply AI Workspace.
  6. πŸ›‘ Streams real-time terminal logs and closes all server processes gracefully when you press Ctrl + C.

Manual Setup (Alternative)

If you prefer launching services independently across two terminals:

1. Backend API Server (Terminal 1)

cd backend
python -m venv venv

# Activate virtual environment:
# Windows (PowerShell): .\venv\Scripts\Activate.ps1
# Linux / macOS: source venv/bin/activate

pip install -r requirements.txt
python -m uvicorn src.app.main:app --reload --port 8000

API Documentation will be accessible at http://localhost:8000/docs.

2. Frontend Workspace Dashboard (Terminal 2)

cd frontend
npm install
npm run dev

Workspace UI will be accessible at http://localhost:3000.


Connecting Your Gmail Account

To authorize the automation agent to dispatch customized applications directly from your email:

  1. Log into your Auto-Apply AI Workspace and navigate to πŸ”‘ API Vault (or the Settings tab).
  2. Under Connected Gmail Account, choose Gmail App Password (SMTP).
  3. Input your email address along with a secure 16-character App Password (easily generated via Google Account > Security > 2-Step Verification > App Passwords).
  4. Click Connect via App Password. All automated emails and cover letters dispatched by the AI will immediately be mirrored and verifiable in your official Gmail "Sent" folder!

πŸ”‘ Environment Variables

You can optionally configure default behaviors by creating a .env file inside the backend/ directory:

# Database Settings (Defaults to local SQLite auto_apply_local.db if left blank)
DATABASE_URL="sqlite:///./auto_apply_local.db"

# AI Models & Default LLM Providers (Optional: Leave empty when using local Ollama)
OPENAI_API_KEY="your_openai_api_key"
LLM_PROVIDER="openai"
LLM_MODEL="gpt-4o-mini"

# Gmail OAuth & Storage Configurations (Optional)
GMAIL_CLIENT_ID="your_google_client_id"
GMAIL_CLIENT_SECRET="your_google_client_secret"
FIREBASE_STORAGE_BUCKET="your-firebase-storage-bucket.appspot.com"

# Application Security
SECRET_KEY="super-secret-jwt-key-change-in-production"

πŸ“‘ API Documentation

Interactive OpenAPI/Swagger documentation is automatically published whenever the backend server runs at http://localhost:8000/docs.

Endpoint Method Core Functionality
/api/v1/auth/login POST Authenticate candidate into their isolated workspace
/api/v1/resumes/upload POST Ingest PDF/DOCX resume file, extract structural data & compute ATS score
/api/v1/resumes/profile GET / PUT Manage extracted candidate qualifications, skills array & ATS metrics
/api/v1/search/trigger POST Invoke the Preferences-Guided Search Agent across multi-country feeds
/api/v1/search/opportunities GET Retrieve scraped job, internship & scholarship listings with filters
/api/v1/matching/evaluate POST Perform real-time AI evaluation and compatibility scoring against job postings
/api/v1/auto-apply/run POST Trigger autonomous cover letter synthesis and Gmail delivery pipeline
/api/v1/users/settings GET / PUT Store LLM API keys in secure vault & customize remote job preferences
/api/v1/applications GET Access verified transmission logs for Today, Monthly, Yearly or All periods

πŸ“„ License

Distributed under the MIT License. See LICENSE for full legal text and details.

Crafted with ❀️ by Nouman Sajid for Auto-Apply AI

About

Auto apply AI your personal AI assistant that can search daily base job according to your skills , and can apply automatically , make cover letter, analyze your resume/CV provide ATS scoring for job applying , You also attach your gmail with auto-apply-AI and see better result.

Topics

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages