Skip to content
Projetos

Sobre

Códigos complexos ocultam conexões, fluxos de trabalho e riscos de negócio. Descomplique códigos complexos. Rastreie os fluxos de negócio.

Ferramentas de desenvolvimento

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
-7
em 7 dias
-3
em 15 dias
0
em 1 mês
+766

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

UnvibeCode

Provide a brain for your codebase

Reverse engineer a complex codebase into business workflows, connected code, edge cases, and evidence-backed risks.

Unvibe complex code. Trace what the business actually does

Quality checks PyPI version Python 3.11+ License GitHub stars

UnvibeCode AI codebase analysis demo showing connected code, business workflows, and risk findings

Your LLM helped write 100,000 lines of code. Now how do you understand what it actually built?

Reading files one by one does not show the complete business workflow. Pasting a large repository into an LLM can also lose the connections between entry points, state changes, dependencies, edge cases, and business outcomes.

UnvibeCode reverse-engineers a complex codebase into business workflows, connected code, edge cases, and evidence-backed risks.

Try UnvibeCode

Choose how to run UnvibeCode:

  • Local graph: fork this repository and run the graph source in src/unvibecode_graph/ locally
  • Full analysis: install the Python package using the commands below.

Full workflow and risk analysis supports up to approximately two million estimated source tokens. Larger repositories receive the Connected Code Map and repository context only, subject to upload limits.

Requires Python 3.11 or newer.

On macOS and Linux the commands below install into a virtual environment, because Homebrew Python and recent Debian and Ubuntu releases refuse system-wide pip install with error: externally-managed-environment (PEP 668). In a new terminal, run the source line again before python3 -m unvibecode. Alternatively, run ~/.venvs/unvibecode/bin/python -m unvibecode without activating the environment.

Windows

py --version
py -m pip install --upgrade unvibecode
py -m unvibecode --help
py -m unvibecode review --repository "D:\path\to\repository"

Example:

py -m unvibecode review --repository "D:\Projects\customer-support-agent"

macOS

python3 --version
python3 -m venv ~/.venvs/unvibecode
source ~/.venvs/unvibecode/bin/activate
python3 -m pip install --upgrade unvibecode
python3 -m unvibecode --help
python3 -m unvibecode review --repository "/path/to/repository"

Example:

python3 -m unvibecode review --repository "/Users/yourname/Projects/customer-support-agent"

Linux

On Debian/Ubuntu, first install python3-venv if it is missing (sudo apt update && sudo apt install python3-venv).

python3 --version
python3 -m venv ~/.venvs/unvibecode
source ~/.venvs/unvibecode/bin/activate
python3 -m pip install --upgrade unvibecode
python3 -m unvibecode --help
python3 -m unvibecode review --repository "/path/to/repository"

Example:

python3 -m unvibecode review --repository "/home/yourname/projects/customer-support-agent"

No activation key. No customer OpenAI API key. The repository path is the only required input.

Explore sample analyses

smolagents · PocketFlow · mini-swe-agent · django-payments

Trusted by engineers @ Vertigo, Kovai.co, Ancient, Tingle Software, DVARA and Many More

UnvibeCode, in their words

“The business workflow getting lost across 500 files is the real issue. AI can keep generating code, but once nobody can trace why the product behaves the way it does, the speed advantage disappears fast.”

Kavitha Ranganathan — Senior PM, Better

“By tracing a customer recovery workflow from the screen to the code, I found that the system could mark a customer as having promised to pay based on the last digit of their ID, not an actual promise”

Fernanda Teixeira — QA Engineer, Vertigo

One repository review. Four connected outputs.

UnvibeCode helps developers understand what a codebase does, how its components connect, and what could break — without manually tracing every file.

1. Business Workflow Map — Understand what the system does

Reconstruct business workflows from source code. Explore execution paths, decisions, dependencies, state changes, and the implementation behind each workflow.

Useful for: onboarding, reverse engineering, understanding legacy applications, and exploring unfamiliar repositories.

Business Workflow Map

2. Connected Code Map — Trace where behavior lives

Explore interactive relationships between source files, imports, symbols, and dependencies. Select a file, inspect its connections, and download focused code context for further investigation.

Useful for: debugging, dependency tracing, architecture exploration, and preparing connected code for AI assistants.

Connected Code Map

3. Business Risk Findings — Discover what could break

Identify potential business-impacting implementation defects supported by source evidence. Explore affected workflows, implementation behavior, potential impact, remediation, and verification checks.

Useful for: investigating business logic defects, reviewing AI-generated applications, and identifying fragile workflows.

Not every repository produces confirmed risk findings. UnvibeCode distinguishes supported findings from cases where evidence is insufficient.

Business Risk Findings

4. Complete Repository Context — Take the analysis further

Download a normalized repository ZIP for code review, documentation, or further AI-assisted investigation. Need less code? Use the Connected Code Map to retrieve a focused context package around a selected file.

Useful for: engineering handoffs, repository exploration, and reusable source context.


Why not just dump your entire codebase into an LLM?

More source code doesn't automatically mean better code understanding.

Before: full-code dumps into an LLM. After: structured code relationships, graph-aware context, and evidence-gated findings with UnvibeCode.


How does UnvibeCode compare?

Tool Primary strength UnvibeCode difference
Aider AI-assisted code editing Repository-wide workflow and risk investigation without an editing task
Repomix Repository packaging for AI Interactive code maps, business workflows, and evidence-backed risks
Qodo PR-Agent Pull-request review Understand existing application behavior beyond a proposed code change
CodeQL Static security and correctness analysis Business workflow explanations connected to implementation and operational consequences

When should you use UnvibeCode?

Understanding an unfamiliar repository

Discover business workflows, connected components, and implementation paths without manually opening every file.

Reviewing AI-generated applications

Understand what was actually implemented and investigate potential business logic defects.

Debugging across multiple files

Trace dependencies and surrounding code before changing a function in isolation.

Investigating application risks

Review source-backed findings and understand potential operational consequences.

Preparing context for AI coding assistants

Download complete repository context or focused connected code for further investigation.


Supported source languages

Connected-code mapping and context preparation recognize:

Language File types
Python .py
JavaScript .js, .jsx, .mjs, .cjs
TypeScript .ts, .tsx
Rust .rs
PHP .php
Ruby .rb
HTML and CSS .html, .htm, .css
Go .go

Analysis depth varies by language and repository structure. See limitations for details.


Code Handling

We do not retain your uploaded source code or analysis results on our server after processing. Results are downloaded to your computer. OpenAI processes the AI requests under its own data policies.

UnvibeCode automatically screens selected source files for recognizable credentials and redacts detected sensitive values before uploading. Files containing credential material that cannot be safely sanitized are excluded.

Preview the selected files and redaction summary without uploading:

unvibecode review --repository "/path/to/repository" --dry-run The preview shows included, redacted, and excluded file counts, affected file paths, and exclusion reasons. It does not print source-code contents or detected secret values.

Secret detection is best-effort and may not identify every credential. Review sensitive repositories and remove exposed credentials before uploading.

Documentation

Contributing

Contributions are welcome in documentation, testing, examples, and supported tooling.

Support and feedback

Found a problem or have a feature request? Open a GitHub issue.

For product questions, repository reviews, or collaboration, contact [email protected].

Security Policy

Report a vulnerability

If you discover a security vulnerability in UnvibeCode, please report it privately using the link below.

Report a vulnerability privately

Include the affected version, steps to reproduce, and potential impact. Please do not disclose security vulnerabilities in public GitHub issues.


Contributors & Acknowledgements

A special thanks to the developers who have helped strengthen UnvibeCode:

  • Hariom — Contributed to more accurate findings, clearer interpretation of business risks, and evidence-backed engineering analysis.
  • Abhay — Improved Go language parsing and symbol resolution, strengthening the accuracy of connected-code analysis for Go repositories.

We appreciate their thoughtful engineering contributions and their commitment to making UnvibeCode more reliable for developers.

License: EULA.

Explore projetos relacionados

Carregando…