AI & Automation
November 24, 2026

Reverse Engineering with AI: What REA can do and what’s legal in Germany

Reverse engineering with AI: What the open-source tool REA can do, how SMEs are using it, and what copyright and trade secret laws allow.

Reverse Engineering with AI: What REA can do and what’s legal in Germany

Less manual, more automated?

In an initial consultation, let's find out where your biggest needs lie and what optimization potential you have.

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:

‍

Use Case What REA Delivers Who It's For
Understanding legacy software before replacement Which features, data formats, and dependencies are actually embedded in the program IT leadership managing migration projects
Building interfaces How a program without an API stores and exchanges data Teams looking to integrate legacy systems into workflows
Auditing in-house or third-party software Embedded libraries, certificates, and potential vulnerabilities Development and IT security
Analyzing errors Evaluation of crash reports and recorded behavior Support and development
Understanding third-party features Explanation of how a specific feature works Only after legal review, see below

‍

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. ‍

‍

Recommended Read

To see how these instructions for AI agents are built and which ones are most useful in practice, check out our article on Claude Skills.

‍

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:

‍

  1. 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).
  2. 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.
  3. 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.
  4. License agreements have limits: Clauses that contradict these rights are void according to Section 69g (2) UrhG.
  5. 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.

‍

Ready to scale with AI?

Get a free strategy call and discover how AI can help you automate workflows, create better content, and scale your marketing.

Book a call

‍

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.

‍

Less manual, more automated?

Let's arrange an initial consultation to identify your greatest needs and explore potential areas for optimisation.

SLOT 01
Assigned

To achieve the best results, we work with a maximum of six companies per quarter.

SLOT 02
Assigned

To achieve the best results, we work with a maximum of six companies per quarter.

SLOT 03
Assigned

To achieve the best results, we work with a maximum of six companies per quarter.

SLOT 04
Assigned

To achieve the best results, we work with a maximum of six companies per quarter.

SLOT 05
Available

To achieve the best results, we work with a maximum of six companies per quarter.

SLOT 06
Available

To achieve the best possible results, we limit the number of companies we work with to a maximum of six per quarter.

faq

Your questions, our answers

What does bakedwith actually do?

bakedwith is a boutique agency specialising in automation and AI. We help companies reduce manual work, simplify processes and save time by creating smart, scalable workflows.

Who is bakedwith suitable for?

For teams ready to work more efficiently. Our customers come from a range of areas, including marketing, sales, HR and operations, spanning from start-ups to medium-sized enterprises.

How does a project with you work?

First, we analyse your processes and identify automation potential. Then, we develop customised workflows. This is followed by implementation, training and optimisation.

What does it cost to work with bakedwith?

As every company is different, we don't offer a single flat project rate. One-off projects start from €5,000 (excl. VAT); the exact price follows from the scope after an initial consultation. The AI and automation subscription starts from €4,000 per month (excl. VAT). First, we analyse your processes. Then, based on this analysis, we develop a clear roadmap including the required effort and budget.

What tools do you use?

We adopt a tool-agnostic approach and adapt to your existing systems and processes. It's not the tool that matters to us, but the process behind it. We integrate the solution that best fits your setup, whether it's Make, n8n, Notion, HubSpot, Pipedrive or Airtable. When it comes to intelligent workflows, text generation, or decision automation, we also use OpenAI, ChatGPT, Claude, ElevenLabs, and other specialised AI systems.

Why bakedwith and not another agency?

We come from a practical background ourselves: founders, marketers, and builders. This is precisely why we combine entrepreneurial thinking with technical skills to develop automations that help teams to progress.

Can you work with our existing tools?

Yes. We generally build upon your existing tool stack and only add new tools if they are truly necessary. Common tools include HubSpot, Pipedrive, Salesforce, Airtable, Notion, Google Sheets, Slack, Make, n8n, Zapier, OpenAI, Claude, and other AI tools.

How quickly can we get started?

After the initial consultation, we can usually quickly define the first use cases and start implementation shortly thereafter. For simple workflows, initial results can often be seen within the first few weeks. More complex systems depend on your tools, data, and internal approval processes.

Do we own the workflows you build?

Yes. Our goal is for your team to understand, use, and continue to operate the systems themselves. That's why we meticulously document the workflows and hand them over in a way that ensures the knowledge doesn't stay with us.

Do you maintain and improve workflows even after launch?

Yes. That's precisely what the subscription is for. We don't just build workflows and disappear; we continuously monitor, improve, expand, and maintain your systems.

How are you different from an in-house automation role?

Hiring takes time, and a single person rarely covers GTM strategy, automation, AI, tooling, testing, and documentation equally well. With bakedwith, you get a specialized team with proven workflow experience, without having to build everything internally from scratch.

How are you different from a freelancer?

Freelancers can be great for individual tasks. bakedwith is a better fit if you're looking for a structured partner who identifies potential, builds workflows, documents them, and continuously improves your GTM systems.

What does collaboration with bakedwith cost?

For one-off workflow projects, we offer individual pricing from €5,000 (excl. VAT). For ongoing support, we work with monthly subscription packages. The right setup depends on your goals, complexity, and the required scope of automation.

What happens during the initial consultation?

Together, we develop initial ideas, examine your current marketing and sales processes, and assess where AI and automation truly make sense. Afterwards, we prioritize the best options and decide where to begin.

Do you have any questions? Get in touch with us!