How We Build Software With Agents.
In Lisbon we develop procurement platforms that public authorities and enterprises around the world rely on every day. Since 2026 we do it with an agentic workflow: AI agents plan, implement, test and review inside guardrails we wrote down, and a developer owns every result. This page describes how that works, honestly and in detail.
16
agent roles, from Architect to Security to Janitor
9
architectural laws every plan is checked against
27+
reusable skills that encode how we do things
1
human gate before anything is committed, merged or deployed
What We Believe About AI in Engineering
These are not slogans. Each one became a rule because we got it wrong first.
The developer owns the result
Agents propose, implement and review. A person decides what gets committed, merged and deployed. An agent's verdict is a finding, never an approval.
Tools are the truth
If the build, the tests or the analyzer say red, the claim "it works" is false. We re-measure every figure an agent reports before we trust it.
No code without a plan
Features start with a spec and a plan that lists the tests before the code. The plan is reviewed by someone who did not write it. The author never approves their own plan.
Uncertainty resolves upwards
When it is unclear how heavy a change is, it goes through the heavier process. A wrong "small" classification is a process breach. A wrong "large" one only costs time.
Complexity has a budget
Method length, cognitive complexity, nesting depth and duplication have hard limits. Going over them needs a written decision record, not a suppressed warning.
Decisions are written down
Every architectural decision is an ADR. Every agent run leaves a manifest with its gates and failed rounds. Where an agent decided on its own, it says so, so a human can check.
From Ticket to Production
Every non-trivial change follows the same state machine. Agents do most of the typing. People hold the gates.
01 · Intake
Classify before you type
A ticket arrives in Jira. The first thing the agent prints is a track banner: trivial, small, delivery run or spike. Eight hard triggers decide it, such as touching the database schema, security code or a public contract. When in doubt, the heavier track wins.
02 · Spec & Plan
Tests are listed before code exists
Features get a frozen spec first: a two-sentence north star without technology words, sources, a glossary, a PRD, an OpenAPI contract and Gherkin acceptance scenarios. The plan maps every action to domain rules, test cases and fixtures, including the negative paths.
03 · Architect GO
A reviewer that cannot write code
The Architect agent is read-only by construction: its tool list simply has no write capability. It checks the plan against our nine architectural laws and the complexity budget and answers GO, CHANGES or BLOCKED. CHANGES sends the plan back.
04 · Implement
Write-sets, not free rein
Backend, frontend, test and DevOps agents implement in parallel, each only inside the files assigned to it. Red tests come first. Skills encode the "how": conventional commits, refactoring in steps of 300 lines or less, how to add a mapper or a migration in this codebase.
05 · Gates
Agents review, tools decide
QA and Security agents review the diff: coverage on new code, a negative test for every happy path, a STRIDE threat model where it matters. Then the tools run: warning-clean build, tests, static analysis, dependency scan. A red tool result ends the discussion.
06 · Human Gate
Commit, PR, merge: people only
No agent commits, opens a pull request, merges or deploys without an explicit instruction. The developer reads the run manifest, including the failed rounds, and decides. A red gate can only ship with a named human override.
A Team of Agents With Clear Roles
We call it the agency. Sixteen roles, each with a written mandate, a reading order and a list of things it must never do. A developer orchestrates them like a small team.
Reviewers cannot write
Architect, QA and Security are read-only. That is enforced by their tool whitelist, not by a polite instruction. Their output is a list of findings with a verdict. A person turns a verdict into a decision.
Implementers get a write-set
Each implementing agent is assigned the files it may touch, and only after the Architect's GO. That is what lets several agents work in parallel on one ticket without stepping on each other.
Local where it builds, cloud where it reads
Build, test and database work run locally as Claude Code subagents. Read-and-reason reviews can also run as managed agents on the Anthropic platform, working from an uploaded diff. Every cloud verdict carries a "needs local gates" list.
Agents talk through an inbox
Questions, review requests, defect reports and hand-offs between roles are small YAML messages with a sender, a recipient role and a status. A test fails the build if a message sits unanswered for two weeks.
Four delivery tracks
Not every change needs the full machinery. The track decides how much of it applies.
Track
Trivial
Typos, comments, a renamed variable. Build and tests must be green. No plan required.
Track
Small
A contained fix in one module. One agent, a short plan, tests before code, the standard gates.
Track
Delivery Run
Features and anything that trips a hard trigger. Full agency: spec, plan, Architect GO, parallel implementers, QA and Security review, run manifest, human gate.
Track
Spike
Throwaway exploration behind a merge firewall. Learn fast, write an ADR, then build it properly on a delivery run.
The Pipeline Is the Safety Net
Agents make mistakes with great confidence. The pipeline does not care who wrote the code. Here is what runs on every pull request and after every merge, on Azure Pipelines.
Nine quality gates, in order
- 1Pre-flight. Spec frozen, plan exists, track declared and validated against what the diff actually touches.
- 2Build. Warning-clean, Roslyn analyzers, complexity budget.
- 3Tests. Unit and integration, 70% or more coverage on new code, a negative path for every happy path.
- 4Static analysis. SonarQube: zero new critical issues, zero open hotspots, duplication at 3% or less.
- 5Dependencies. Trivy and Semgrep: zero new high or critical findings.
- 6Architecture spot-check. Boundaries respected, no business logic instantiating services.
- 7Contracts. OpenAPI linted with Spectral, events versioned, backwards compatible.
- 8Migration safety. Database migrations are checked before they ship.
- 9Human gate. Peer review and product owner acceptance.
Overriding a gate requires an ADR. The cross-tenant isolation probe can never be overridden.
An AI reviewer in the pull request
Before any reviewer looks at a pull request, the pipeline checks the declared track against the diff: a change that touches the database, security code or a public contract cannot pass as "small", and a delivery run without a manifest created at the start fails. Then every pull request gets an LLM code review: OpenAI Codex runs headless in the pipeline against our review conventions. It is deliberately a different model from the one that writes the code, because a reviewer that shares the author's training shares the author's blind spots. It reads the diff and posts its findings as a PR comment. Diffs above four thousand lines are skipped with a request for a manual review, which is itself a signal that the change is too big.
Complexity budget
Measured by SonarQube. Agents love to suppress a warning instead of fixing it, so a suppression without a written justification fails review.
Three Codebases, Three Stages of the Journey
Agentic development looks different on a 25-year-old platform than on a greenfield one. We do both, and we are honest about which is which.
open ordering
A Source-to-Pay platform with two decades of product history. .NET Framework, ASP.NET MVC with WebForms remnants, NHibernate, SQL Server, Apache Solr. Well over a million lines of C#. Moved from TFVC to Git in late 2025 and from classic builds to Azure Pipelines, Docker and Nomad since.
- check_circleModule-level guides teach agents each layer's pitfalls
- check_circleStrangler-pattern refactoring owned by a Janitor role
- check_circlePerformance initiative run in agent-planned waves
About half of all commits since mid-2026 are co-authored with Claude.
veenion one
The next-generation Source-to-Pay platform, started in summer 2026 and designed for agents from the first commit. .NET 9 with warnings as errors, Angular with Angular Material, PostgreSQL, RabbitMQ with a transactional outbox, Vault, OpenTelemetry. Twenty-seven bounded contexts, database per tenant, event-driven, API-first with linted OpenAPI and AsyncAPI contracts.
- check_circleGovernance as tests: ADR consistency, inbox hygiene, tenant isolation
- check_circleSpec frozen before code, enforced by a git tag
- check_circleTestcontainers for Postgres and RabbitMQ in every context
More than nine in ten commits are co-authored with Claude.
Sourcing
Our sourcing codebase is the next one to make the move. It is still on Team Foundation Version Control. Migrating it to Git is the first step; bringing the agency model, the module guides and the pipeline to it is the second. If you join now, you will be part of that.
- radio_button_uncheckedTFVC to Git migration
- radio_button_uncheckedAzure Pipelines with PR quality lane
- radio_button_uncheckedAgent guides and skills for its modules
We will write about it on the blog as it happens.
Pods: Three People and an Agency
Agents changed how much one person can own. So we changed the shape of the team. Since mid-2026 the product organisation across Lisbon, Wiesbaden and Kaiserslautern is moving from product teams to small pods that rotate through the new platform.
Why three
Small enough to own a result
A pod is one feature owner, one developer and one QA. The feature owner is always a developer, promoted from within the pod, so context stays where the work is. Everything a classic team of eight did with meetings, a pod does with agents and a written plan.
Why rotate
Nobody is "the legacy person"
Every developer spends between five and eleven months on the new platform over the eighteen-month plan, then returns to a maintenance pod carrying what they learned. Monthly rotation buys spread at the price of disruption, and we chose spread.
The ramp
Two pods to four
The pilot pod formed in July 2026. Two pods work on veenion one today, a third joins in spring 2027 and a fourth in autumn 2027. Each legacy product then keeps one maintenance pod and one second-level pod. Work runs in four-week cycles on ISO weeks, not calendar months.
The precondition
Documentation or it grinds to a halt
Rotation only works if a newcomer can be productive in a pod within days. That is why the module guides, the decision records, the tests and the onboarding workflow are not nice-to-haves. They are what lets a person move. The agents need them for the same reason.
How We Grade Ourselves
"AI-first" is easy to claim. We assess every product unit each quarter against a belt-grade qualification system defined at group level, with twenty-seven indicators, six levels and one unforgiving rule.
What gets measured
Nine dimensions, from governance (an AI risk framework, GDPR compliance for AI workflows, a usage policy) through tooling and qualification to hard numbers: median lines changed per autonomous pull request, median agent task duration, human-approved gates per workflow, test pass rate at the agent's first attempt, pull-request cycle time, coverage trend, incident rate of AI-merged code, and the share of code generated by AI.
The weakest-link rule
The overall belt is the lowest rated indicator, not an average. An indicator that was not assessed withholds the grade entirely: "not assessed" and "Lead" are different statements. The observability and static-analysis indicators must reach Bronze before any Bronze-or-better belt is valid. You cannot talk your way up this ladder. You have to measure your way up.
Where the evidence comes from
The same mechanisms that run daily development produce the evidence: run manifests and decision records in the repositories, Claude Code traces in Langfuse, SonarQube trends, Azure DevOps pull-request data, and a developer survey. The ratings are entered by people and reviewed each quarter. The grade itself is computed, never stored, so it can never drift from its inputs.
From the August 2026 developer survey, open ordering unit
17
developers answered
14
of them run complete agent delivery runs, not just completions
~75%
of new code generated by agents, self-reported; two thirds say they "hardly write anything" themselves
~6 h
median pull-request cycle time, with two approvers and product-owner sign-off
What You Will Actually Work With
No surprises on day one.
Agents & AI
Claude Code, every developer, every day
Claude Opus for planning and implementation
- rate_reviewOpenAI Codex for pipeline reviews, a second opinion from a different model
Anthropic Managed Agents for cloud reviews
- monitoringLangfuse for agent observability
- hubMCP servers, for example for code navigation
Platform & Delivery
Azure DevOps: repos, boards, artifacts
Azure Pipelines, YAML, Windows and Linux agents
Docker, Windows and Linux images
- dnsHashiCorp Nomad, blue/green and canary
- keyHashiCorp Vault for secrets and signing
- insightsOpenTelemetry, Grafana, Loki, Prometheus
Quality & Security
SonarQube with hard quality gates
- bug_reportxUnit, Moq, Testcontainers, Vitest
- shieldTrivy, Semgrep, OWASP ZAP, Gitleaks
- ruleSpectral for OpenAPI and AsyncAPI linting
- policyRoslyn analyzers, warnings as errors
- lockSTRIDE threat models by a Security agent
Stack & Collaboration
.NET 9 and .NET Framework, C#
Angular, TypeScript, Angular Material
SQL Server, PostgreSQL, Apache Solr, RabbitMQ
- taskJira and Confluence, bilingual DE/EN tickets
Figma, with designs translated to code by an agent
- forumMicrosoft Teams, where agents post their verdicts too
We Work in Public Procurement. We Take Data Seriously.
Our software handles tenders and orders for public authorities and regulated enterprises. Using AI in development is not a reason to be careless about where code and data go. These are the rules we work by.
No customer data in prompts
Agents work on source code, specs and synthetic test data. Production databases and customer documents are out of bounds, and the Security role checks for exactly that.
Telemetry without prompts
We trace agent sessions to understand cost and quality. Prompt contents are not logged. Turning that on would need a data processing agreement and sign-off from our data protection officer, and that is written down as a decision record.
Code stays where it lives
Repositories stay on Azure DevOps. Cloud review agents see an uploaded diff, not a mounted repository, and nothing that builds or touches a database runs outside our own environment.
Claims are not facts
When an agent posts a verdict or a number to Teams it is labelled as a claim. The orchestrator re-measures, and the run record notes where the agents were wrong. In the first full run that was five places.
Nobody Joins Us Already Knowing This
Agentic development is new for everyone, including us. Learning it is part of the job, not something you do in your spare time.
Hackathons
Regular internal hackathons where the whole team builds something with agents outside the sprint. Ideas that survive the weekend make it into the skills and the operating model.
Structured Udemy paths
Udemy for the whole team, with a structured learning plan per role: agreed courses, a time budget and milestones. Not a free-for-all, and not left to chance.
Daily close-out
Each day ends with a short ritual: what shipped, what blocked, what we learned about working with the agents. Learnings land in a shared database that the agents read too.
Onboarding with an agent
New colleagues start with a developer onboarding workflow and a codebase that explains itself: module guides, a glossary, decision records and a code navigation server the agent uses to answer "where is this used?"
What It Feels Like Day to Day
"We reach our goals faster now, but speed only helps if the direction is right. I guide the AI, validate its work, and keep it aligned with what the company needs."
Luis MatosTeam Lead eVergabe
"On a greenfield platform the agents are fast enough that the bottleneck is us: writing the spec well, reviewing honestly, and saying no to round four."
veenion one pod
"The best part is that the rules are written down. When a review says BLOCKED, I can read exactly which law it broke, and I can propose changing the law."
open ordering pod
Questions We Get Asked
Do I need to speak German?expand_more
How much of the code does the AI actually write?expand_more
Will I still write code myself?expand_more
Do I need prior experience with agents or Claude Code?expand_more
Remote or office?expand_more
Where do I find open positions?expand_more
Want to build
this way too?
We post open roles on LinkedIn. Read how we got here on the blog, then come and argue with our agents.