Many companies run software that no one really understands anymore. The provider no longer exists, the documentation is missing, and the original developer is long gone. This becomes a problem the moment you need to replace the software or connect it to new systems.
AI agents can now lend a hand here. The open-source project REA, short for "Reverse Engineer Anything", teams up agents like Claude Code with tools designed to analyze closed-source software. In this post, we'll walk you through what REA can do, how it fits into small and medium-sized businesses, and what's legally permitted under German law. While we haven't taken REA for a spin ourselves yet, this breakdown is based on its GitHub repository, the official site at rea.tools, and relevant regulations as of November 2026.
What is reverse engineering?
Reverse engineering means examining a finished product to understand how it works without having access to blueprints or source code. In software, this means analyzing program files, data formats, or operational behavior. The goal is usually to connect, replace, secure, or debug a program.
Until now, this was work for specialists using tools like Ghidra or IDA to translate machine code back into a readable format. What’s new is that an AI agent can now operate these tools itself, evaluate the results, and explain them in plain language. Expert knowledge remains important, but getting started is much easier.
What is REA (Reverse Engineer Anything)?
REA is a free, open-source tool under the MIT license that has been in development on GitHub since April 2026. With over 400,000 stars, it is one of the platform's most closely watched projects. The current version, 6.8.0, was released on October 25, 2026.
The principle: Your agent calls REA via the Model Context Protocol (MCP). REA examines the target program, provides findings with evidence, and notes the limitations of each statement. The agent then asks follow-up questions, explains the behavior, or writes its own implementation upon request. These same functions are also available as terminal commands.
According to the project page, REA supports Claude Code, Codex, Cursor, Gemini CLI, and Grok Build, among others. In total, the documentation lists 36 types of targets, including desktop programs, .NET programs, JavaScript and Electron apps, websites, network captures, SQLite databases, Android apps, firmware, and crash reports. To analyze machine code, REA requires an analysis tool like Hopper, Ghidra, IDA, or Kuna. It examines JavaScript and .NET programs without any additional tools.
How small and medium-sized businesses can use REA
The project page promotes understanding and replicating functions from third-party apps. For companies, other use cases are usually more obvious and legally much simpler:
A typical example: An old quoting tool calculates prices based on rules that no one knows anymore. Before you replace it, you have an agent examine that exact calculation. The result is a description of the rules, which you can then verify and use as requirements for the new system.
How to work with REA
REA is set up using the command `npx rea-agents setup`. It registers the MCP server and the appropriate work instructions, a "skill", in your agent and creates backups of your existing configuration beforehand. After that, you restart the agent. A current version of Node.js is required.
It is important to distinguish between a skill and a tool. The skill tells the agent how to conduct an investigation. The actual analysis functions are only added via the MCP server. So, if you only install the skill, you don't yet have a functional REA.
A narrowly defined task with a specific question has proven to be the most effective approach. An example of such a prompt:
"Examine how our old quoting tool calculates the final price. Work only with the test installation and test data. Separate observations, assumptions, and open questions, and provide evidence for every statement. Do not replicate anything yet."
This gives you a verifiable breakdown to start with. From there, it's totally up to you whether and how you want to build something new out of it. To see how coding agents actually handle this, check out our guide on Coding Agents Explained.
What is permitted in Germany
Reverse engineering is not fundamentally prohibited in Germany, but it is subject to conditions. The most important rules are found in the Copyright Act and the Trade Secrets Act:
- Ideas are free: The specific form of expression of a program, the code, is protected. The underlying ideas and principles, including those of interfaces, are not protected according to Section 69a (2) of the German Copyright Act (UrhG).
- Observing and testing: Anyone who uses a program lawfully may, according to Section 69d (3) UrhG, observe, examine, and test its functioning to determine the ideas and principles behind it. This is permitted provided it occurs within the scope of authorized use, such as during loading and execution.
- Decompilation only for interoperability: You may only translate the code back according to Section 69e UrhG for the purpose of interoperability. This means: when it is essential to enable an independently developed program to work with others. The information must not be accessible elsewhere, and you may only examine the necessary parts. You may not pass on the results or use them for a program with a substantially similar form of expression.
- License agreements have limits: Clauses that contradict these rights are void according to Section 69g (2) UrhG.
- Trade secrets: The Trade Secrets Act allows you to examine and reverse-engineer products that are publicly available. For products you only lawfully possess, this applies as long as you have not contractually agreed to waive this right.
In addition, patents, trademarks, and competition law still apply. For websites and online services, their terms of use also apply, and for actual customer data, data protection laws apply. As a rule of thumb: understanding is largely permitted, but copying code is not. This section does not constitute legal advice. If you are dealing with competitors' products, we would always consult a lawyer first.
Limitations and risks of REA
Five things you should know before using REA:
- No original code: For machine code, REA provides pseudocode and assembly; for JavaScript, it provides the module structure. You won't get the original source code back.
- Findings are clues: An observation made on one version with test data doesn't automatically apply to every version or scenario. REA states the limitations of its findings, but you still need to verify them.
- Data leaves the computer: REA performs analysis locally. However, the results are sent to your agent's language model, where the data protection policies of the respective provider apply. More on this in AI and data protection.
- Official sources only: According to the project, you should obtain REA exclusively via GitHub, rea.tools, or the npm package rea-agents. Copies with similar names are a known risk for popular projects.
- Rapid changes: New versions of REA are released almost weekly, sometimes with changes that break existing workflows. Keep track of which version you used for each project.
Who is REA for?
REA is a tool for developers and technically savvy IT teams. We wouldn't recommend using it without a basic understanding of software development. For companies without an in-house development team, it is most useful when supported by an IT partner, for example, as part of a migration project.
REA is most effective when you have a specific question about a specific program: What data does the legacy system export? What rules does the tool use for calculations? Which libraries are included in the purchased software? If you try to rebuild entire applications one-to-one, you will quickly run into legal and technical limitations.
Conclusion: REA makes reverse engineering more accessible for companies
REA connects AI agents with professional analysis tools, making reverse engineering significantly more accessible. For small and medium-sized enterprises, the greatest benefit lies in dealing with legacy software: understanding what it does before it is replaced or integrated. Legally, observing and testing software that you are using legitimately is largely permitted, while decompilation is only allowed for interoperability. Copying code from others remains off-limits. And remember, an agent's results are always just a starting point for your own verification.
The best way to start: Formulate a specific question about your most important legacy software and have it analyzed in a test environment using test data. Check beforehand whether you are using the program legally and what your license agreement says.
If you want to replace legacy software or integrate it into your workflows, contact us for an AI consultation.
FAQ: Common questions about reverse engineering with AI
What is reverse engineering?
Reverse engineering is the process of examining a finished product to understand how it works without having access to blueprints or source code. For software, this involves analyzing program files, data formats, or operational behavior.
Is reverse engineering allowed in Germany?
Under certain conditions, yes. Legitimate users are allowed to observe, examine, and test a program. Decompilation is only permitted if it is essential for achieving interoperability with an independently developed program. Copying code is not allowed.
What is REA (Reverse Engineer Anything)?
REA is a free, open-source tool that connects AI agents like Claude Code, Codex, or Cursor to analysis tools via MCP. This allows the agent to examine programs without source code and explain the results with supporting evidence.
Does REA upload my software to the cloud?
No, REA analyzes programs locally. However, the results are sent to your agent's language model, where the data protection policies of the respective provider apply.
Can REA restore the original source code?
No. For machine code, REA provides pseudocode and assembly; for JavaScript and Electron apps, it provides the module structure. The agent can use this to write its own implementation, but you will not get the original code.
Do I need Ghidra for REA?
For machine code analysis only. For this, REA uses Hopper, Ghidra, IDA, or Kuna. REA examines JavaScript and .NET programs without any additional analysis tools.
.webp)



.webp)

.webp)
.webp)

