Skip to content

How do you document legacy code with AI without hallucinations?

The short answer

By making every statement come from the code itself and carry its source, the file and lines it comes from, and by checking each citation against that source before accepting it. When there is no source, the documentation says so instead of filling the gap, and the team that knows the system reviews the result before it is published.

Héctor Fernández, Head of Product at ReeleaseUpdated
Read the transcript

Your agent already knows your system. It uses that knowledge to write your documentation.

With “Create with AI” you pick a template: architecture, functional, user manual or executive summary.

Each template brings its outline. You remove the sections you don’t need…

…and tell the AI what each section must cover.

Reelease drafts section by section from what your agent knows, and you follow it live.

When it’s done, the document is saved in your agent’s library.

Every statement cites its source: the file and the code lines behind it.

Each section also shows its quality and how many of its citations are verified.

Export it to PDF or Word, including with your company’s own Word template.

And you decide whether operators see it: the agent uses it as a source in the chat.

Your documentation, from your code, with no hallucinations: every statement backed by its source.

How Reelease does it

From a ZIP of your code to a document you can sign off on.

  • The map comes from the code

    Reelease reads your code and whatever documentation you have and draws out screens, business rules, connections, dependencies and use cases. You find any piece by its file and line.

    See how it understands your system
  • Every citation, checked

    Every fact about your system cites its source in your code or your documents, and each citation is checked against it. When there is no source, it tells you.

  • Documents you can hand over

    Architecture with C4 diagrams, functional specification, user manual with every screen, executive summary or README. You adjust the outline, give instructions per section and export to PDF or Word, including your company's template.

  • From mainframe to your APIs

    COBOL, CICS, PL/I and JCL; IBM i RPG; Natural and Adabas; PL/SQL, Oracle Forms and Reports; .NET Framework, PowerBuilder, Delphi and VB6; and also Java, Python, Ruby, Node and React.

    See every technology
  • The base for renewal

    The functional specification and business rules drawn from your code are the starting point for the new system, while agents keep working on the current one.

Frequently asked questions

What happens to my code?

It is read in a temporary workspace. An uploaded ZIP is kept for 8 days at most, just long enough to finish the analysis. Reelease keeps the knowledge it extracts, with short code citations, until you delete the agent.

Is any model trained on my code?

No. What is read goes only to the AI model you choose, and no provider trains on it.

Who reviews what it writes?

Your team. What the analysis finds is a proposal until you publish it, and each section of a document cites its sources and shows its quality before it is published.

Can I ask about the system instead of reading the document?

Yes. The chat's Ask mode answers with the source of every fact, without running anything, and co-writes with you when you need it.

See it on your own systems

In the pilot, your operators work with the agent on real cases, with the approvals you define and a run record for every run.

You choose the cookies

We use technical storage to remember your choice and, only if you accept, analytics cookies (Google Analytics) to understand how the site is used. You can change your choice at any time. Learn more in our cookie policy.