Your agents already write code. Build the factory so your team can trust it.

Track 02 · Advanced teams20 h live · 4 blocksRemote or on-siteEnglish or Spanish

Private training for engineering teams already opening PRs with agents that need verifiable quality, defensive security and production governance: bot identities with SoD, mutation testing, prompt-injection defence, multi-repo contracts, evals and FinOps.

Up to €997 per person · the larger the group, the lower the per-person price

developers trained
3,000+
years building software
18+
Google Developer Expert
GDE
teaching AI live
7 cohorts

Where you may have seen us

GoogleBBVATelefónicaDeloitteNTT DataWallapopIdealistaGlobantSngularEventbriteCodemotionKairos
The team bottleneck

Your team cannot keep up with reviewing agent-generated PRs

On a laptop in a small repo, an agent looks effortless. Once work scales to a team, screenshots and 90% coverage prove nothing: you need bot identities, real quality gates, prompt-injection defence, cross-repo contracts and spend limits, both locally and in CI.

#482

Partial refunds on orders

  • Opened by factory-agent[bot]1-hour token, no access to CI workflows or repo settings
  • High risk: touches billing/ and a migrationautomatically requires two human approvals
  • Architecture 12/12 · mutation 18/20tests catch 18 out of 20 intentionally injected faults
  • API contract verified with no breaking changesthe mobile app keeps compiling
  • PR cost: €0.42within the hard per-run budget cap

→ In 3 minutes you know what is proven and where to look

Who opens the PR
Least-privilege bot
What you review
Risk & evidence
The mobile app
Contract checked in CI
Cost
Per PR, hard-capped

In AI Factory for teams we build these four layers step by step on a real multi-repo feature — working with your local subscriptions today and ready for cloud & CI — until the system stops four hostile attacks.

The stress test

Four hostile attacks your factory must block automatically

Your team builds all four layers on one multi-repo product spanning Go, TypeScript and Dart on purpose, so the patterns stay stack-agnostic. Then we test the system against four injected failures and attacks.

The multi-repo lab

factory-homeHome Repo

Coordinates coding agents across the other three repos without migrating to a monorepo.

  • factory-apiGoBackend API with an OpenAPI contract and structured JSONL logs.
  • factory-webTypeScriptWeb client built with React and Vite.
  • factory-mobileFlutter · DartMobile app with web hot reload, validated in CI without requiring Xcode.
factory-home · hostile test bench4/4 blocked
  1. 01

    Solo approval

    The engineer who triggered the agent tries to approve the PR alone, or the bot tries to edit CI.

    Layer 1 SoD check and GitHub App without Workflows permission

  2. 02

    Theater tests

    94% green coverage that lets a real regression slip into billing/.

    Layer 2 Diff-based mutation testing and external holdout scenarios

  3. 03

    Prompt injection

    A malicious issue or MCP response tries to read secrets and exfiltrate them.

    Layer 2 Firewalled local sandbox and read-only secretless CI job

  4. 04

    Breaking contract

    A change in factory-api breaks factory-web and factory-mobile.

    Layer 3 OpenAPI contract check (oasdiff) blocking CI

Layer 4Then you measure and bound it: Promptfoo evals, hard spend limits (self-hosted or managed gateway) and a read-only AI SRE with deterministic PII redaction.

How it lands in your organisation

  • During training

    On our multi-repo lab (20 h)

    Your team builds and stress-tests all four layers on the lab repos with stack-specific equivalences, without granting access to production code or stalling sprints.

  • Optional follow-up

    60-day rollout in your real repositories

    If you want hands-on help implementing bots, quality gates, sandboxing, contracts and FinOps directly in your CI, we pair with your internal leads for 60 bounded days.

Works with GitHub, GitLab, Jira, Linear and your existing stack.

The 4 blocks · 20 hours

The 4 principles of an AI Software Factory

Each block implements a real slice of the feature with agents and builds the layer that enforces one principle. Select a block to inspect the syllabus and what PR #482 gains.

Block 1 · Whoever generates never judges

From issue to PR with dedicated bot identity and traceability

Implement the refunds endpoint in factory-api from an issue — locally on your subscriptions or in cloud/CI — while comparing Copilot, Claude Code, Codex and Grok Build live on the same issue.

  • Delegation & issue as spec: which tasks to delegate, PR sizing reviewable in minutes and when to discard a PR.
  • Hybrid entry (local + cloud/CI): Git traceability (Co-Authored-By, git-ai and squash caveats) plus reproducible cloud/Actions environments.
  • Bot identity vs. personal token: GitHub App with 1 h tokens and no Workflows permission, SOC 2 / ISO 27001 evidence and GitLab Duo comparison.
  • Real SoD & Evidence Pack: rulesets and checks preventing self-approval plus an automated risk pack on every PR.

Outcome: feature shipped from an issue, least-privilege bot, enforced SoD and automatic Evidence Pack.

1 4

Block 2 · Quality is compiled, not prompted

Deterministic quality and defence against hostile agents

Implement the refunds edge case (coupons and split payments across API and web) using parallel agents — local worktrees or cloud — and select the winning PR by evidence.

  • Risk-based review & Fitness Functions: fast architectural checks in CI replacing prose rules and guiding human review.
  • Diff mutation & holdouts: gremlins --diff (Go) and StrykerJS on changed lines plus hidden scenarios to expose theater tests.
  • Local isolation against prompt injection: Dev Container or Docker Sandbox with egress firewall and zero credentials or push access inside.
  • CI defence & supply chain: 2-job read-only pattern plus gh-aw (safe-outputs) and digest-pinned skills and MCPs.

Outcome: edge case chosen by evidence, Fitness Functions, diff mutation, holdout suite and local + CI isolation.

2 4

Block 3 · Contracts live in code, not in people’s heads

Multi-repo feature delivery with contract-first and pruned context

Ship refunds across web and mobile contract-first using OpenAPI with three parallel agents — one per repository — merging in safe order.

  • Contracts & Expand-and-Contract: oasdiff blocking breaking changes in CI and safe merge sequencing across API and clients.
  • Home Repo & legacy code entry: coordinating multiple repos locally or in cloud without migrating to a monorepo, and bounding legacy modules without halting sprints.
  • 3-layer memory & pruning: minimal AGENTS.md (ETH Zurich evidence), on-demand docs and periodic pruning when models upgrade.
  • Team skills & Doc-Gardening: versioned skills repository with review and CI checks against stale documentation.

Outcome: refunds shipped across web & mobile, working Home Repo, CI contract gate and stale-doc detection.

3 4

Block 4 · Nothing unmeasured or uncapped reaches production

Evals, spend governance, incident response and team rollout

Evals select the winning configuration to implement customer notifications, and an agent diagnoses and fixes a real incident in refunds.

  • Two-level evals & trace inspection: Promptfoo over domain cases plus full-harness evals (k=3) inspecting failure traces.
  • Hybrid FinOps & gateways: local subscriptions vs. API/CI, hard spend limits and gateway choices (digest-pinned LiteLLM vs. managed).
  • PII-safe AI SRE: deterministic PII redaction before the LLM, read-only diagnosis, red-to-green regression test and human-approved deploy.
  • Rollout for teams of 5 to 50: shared policies, merge queues, meaningful metrics and a 30-60-90 day rollout plan.

Outcome: feature chosen by evals, hard spend caps, incident drill and a one-page team adoption sheet.

4 4

What stays

Four governance layers ready to bring into your CI

Instead of prose guidelines that agents ignore, your team leaves with deterministic checks, security patterns and an adoption plan tailored to your organisation:

ai-factory-kit/
  • ├── .github/apps/factory-bot/

    Bot identity, SoD & Evidence Pack

    Least-privilege short-lived tokens, enforced separation of duties and an automatic risk summary on every PR.

  • ├── .github/gates/

    Deterministic anti-slop quality

    Architectural fitness functions in CI, diff-based mutation testing (Stryker / gremlins) and external holdout scenarios.

  • ├── .devcontainer/ & ci-defense/

    Defence against prompt injection

    Firewalled local sandboxes, 2-job secretless CI architecture and digest-pinned verification for skills and MCPs.

  • └── factory-home/ & evals/

    Multi-repo, evals, FinOps & AI SRE

    Home Repo with OpenAPI CI checks (oasdiff), Promptfoo evals, hard per-run spend caps and PII-redacted incident diagnosis.

Fit & prerequisites

When AI Factory for teams is the right track (and when to start earlier)

AI Factory assumes your engineers already ship with coding agents, Git, PRs and tests every week. If you are still building that shared baseline, start with AI Expert:

Not the right moment for AI Factory if…

  • Most of the team still uses AI as chat or autocomplete (start with AI Expert for teams)
  • Your main goal is adding LLMs, RAG or embeddings into your product (covered in AI Expert)
  • You want a high-level workshop without touching permissions, CI, security or tests

A strong fit if…

  • Your team already opens PRs with Claude Code, Codex, Copilot, Cursor or OpenCode every week
  • Reviewing agent output has become the main engineering bottleneck
  • You need verifiable quality, prompt-injection defence and auditability (SOC 2 / ISO 27001)
  • You maintain multiple repositories or shared API contracts and want predictable spend

Optional after the 4 blocks

Want to deploy all 4 layers into your real CI over 60 days?

If you want hands-on support rolling out bot identities, quality gates, sandboxing, contracts and FinOps inside your production repositories alongside your internal leads, we add a bounded 60-day rollout with zero consulting lock-in.

View AI adoption & implementation
Pricing and formats

Two ways to run AI Factory with your team

For teams of 6 or more engineers, we run a tailored private edition in English or Spanish. For smaller Spanish-speaking groups (3–5), the open-cohort Team Pack includes a single invoice and a 60-minute private wrap-up.

For 6 or more people

Private edition · AI Factory

Up to €997

per person · the per-person price goes down as the group grows

Exclusively for your team, on your dates, with equivalences mapped to your stack and CI platform.

  • 20 h live (4 blocks of 4 h + 4 Q&A, or 5 sessions of 4 h)
  • Remote or at your offices
  • In English or Spanish
  • Taught by Antonio Leiva and Nino Ruano
  • Eligible for FUNDAE funding (Spain)
Request a proposal
For 3 to 5 people · in Spanish

Open-cohort Team Pack

€997

per person · next cohort on 22 February · single invoice

Join the open edition of AI Factory together and finish with a private 60-minute session with Antonio and Nino to tailor the plan to your repos.

  • 4 weeks (20 h live + 20 h multi-repo labs = 40 h)
  • Private 60-minute wrap-up session (for 3–5 seats)
  • 4 hostile attacks and hand-reviewed final PR
  • Open cohort is taught in Spanish
See AI Factory open cohort (ES)
Private duration
20 h · 4 blocks + Q&A
Format
Remote or on-site
Language
English or Spanish
Platform
GitHub, GitLab & your stack

The final price of a private edition depends on group size and format. After a short call we send a fixed proposal, with no commitment.

Track 01 · Shared foundation

Team does not yet share a common agent workflow?

If each engineer still works differently or relies mostly on chat and autocomplete, start with AI Expert for teams (24 h): shared context, specs, subagent roles, worktrees and AI inside your product.

View AI Expert for teams
AI Expert students

What engineers and technical leads say after training with us

Their own words, as a diff: in red how they worked before, in green what they took away. Nothing rewritten, only trimmed.

review — ai-expert✓ 9 · approved

diff --git a/alumnos/patricio-jose-conti.md b/alumnos/patricio-jose-conti.md

@@ AI Expert · +25 −19 @@

1−…my work with AI was mostly about iterating on prompts in tools like Claude Code and tweaking the results.

2+I'm taking away something far more valuable: a complete working system.

3+…it also made me one of the go-to people for AI in my company.

Patricio José ContiPeiGo · ★★★★★

And the rest of the history

16 reviews · ★★★★★ · AI Expert

✓ approved · ★★★★★

Instructors

Why Antonio and Nino to take agents to production

Everything taught in AI Factory runs daily in our own products. Antonio leads verifiable workflows and production operations, while Nino leads defensive agent security, deterministic quality and evals.

tmux · devexpert
Antonio Leiva

antonio@devexpert

Antonio LeivaGDE

DevExpert founder · Google Developer Expert

Nino Ruano

nino@devexpert

Nino RuanoAI · Big Data

AI and Big Data specialist · Instructor

It is a real shell (well, almost). Type help to see the commands.

FAQ

Frequently asked questions about AI Factory for teams

And if your question isn't here, write to us on WhatsApp and we'll answer you personally.

01Do we need to take AI Expert before booking AI Factory?
No, as long as your team already works every week with coding agents, Git, PRs and tests. If you still need that shared foundation first, start with AI Expert for teams (24 h).
02We use GitLab, Bitbucket, Jira, Java or .NET. Does it still apply?
Yes. The four principles and deterministic controls are stack-agnostic. The lab runs on GitHub across Go, TypeScript and Dart on purpose, and in a private edition we map every pattern directly to your stack, CI platform and compliance requirements.
03Do you need access to our production repositories or secrets?
No. During the 20 hours of training we work on the multi-repo lab without touching your production repos or secrets. If you later want us to help implement the four layers inside your own CI, we do that under your security policies in our bounded 60-day rollout.
04How are the 20 hours scheduled?
We adapt to your team’s schedule: typically 4 blocks of 4 hours plus 4 one-hour Q&A sessions (one week per layer), or 5 sessions of 4 hours, delivered remotely or on-site in English or Spanish.
05How much does it cost?
At most €997 per person in a private edition, decreasing as group size grows. Book a short call and we will send you a fixed proposal with no commitment.

Take your team’s agents to production with verifiable guardrails

Tell us how many engineers you have, your stack and CI setup, and where the bottleneck sits. We will send a fixed AI Factory for teams proposal, with no commitment.