A growing share of code is written by AI. Decoder helps you read it.
Decoder is a personal study project, open source (MIT) and free. It works with your own API key (BYOK) or in local-inference mode.
Works with the providers you prefer
Open Source · MIT
Public, inspectable code
Decoder is released under the MIT license. Code, analysis prompts and rules live in the repository, readable and editable.
What Decoder does
An open tool to read AI-generated code
Decoder helps you re-read code produced by an AI using a second model and public prompts. It is not a correctness guarantee: it is one more reading layer, to be combined with your own judgement.
Decoder helps you re-read code produced by an AI using a second model and public prompts.
- 01
Output to verify
Every AI answer is a hypothesis and should always be verified. Decoder shows explanations, quality and security observations line by line.
- 02
Public code and prompts
Source code, prompts and analysis rules live in the repository. You can read, edit or fork them.
- 03
Extendable by the community
Analysis rules can be extended via pull requests to cover new languages or new smells.
Context
Reading AI-generated code takes time.
AI assistants ship code faster than a team can review it line by line. Decoder offers a second, assisted reading layer.
A growing share of code is AI-generated
Copilot, Cursor, Claude Code — an increasing portion of every new project wasn't written by the people who have to maintain it.
More diffs to read
More AI output means more code to review. A comprehension layer helps you not skip the important parts.
Public prompts and rules
Analysis prompts live in the repository and can be extended by the community. No hidden logic behind the answers.
How it works
Three steps from source to knowledge.
- 1
Import code
Upload a ZIP or import a public GitHub repository. Files stay in your account.
- 2
Choose a provider
OpenAI, Anthropic, Gemini, OpenRouter — or local with Ollama / LM Studio.
- 3
Explain and analyze
Human or technical summaries, quality and security analyses, Markdown export.
Integrations
Works with the AI providers you already use and with your public GitHub repositories.
Contributions
Open to contributions
Decoder improves through user contributions. Issues, new analysis rules or translations are all ways to take part.
Open an issue
Report a bug, propose an idea, discuss a product choice.
Go to issuesPropose an analysis rule
Analysis prompts are in the clear. Extend them to cover new risks or new languages.
See the promptsTranslate Decoder
Bring Decoder to your language by adding a file in src/i18n/locales.
Go to translations