At Mercuria, an Argentine fintech for rental guarantees and payments, Hive serves as CTO on a Forward Deployed Engineer model: we lead technology from inside their team and we answer for the system reaching production. To do that with a small team we built what we call an agentic software factory. AI agents write and review most of the code; people dispatch the work and decide what goes to production. Mercuria authorised us to describe how it works.
With that factory we built the app, the Mercuria Pay wallet, the integration with Banco Coinag, reporting to Equifax and the BCRA (Argentina’s central bank), the guarantee engine —with automated scoring and human review of cases under analysis— and the operations back office, where AI agents work alongside the team.
The path of a change
The unit of work is an issue. From there, every change goes through the same stations, in the same order:
- Issue: the requirement comes in through a fixed form.
- Specification: a planner agent reads the real code in that area, writes the spec and splits it into small tasks. Acceptance criteria are written in EARS, a fixed-structure format ("when X happens, the system shall do Y") that forces you to state what is expected in each situation. The spec includes the test command that defines when the task is done.
- Isolated copy: each task runs in its own worktree, a copy of the repository, so two agents never step on each other.
- Implementation: an agent writes the code, runs the tests and opens the pull request.
- Review: a critic agent reads the diff against the acceptance criteria and comments by file and line. A multi-agent review is added on top.
- Continuous integration: the checks must pass.
- Staging: deployment to staging is automatic.
- Human gate: promotion to production is triggered by a person with an authorised role.
- Production.
What holds the pipeline together is not the agents but the contract. A task without acceptance criteria and a test command cannot enter implementation. That block lives in the system, not in anyone’s good intentions.
Where autonomy stops
I want to be precise, because "autonomous factory" invites exaggeration. Today there are two points where a person decides.
The first is dispatch. A person decides which task is picked up and when. Automatic triggering of the planner is specified but not implemented: before turning it on we want to measure what an automatic planning run costs in tokens and dollars. In a fintech we do not set a budget by eye.
The second is production. Autonomy reaches staging. Each repository’s production pipeline only runs on manual dispatch —it has no automatic trigger— and only a person with the CTO or admin role can dispatch it. Who approved each promotion is recorded. Adding an automatic trigger to that workflow would break the gate, which is why it is the rule we guard most closely. The reverse path exists too: a rollback returns to the last successful, manually approved production deployment.
Autonomous means autonomous inside a task already dispatched, up to staging. It does not mean without people.
There is a third, less visible boundary: secrets. Agents never see credentials. Each service declares its secrets by reference —where they live, not what they contain— and a person loads the value directly into the cloud secret manager. No step in the pipeline reads that value.
30 days of volume
In the 30 days to November 20, 2026, across six repositories:
- 621 pull requests merged.
- 273 staging deployments.
- 31 production promotions.
- 39 app builds.
The ratio between 273 and 31 says something about the pipeline: not everything that reaches staging needs to go to production the same day. Promotions batch changes and go through a person who checks the state of staging before approving.
Volume is not value
621 pull requests in a month is an impressive number that, on its own, proves nothing. An agent can produce many tiny changes, or many changes that need fixing afterwards. If I only watch volume, I reward exactly what I do not want.
What we also watch:
- Review rejections: how many pull requests the critic agent or a person sends back, and why. If they dropped to zero, I would suspect the review before celebrating.
- Production rollbacks: each one is a question about what the pipeline let through.
- What reaches the people using it: features in the app, the wallet and the back office that are actually used in Mercuria’s operation. That is what justifies the rest.
I do not publish rejection or rollback rates because they are not yet instrumented with the rigour of the figures above. It is a known gap, not hidden data.
The failure that taught us the most
The most expensive defect was not a logic bug. It was a pattern that showed up in several layers sharing no code: a failure to read data that was displayed as an absence of data. An empty screen is indistinguishable from a screen that could not look. On the happy path everything works, which is why conventional QA does not catch it.
The defence we adopted is to treat "could not measure" as a state of its own, distinct from "empty" and from "fine", that is never painted green. For critical fixes we also reintroduce the bug on purpose and check that the test turns red. A test we never saw fail proves nothing.
What you can copy
You do not need to build all of this to start. What I do recommend having from day one:
- Specs with verifiable acceptance criteria and a test command that defines "done".
- An isolated copy of the repository per task.
- A review that reads the change against those criteria, not against the reviewer’s taste.
- A single promotion point to production that requires a person and leaves a record.
- Secrets the agents cannot read.
The rest gets added when volume demands it. Order matters: contract and gate first, speed second.