Two years ago, a coding assistant completed lines. Today there are agents that open a full pull request: they read the code, write the change, run the tests and propose the result. For anyone commissioning custom software with AI agents, the question is no longer whether the team uses them. It is where they use them and who answers for what they write.
The answer changes the timeline, changes how the cost is spread and changes the review work. It does not change accountability. Code that goes into production still has a human owner.
This article explains what speeds up and what does not in custom software development with AI agents. It ends with the questions worth asking a vendor before you sign.
What changes in custom software development when agents write code?
The first draft changes. Tasks that took hours of typing, such as boilerplate, library upgrades, unit tests or API adapters, now get a first version in minutes.
The rest of the work does not change. Someone still has to understand what the client needs, decide the architecture, review the change, integrate it with other systems and get the application through acceptance. With agents, that work weighs more in the total, because writing weighs less.
In practice, the bottleneck of a project moves. It is no longer in writing. It is in review and testing.
Where do you save time and where do you not?
- Boilerplate and glue code. Forms, validation, API calls and data mapping. This is where the agent delivers most, because the pattern already exists and is easy to check.
- Tests. The agent generates test cases from requirements and code. The team must confirm they test what matters, not just what is easy to test.
- Reading legacy code. Explaining an undocumented module, finding where a function is used or proposing a refactor. It shortens onboarding onto an existing system.
- Requirements and discovery. The gain here is small. Interviewing users, understanding business rules and deciding what is out of scope is still work for people.
- Integration and acceptance. The gain is small here too. Environments, real data, permissions and client sign-off take as long with or without agents.
| Phase | What the agent speeds up | What stays with the team |
|---|---|---|
| Discovery | Summaries of documents and existing systems | Interviews, business rules, scope and priorities |
| Development | First draft of code, unit tests and migrations | Architecture, design decisions and review of every change |
| Quality | Generating and maintaining tests, failure analysis | Test strategy, exploratory testing and approval |
| Delivery | Technical documentation and release notes | Client acceptance, go-live and support |
How should code written by an agent be reviewed?
Like code from any new team member, with two differences. The agent writes faster than anyone can review carefully. It also does not ask when it is unsure. So review needs written rules before the agent starts.
What happens to the cost of custom software with AI agents?
In custom software with AI agents, cost does not fall in proportion to writing time. It shifts. There are fewer hours of writing and more hours of review, testing and integration, done by more experienced people. On a small project the total can fall. On a critical system the saving is smaller, because review and compliance weigh more.
That is why the contract model matters. A fixed price agreed before discovery hides these uncertainties. Working in sprints, with working software delivered each cycle, shows early where the agent saved time and where it did not. We broke down the cost components in our article on the cost of custom software development in Portugal.
What should you ask a custom software vendor about AI agents?
- Where do you use AI agents and where do you not? A vague answer (“we use AI everywhere”) is worse than a short, precise one.
- Who reviews each change, and under what rules? Ask to see the review rules and what happens in sensitive areas.
- Where do the models and my code run? For sensitive data, ask whether models can be hosted on your infrastructure or in the EU.
- Who owns the code at the end? Code, documentation and tests should pass to the client, with an organised handover.
- How do you measure progress? Lines of code do not matter. Working software every sprint and time to acceptance do.
We describe the phases of a project in our article on the software development process and what Caixa Mágica does on the custom software development page.
How should the client follow the project?
You do not need to read code to know whether the project is going well. You need to look at the right signals every sprint.
Which custom software tasks should you not give to AI agents?
In some work the speed gain is not worth the risk. In these cases the agent can help read and summarise, but writing and deciding stay with a person.
- Business rules nobody wrote down. Exceptions agreed on the phone, legal deadlines or billing rules that only exist in the heads of the people who use the system. The agent does not know them and will write code that looks right.
- Security and personal data. Authentication, access control, encryption and personal data handling. A mistake here does not show in functional tests and costs a lot later.
- Production data migrations. A migration script generated quickly can pass in testing and corrupt real data. It should be written, reviewed and rehearsed on copies of the data.
- Architecture decisions. Choosing one database over another, splitting a system into services or keeping it together. The agent can list options. The choice has consequences for years.
Personal data in the code, in test data or in prompts sent to an agent falls under the General Data Protection Regulation (GDPR).
What happens to discovery in custom software with AI agents?
It becomes more important. When code is written quickly, a scope mistake reaches production faster. At Caixa Mágica, discovery takes 2 to 4 weeks and ends with three things in writing: what the system must do, what is out of scope and how you will measure that it is right.
With agents there is a fourth: where they are used and where they are not. This decision goes into the project plan, like the choice of language or infrastructure. The client knows from the start which parts of the code were drafted by an agent and who reviewed them.
What does a custom software development sprint with agents look like?
An illustrative two-week sprint shows where the time moves. It is not a measurement. It is there to show the logic.
| Moment | What happens | Who decides |
|---|---|---|
| Planning | The team picks the tasks and marks those that can get a first draft from the agent | Team and client |
| Days 1 to 6 | The agent proposes small changes. Automated tests run before every review | Every change has an owner |
| Days 7 to 9 | Integration, end-to-end tests and fixes from review | Team |
| Day 10 | Working software demo to the client and sprint review | Client |
What about intellectual property and code security?
There are three questions a client should ask that most contracts still do not answer.
What happens to documentation and code handover?
In a project with agents, documentation can be generated faster than ever. That does not make it useful by default. An agent describes well what the code does. It explains poorly why it was built that way, which alternatives were rejected and which business rules sit behind each decision.
That is why documentation for a custom software project with AI agents should have two layers. The first is technical and can be drafted by the agent: code structure, interfaces, instructions to set up the environment and run the tests. The second is about decisions and must be written by people: what was decided, why and with whom.
At Caixa Mágica, when a client takes over the code, they receive full documentation and an organised handover. With agents, that handover also includes the project’s AI usage rules, so the new team knows where agents can keep being used.
For the costs that come after delivery, see our article on software maintenance cost. If you are still deciding whether to build at all, read build vs buy software. Rules for AI used in software also come from the EU AI Act.