IK Imran Khalid

AI Agents & Automation 4 months Solo Project Active

CareerOS

100% Local AI Career Studio for LinkedIn and Job Search

CareerOS project cover

Overview

A local-first AI career agent that drafts grounded LinkedIn posts, optimizes profile positioning, scores job descriptions against a real CV, and can publish through official LinkedIn OAuth without sending personal data to a third-party tool.

The problem

AI and ML engineers spend hours each week tailoring CVs, drafting authentic LinkedIn posts and evaluating job descriptions, while most AI writing tools require uploading personal career data to someone else's servers.

The solution

Built a modular React, FastAPI and SQLite application running Ollama locally with qwen2.5:7b. A platform connector registry keeps integrations pluggable, official LinkedIn OAuth handles publishing with the w_member_social scope, idempotency locks prevent duplicate posts, and CV-grounded scoring keeps job suggestions tied to actual experience.

Project gallery

Technical architecture

Local-first agent platform with pluggable connectors and grounded generation

Local Model Runtime

Ollama with qwen2.5:7b serves every generation request on-device, so career data never leaves the machine.

Platform Connector Registry

Pluggable connectors for LinkedIn and future platforms, each owning auth, payload shaping and publish rules.

Grounded Content Engine

CV and profile context are injected into prompts so posts and summaries reference real experience instead of generic claims.

Job Fit Scorer

Parses job descriptions, extracts requirements and scores them against the CV with an explicit evidence breakdown.

Autopilot Scheduler

APScheduler queues drafts and publish windows with idempotency locks to avoid duplicate posts.

Methodology

  1. Chose a local model and SQLite store so the entire product works offline and privately
  2. Built LinkedIn OAuth 2.0 publishing with the official w_member_social scope rather than browser automation
  3. Added idempotency keys per draft so a retry can never double-post
  4. Grounded job scoring in extracted requirements with cited CV evidence
  5. Generated post imagery locally with Pillow to keep the pipeline self-contained

Results & impact

0 Data Leaves Device All inference runs locally
0 Duplicate Posts Idempotency locks on every publish
Evidence-based Job Fit Signals Each score cites CV matches

Key impact

  • Cut weekly LinkedIn drafting from hours to minutes
  • Kept sensitive career data off third-party AI services
  • Made job targeting objective through scored requirement matching
  • Provided a reusable connector architecture for other platforms

Challenges & solutions

Local Model Quality

Structured prompts, few-shot examples and post-generation checks to keep output specific and on-brand

OAuth Token Lifecycle

Stored refresh tokens securely with automatic renewal and clear re-auth prompts when scopes change

Accidental Duplicate Publishing

Hashed draft content and enforced a per-window idempotency lock before calling the API

Key implementation

Idempotent LinkedIn Publish

def publish_post(draft_id):
    """Publish a draft exactly once, even across retries."""
    draft = drafts.get(draft_id)
    key = hashlib.sha256(f"{draft.id}:{draft.content}".encode()).hexdigest()

    if locks.exists(key):
        return {"status": "already_published", "key": key}

    locks.acquire(key, ttl=3600)
    try:
        result = linkedin.create_post(
            author=profile.urn,
            text=draft.content,
            image=draft.image_path,
        )
        drafts.mark_published(draft.id, result["id"])
        return {"status": "published", "post_id": result["id"]}
    except RateLimited:
        locks.release(key)
        raise

Technologies used

ReactViteFastAPISQLiteOllamaqwen2.5:7bLinkedIn OAuth 2.0PillowAPSchedulerPython