One notable development in banking QA in recent months has been that American investment bank Goldman Sachs is rapidly moving deeper into AI-driven software engineering.
The bank is reportedly combining automated unit-test generation with autonomous coding agents capable of scoping, writing, testing and debugging production code.
The expansion signals a significant change in how one of the world’s largest investment banks develops and assures software.
It also creates a new challenge for quality engineering teams: how should banks independently validate code when an AI agent can generate the software, produce its tests and repair the resulting defects?
Goldman reportedly has hundreds of instances of Devin, the autonomous software engineer developed by Cognition, operating alongside its approximately 12,000 human engineers and developers.
The technology was initially deployed to help modernise the bank’s legacy architecture, but its remit has expanded as Goldman looks for ways to accelerate software delivery across its engineering estate.
Chief information officer Marco Argenti has compared Devin to “a new employee” and said the agent could be three to four times as productive as the AI coding tools previously used by the bank.
For Goldman’s quality assurance operation, however, the latest rollout does not represent the beginning of AI-assisted testing. It is the next stage of a transformation already under way.
From test generation to autonomous engineering
Goldman’s Quality Assurance Engineering organisation is responsible for helping development teams deliver software that is resilient, compliant and suitable for use across the bank’s highly interconnected technology environment.
Its remit includes defining testing standards, supporting automation and providing developers with frameworks that allow defects to be identified earlier in the software development lifecycle.
One of the organisation’s most persistent challenges has been inconsistent unit-test coverage across large legacy Java codebases. Creating those tests manually can require substantial developer time, particularly when teams are working with older systems containing thousands of lines of code.
Goldman Sachs’ NYC office
To address that problem, Goldman introduced Diffblue Cover, an AI-powered tool that automatically generates Java unit tests.
“We decided to use Diffblue Cover because of the potential it offered for helping us meet our most ambitious code coverage targets, while also freeing up developers’ time for the work only they can do,” explained Matt Davey, managing director for technology QAE and SDLC at Goldman Sachs.
The bank reported a sharp increase in testing speed and coverage following the deployment.
In one backend module, code coverage increased from 36% to 72% within 24 hours. Goldman estimated that producing the same increase manually would have required more than eight days of developer effort.
In another component containing approximately 15,000 lines of code, the technology generated more than 3,000 unit tests overnight. According to the bank, that was around 180 times faster than producing the tests manually.
“Diffblue Cover is enabling us to improve quality and build new software faster,” Davey stressed.
The generated tests also identified unexpected edge cases and stability issues, according to Goldman. They could be incorporated into the bank’s existing test suites with limited additional review.
That deployment was largely focused on a defined activity: generating unit tests for existing or newly written Java code. Devin takes the bank further towards autonomous engineering because it can operate across a much broader development workflow.
The agent can interpret project requirements, plan the work, write code, execute tests, submit a pull request and respond to feedback from human reviewers.
This expanded autonomy may produce greater efficiency, but it also increases the number of decisions made by the AI and, consequently, the scope of the assurance required.
Who tests the AI tester?
The central quality risk is not simply that an AI agent might produce defective code. Conventional development already assumes that developers will make mistakes, which is why software passes through multiple testing and review stages.
The more difficult issue arises when the same agent interprets a requirement, generates the implementation and writes the tests used to determine whether that implementation is correct.
If the original requirement is incomplete or ambiguous, the agent could make a mistaken assumption while producing the code and repeat that assumption while testing it. The resulting test suite might pass even though the software fails to implement an important business rule, security requirement or regulatory control.
In that environment, a high test-pass rate is not necessarily evidence that the code is fit for production. It may only demonstrate that the implementation is consistent with the agent’s own interpretation.
For banks, that strengthens the case for separating code generation from independent validation.
Agent-generated code could be tested through established regression suites, conventional testing tools or a separate AI model that did not participate in producing the original implementation.

Human approval may also remain essential for changes involving critical applications, customer data, trading infrastructure or regulated decisions.
Quality engineering teams will need to understand not only whether tests passed, but how they were selected and what they were designed to prove.
That requires an audit trail showing the instructions given to an agent, the files it changed, the tests it created and executed, the defects it encountered, the corrections it made and the person who ultimately authorised the release.
Without that evidence, a bank may struggle to reconstruct why a change was made or demonstrate that the risks were properly assessed.
Legacy risks
Goldman’s initial use of Devin for legacy modernisation provides a potentially valuable but demanding use case.
Many financial institutions continue to depend on applications built decades ago, sometimes using programming languages and architectures that are no longer widely understood. Documentation may be incomplete, while the engineers who designed the systems may have retired or left the organisation.
AI agents can examine and rewrite older code far faster than human engineering teams working manually. They may also help banks tackle modernisation work that has been postponed because of its cost and complexity.
However, legacy systems rarely operate in isolation. A seemingly minor change can affect downstream applications, data feeds, customer platforms, reporting processes and risk calculations.
Unit tests alone cannot establish that those relationships remain intact. Banks still need integration, regression, performance, resilience and security testing to determine whether a modernised component continues to function correctly within the wider technology estate.
The faster agents change legacy applications, the more important it becomes for testing capabilities to keep pace.
Otherwise, AI could allow development teams to generate changes faster than quality teams can establish their impact.
Measuring the cost of quality
Evidence from Cognition’s broader customer base indicates the potential productivity gains associated with autonomous software engineering.
One organisation reportedly reduced the time needed to repair an individual software vulnerability from 30 minutes to 1.5 minutes. Another saved between 5% and 10% of development time by using Devin to address security issues.
The proportion of agent-generated pull requests accepted by human reviewers without substantial recoding reportedly increased from approximately one-third to around two-thirds over time.
Those figures were drawn from Cognition’s customers more broadly and were not reported as results from Goldman’s own deployment.

They nevertheless illustrate why banks are interested in agentic coding. Across thousands of software changes, even relatively small reductions in development time could translate into substantial savings.
The challenge will be ensuring that speed is not treated as a substitute for quality. The time required to generate a vulnerability fix does not establish whether the change fully addressed the security weakness, introduced a separate defect or caused an unexpected regression elsewhere.
Similarly, the acceptance of a pull request does not reveal how much subsequent testing, monitoring or remediation was required.
Banks will therefore need to measure the full cost of AI-generated software. That could include the time spent reviewing changes, defect escape rates, production incidents, rework, security findings and the stability of affected systems after release.
If those downstream costs are excluded, productivity measurements could exaggerate the benefits of agentic development by overlooking work transferred from coding into testing, remediation and production support.
Quality at software-generation speed
At the same time, Goldman is also widening its use of Anthropic’s Claude, with reported applications involving trades and transactions as well as client vetting and onboarding.
Argenti has described a move away from measuring how many employees use AI. Instead, the bank is examining how rapidly an idea can be converted into a prototype and then a working production system. He has likened that emerging capability to “3D printing software”.

For quality assurance teams, that description captures both the opportunity and the pressure created by generative and agentic development.
If banks can create software in a fraction of the time previously required, testing teams will need to produce credible assurance evidence at a similar speed.
Lengthy manual testing cycles could become a bottleneck, but simply reducing the level of scrutiny would expose institutions to unacceptable operational and regulatory risk.
The likely response is a greater emphasis on continuous assurance. Automated regression and security testing will need to operate throughout the development process, supported by production monitoring and controls capable of stopping or reversing unsafe changes.
Quality engineering may also need to become involved earlier, helping define the requirements, constraints and acceptance criteria given to AI agents before they begin producing code.
The clearer those boundaries are, the less room an autonomous system has to make its own interpretation of an ambiguous task.
Cognition’s findings reportedly suggest that Devin can show senior-level understanding of code while behaving more like a junior employee when executing work with loosely defined objectives.
That distinction reinforces the importance of tightly scoped tasks, explicit permission boundaries and experienced oversight.
New role for QA teams
The rise of agentic coding does not necessarily reduce the importance of Goldman’s QAE organisation. It changes where its expertise is required.
AI can produce thousands of unit tests, automate repetitive coding tasks and repair common vulnerabilities. Quality engineers must determine whether those tests are meaningful, whether the requirements are complete and whether the resulting evidence justifies releasing a change into a critical banking environment.
The technology also creates a longer-term workforce question.
Routine coding and testing work has traditionally given junior engineers experience of how complex systems behave, interact and fail. If autonomous agents absorb much of that activity, banks will need new ways to develop the people who will eventually supervise AI-generated systems and accept responsibility for their output.
Goldman’s earlier use of AI-generated unit tests demonstrated how automation can improve coverage while releasing developers from repetitive work. Its deployment of autonomous software engineers represents a considerably larger test.
The bank must now establish whether agentic AI can accelerate software engineering without weakening the independence of its assurance processes.
The decisive measure will not be how quickly Devin can write or repair code. It will be whether Goldman can prove that the resulting software is reliable, secure and compliant, and that an autonomous agent has not become the author, tester and judge of its own work.

REGISTER TODAY – SIMPLY CLICK HERE
Why not become a QA Financial subscriber?
It’s entirely FREE
* Receive our weekly newsletter every Wednesday * Get priority invitations to our Forum events *
READ MORE
QA FINANCIAL PODCASTS


