Kognit is an advanced AI orchestration layer designed to transform a developer's raw digital footprint into a professional, high-fidelity Developer Persona Audit.
Unlike simple summarizers, Kognit acts as a forensic technical biographer. It recursively explores repositories, reads technical documentation, analyzes architectural patterns, and verifies external signals to construct a grounded, proof-backed narrative of a software engineer's capabilities.
Most developer profiling tools I've encountered are either too shallow—viewing only surface-level metrics like commit counts—or simply don't provide useful, deep insights into how a developer thinks. They often miss the architectural decisions, the complexity of the problems solved, and the "soul" of the code.
I built Kognit for fun, as a hobby project, because I wanted a tool that could dig deeper. It's not a product; it's an experiment in agentic reasoning to see if an AI can truly understand a developer's work by reading their documentation, project structure, and technical explanations, just like a human engineer would.
Get a full technical audit of a GitHub profile in seconds (no API key required for browser mode):
- Clone & Install:
git clone https://github.com/Pomilon/kognit.git && cd kognit pip install -r requirements.txt
- Run (Browser Mode):
# Replace 'torvalds' with any GitHub username python3 entry.py torvalds --scraping-mode browser --mode deep-dive - View Report: Open
profile.pdf!
Note: for the best results use
--model groq:moonshotai/kimi-k2-instruct-0905.
Kognit adapts its voice and depth to your needs. Check out these examples:
| Professional Deep Dive | Roast Mode | Witty Summary |
|---|---|---|
![]() |
![]() |
![]() |
| View PDF Report | View PDF Report | View PDF Report |
Have a cool generation? Share your own reports in the Discussions tab! I'd love to see what Kognit finds about you.
- GitHub Deep-Probe: Connects via GraphQL (API Mode) or mimics browser behavior (Browser) to fetch comprehensive data: pinned items, contribution graphs, top repositories, and starred projects.
- Iterative Exploration (Full-Dive): In its most powerful mode, Kognit spins up a swarm of sub-agents. A specialized "Repo Analyst" visits every key repository, deconstructing its README.md, tech stack, and complexity score in isolation before feeding insights back to the main synthesizer.
- Architectural Inference: The AI infers role and expertise from project structure and dependencies. (e.g., "Uses Tokio + Actix" -> "Systems Engineer specializing in async runtimes").
- Hallucination Guardrails: Kognit cross-checks extracted claims against raw data.
- PDF Generation: Outputs a stunning, print-ready PDF using
WeasyPrint. - Hybrid Layout: Features a distinct "Persona Canvas" cover page with a sidebar for high-level metadata (Tech DNA, Focus) and a main column for the narrative.
- Visuals: Automatically fetches user avatars and renders LaTeX equations (via Matplotlib SVG) found in technical documentation.
- PNG Preview: Automatically generates a high-res PNG preview of the report's first page.
- Python 3.10+
- System Libraries: Required for PDF generation (
WeasyPrintandpdf2image).- Linux (Debian/Ubuntu):
sudo apt-get install python3-pip python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0 libharfbuzz0b libpangocairo-1.0-0 poppler-utils - macOS:
brew install weasyprint poppler
- Linux (Debian/Ubuntu):
-
Clone the repository:
git clone https://github.com/Pomilon/kognit.git cd kognit -
Install Python dependencies:
pip install -r requirements.txt
-
Configure Environment: Create a
.envfile in the root directory. You need at least one LLM provider key.# Primary LLM (Google Gemini) GOOGLE_API_KEY=your_gemini_key # Optional: For High-Speed Inference (Recommended) GROQ_API_KEY=your_groq_key # Optional: For OpenAI models OPENAI_API_KEY=your_openai_key # Optional: GitHub Token (Increases API limits, prevents rate-limiting) GITHUB_TOKEN=your_github_pat
Generate a standard biography PDF for a user (e.g., torvalds).
python3 entry.py torvalds --output torvalds_profile.pdfKognit supports different levels of depth via the --mode flag:
Fast, high-level overview. Good for quick intros.
python3 entry.py pomilon --mode summaryFetches READMEs for the top 10 repositories to perform a technical audit. Analyzes code quality, testing standards, and architecture based on documentation.
python3 entry.py pomilon --mode deep-diveThe "God Mode". Activates the Explorer Agent. Kognit will iteratively analyze up to 20 repositories individually, generating a massive, consolidated "Technical Audit" report appended to the PDF. This mode bypasses context window limits by processing repos serially.
python3 entry.py pomilon --mode full-dive --model groq:llama-3.3-70b-versatileYou can adjust the personality of the agent:
-
Humor Level (
--humor 0-100): From 0 (Professional) to 100 (Stand-up Comedy).python3 entry.py pomilon --humor 60 --output pomilon_witty.pdf
-
Roast Mode (
--roast): ruthlessly critiques tech choices, over-engineering, and bio fluff.python3 entry.py pomilon --roast --output pomilon_roasted.pdf
Kognit is built on a modular, agentic architecture:
-
Probes (
kognit/probes):- GithubProbe: Handles GraphQL (API) or BeautifulSoup (Browser) extraction.
- Normalizer: Flattens complex nested JSON into a dense, searchable Markdown context.
-
Refinery (
kognit/refinery):- Engine: The PydanticAI-powered LLM loop.
- Validator: Post-processing logic to verify links and data integrity.
-
Explorer (
kognit/agent/explorer.py):- A sub-agent specialized in code auditing. It runs independent cycles for each repository found during the Full-Dive.
-
Renderer (
kognit/renderer):- Jinja2 Engine: Hydrates the
biography.htmltemplate. - Latex2SVG: Renders math equations using Matplotlib for PDF compatibility.
- WeasyPrint: Converts the final HTML canvas into a paginated PDF.
- Jinja2 Engine: Hydrates the
IMPORTANT: READ BEFORE USE
Kognit is a tool built for humor, self-reflection, and personal technical auditing. It utilizes publicly available data from GitHub to generate creative personas and technical narratives.
By using this tool, you agree to the following:
- Anti-Stalking Policy: This tool must NOT be used to harass, stalk, or gather information for malicious intent. It is strictly limited to public GitHub technical footprints.
- No Automated Screening: This report should NOT be used as a primary or automated filter for hiring decisions or professional evaluations. AI-generated personas can be biased, inaccurate, or prioritize narrative over fact.
- Subjectivity Warning: The "Roast" mode is designed to be critical and satirical. If the feedback stings, that is the point. It is intended for amusement and lighthearted self-critique.
- Liability: I am not responsible for any misuse of the generated reports, or for any social or professional consequences arising from the use of this tool. You assume all responsibility for the ethical use of the data you process.
Use this tool with respect for your peers and the open-source community.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
Distributed under the MIT License. See LICENSE for more information.


