To understand legacy code without documentation, start with a business flow and trace the systems, dependencies, and rules that make it work. In banking software built over decades, that evidence often sits across several applications, configurations, and records of production behavior.

Age explains part of the difficulty. The bigger problem is the accumulation of decisions engineers rely on every day.

Legacy is not really about old technology

When people say legacy they tend to picture the mainframe, the COBOL, the core platform bought in the nineties and extended ever since. Those systems are old, but age on its own is not what makes them hard. They are stable, they are well understood by the people who run them, and they process an enormous amount of the world’s money every day without incident.

The difficulty is accumulation. Decades of decisions sit on top of those systems: an integration added for one product launch, a workaround for a limitation in a vendor package, a batch job that has to finish before another can start, a duplicated process inherited through an acquisition and never merged, a component everyone treats as minor that turns out to be load-bearing for a customer journey nobody associates with it. Each of those decisions was reasonable when it was made. Almost none of them were written down as a rule. Together they are what actually governs how change happens in the bank.

Where undocumented business rules show up

Ask an experienced engineer whether a particular change is safe and they will rarely consult a document. They will consult their own memory of the estate. They know which team owns the service, which release window it falls into, which downstream process breaks if it is unavailable at the wrong hour, and which vendor contract makes a component effectively impossible to replace this year.

The evidence is fragmented. Documentation records an intended state, code defines possible behavior, and operational data records what was observed. A useful model brings those sources together and identifies what remains unknown. It cannot recover a business decision that left no evidence.

This is where AI pilots stop

Agents can be useful on well-bounded tasks. Working across services also depends on system knowledge that may not be in the agent’s available context.

A plausible change can overlook a downstream consumer, an implemented business rule or a dependency owned by another team. Engineers then reconstruct that context before they can approve the work. The problem is missing system knowledge, regardless of how many repositories an agent can access.

The dependencies legacy modernization must preserve

A legacy application modernization effort starts with those dependencies. Trace what consumes the application’s outputs and which behavior each consumer needs before deciding what to replace.

Modernization programs and development tasks run on different timescales. Teams need useful context while longer programs continue. A bank architect told us that answering architecture questions can take weeks.

You do not have to replace the estate to use agents inside it

Teams can begin by recovering system knowledge within an agreed application domain. They do not have to replace the estate before inspecting its dependencies, business rules and observed behavior.

Ontoo recovers relationships and business behavior from connected systems and returns the supporting evidence with its findings. Code context is kept current automatically.

Useful agent context needs evidence

For a specific engineering task, give the team and its coding agent the dependencies and implemented rules they need, with a source for each finding. Make clear which systems and behaviors still need investigation.

Engineers use that context within their existing review process and retain approval and execution controls. Plan review and release checks are part of Ontoo’s roadmap.

Legacy stops being a reason to wait

Banking makes the problem concrete: a change can cross core platforms, shared services and business workflows. The first step is to evaluate a scoped application and a real engineering question, rather than promise estate-wide autonomy.

Ontoo is a context engine for agentic software development, powered by its Architectural Context Layer. It gives engineers and coding agents the rules and relationships they need, with evidence they can inspect.

Originally published 9 September 2026. Updated 28 September 2026 to reflect the current product scope.