An ACX Connect Engineering Lab

AI-Native DevOps — Phase 1
Build your first AI-native developer toolbox

AI coding assistants are only the beginning. This lab shows how to move from individual AI experiments to standardized developer environments, specialized engineering agents, structured workflows and measurable AI consumption — then has you deploy a working pilot on your own machine.

Intermediate Level
Local workstation Environment
Python · VS Code · Ollama Ecosystem

Companion to the article Industrializing AI for Developers — Phase 1: Building the AI-Native DevOps Toolbox. The article makes the argument; this page makes it runnable.

What is real here


Every command, output and file name on this page was checked against the archive you can download below, and the outputs shown were produced by running it on 2026-11-02. Nothing is mocked up. Where a capability discussed in the article is not in the archive, the page says so rather than inventing a command for it. Three badges carry that distinction throughout:

In the archive Extension Not implemented
  • In the archive — shipped in the ZIP, run and verified for this page.
  • Extension — real, documented third-party tooling you install yourself. Not included in the ZIP.
  • Not implemented — described as a next step by the project's own README. No working code exists yet, here or elsewhere.

The journey

From experimentation to industrialization

Most organizations are somewhere in Phase 0 and believe they are in Phase 2. Select a phase to see what actually separates them.

Phase 0 — AI readiness and individual experimentation

Organizations set an adoption roadmap, evaluate models and providers, build skills and let developers try coding assistants. It produces real demonstrations and genuine enthusiasm.

It also produces fragmentation. Each developer ends up with different tools, models, configurations, knowledge sources and security practices. Nothing is reproducible, so nothing can be governed, measured or handed over.

  • No shared definition of what "the AI setup" is.
  • No way to answer "what does AI cost us, on which project?"
  • A productivity gain that leaves with the developer who found it.

Phase 1 — The AI-Native DevOps Toolbox

Phase 1 turns individual experiments into a shared engineering capability: a reproducible, governed developer environment that can be provisioned the same way across teams. Seven concerns define it.

  1. Provision standardized environments — a developer joining a project receives approved tools, assistants, configurations, access policies and knowledge sources.
  2. Configure reusable engineering roles — architecture, implementation and QA roles combining instructions, models, context, tools and permissions.
  3. Integrate AI into workflows — not only code generation: analyzing requirements, asking clarifying questions, identifying dependencies, creating structured tasks.
  4. Extend existing DevOps ecosystems — developers keep VS Code, GitHub and their IDE assistants. The platform extends; it does not replace for the sake of replacing.
  5. Track model consumption — usage, tokens and cost attributed to projects, teams and activities. Meaningful AI FinOps also counts licensing and infrastructure, not tokens alone.
  6. Introduce engineering observability — interactions, agent executions, failures, latency and token usage, progressively exposed through OpenTelemetry, Dynatrace or equivalent.
  7. Govern licensing and access — entitlements, model access, subscriptions, credentials and usage-based consumption.

Industrialization begins when AI engineering capabilities stop depending on individual workstation configurations and become shared, reproducible platform services.

Phase 2 — Orchestrated engineering

Agents progressively collaborate: analyzing requirements, preparing implementation plans, making changes, running tests and supporting delivery workflows.

The autonomy is the visible part; the foundations are what make it survivable. An agent that can open a pull request on its own needs a governed identity, a budget, an audit trail and an observable execution path — all of which are Phase 1 work. Skipping straight to Phase 2 produces automation nobody can explain after the fact.

Phase 1 is not about deploying more AI tools. It is about creating the foundations that make AI-assisted software engineering reproducible, governed, measurable and scalable.

What you will deploy

Understand the toolbox

The reference architecture of an AI developer platform, and — honestly — how much of it the downloadable pilot actually implements. Select any component for detail.

Developer Experience
VS Code · Continue · CLI · GitHub · Developer portal
AI Developer Platform — Control Plane
Models
Cloud / local
DevOps
Git · CI/CD · IaC
Telemetry
OTel · Dynatrace
Cross-cutting controls: Security · Policy as Code · Audit · Cost allocation · Compliance

Before you install

What can the pilot actually do?

A single-file, zero-dependency Python program — about 80 lines. Small enough to read in one sitting, which is the point: you can audit every claim on this page yourself.

1 · Developer onboarding

In the archive

A developer is bound to a predefined engineering role, and the binding is written down as a record instead of living in someone's local settings. That is the whole difference between a configured workstation and reproducible onboarding: the second one leaves evidence.

python3 platform.py onboard alex --role developer
→ {"developer": "alex", "role": "developer",
   "configuration": {"permissions": [...]}}

Appends to state/onboarding.jsonl

2 · Specialized AI roles

In the archive

Three roles, each with its own permission set: architect (review, recommend, question), developer (recommend, question, draft), qa (review, question, test-plan).

Read the limit plainly: these permissions are metadata. Nothing in the pilot enforces them. They show the shape a governed role catalog takes — not the enforcement.

Declared in ROLES, platform.py

3 · Architecture recommendations

In the archive

An engineering question becomes a structured artefact: question → analysis → recommendation → task, with clarifying questions attached and a status of needs-human-review.

The recommendation is a fixed string. No model is called. What the pilot demonstrates is the shape of the workflow and the human-review gate — not the quality of an answer.

Command ask, platform.py

4 · Engineering task tracker

In the archive

Each recommendation becomes a traceable task with a short id, a timestamp, a project and the originating question — appended to a local JSONL file.

There is no GitHub, Jira or Azure DevOps integration. The README names that as upgrade step 4, behind scoped OAuth credentials and explicit approval for writes.

Appends to state/tasks.jsonl

5 · AI consumption monitoring

Synthetic only

Every ask writes a usage event attributed to a project, a role, a model and a task id. The attribution model is the lesson: consumption that is not tied to a project and an activity cannot be governed.

The counters are zeros. The events are marked "source": "synthetic". They are not provider token counts and must never be read as AI cost.

Appends to state/usage.jsonl

6 · Gateway & model integration

Not implemented

The pilot makes no external AI calls and holds no credentials. There is no gateway process, no port to open, nothing to keep running.

Steps 8 to 10 of the walkthrough show how to put a real local model behind this workflow — using Ollama and Continue, which you install yourself. That boundary is where the pilot ends and your platform work begins.

Upgrade path §3, README.md

Hands-on

Deploy your first AI-native DevOps pilot

Follow these steps to install the toolbox locally, configure your AI development environment and run your first AI-assisted engineering workflow.

0 / 13 steps completed

Lab completion

Progress is stored in this browser only.


25–40 min Estimated duration (steps 0–7)
Python 3.10+ Only hard prerequisite
macOS · Linux · Windows Operating systems

Ticking a step records your declaration that it is done. This page does not — and cannot — execute or verify anything on your machine.

Show commands for
Track 1 Run the pilot In the archive Eight steps, no dependencies to install beyond Python. Every command below was run against the archive on 2026-11-02; the outputs shown are the real ones.

The archive contains the source code, the engineering roles, the workflow commands and the test instructions used by this lab.

AI-Native DevOps Phase 1 — mini-lab

Three files: a README, a single Python program, and the folder they live in. No account, no email, no tracking.

ai-devops-phase1-lab.zip · 3 206 bytes · 3 files sha256 f49840ffae26661e276c095099fd5f5334e5f3e7f82a614a3a4998c4d1b19f24
Verify the download

Compare the checksum against the one printed above.

shasum -a 256 ai-devops-phase1-lab.zip

The pilot has no third-party dependencies. Python alone is enough to complete Track 1.

python3 --version
Prerequisites, and which ones are optional
ToolNeeded forRequired?
Python 3.10+The whole of Track 1Yes
A terminal & unzipExtracting the archiveYes
VS CodeReading the code, step 9Recommended
OllamaStep 8 onlyTrack 2 only
Continue extensionStep 9 onlyTrack 2 only
Git / GitHub CLIStep 11 (not implemented)No

The archive's README states Python 3.10 or newer. The code itself uses no 3.10-only syntax, so older interpreters may work — but 3.10+ is what the project documents, and what we checked against.

Install pages: python.org/downloads ↗ · VS Code ↗ · Ollama ↗

Unpack the archive into its own directory, then open it in your editor.

unzip ai-devops-phase1-lab.zip
cd ai-devops-phase1-lab
code .
Show project structure
ai-devops-phase1-lab/
├── README.md        Prerequisites, the five commands, and a
│                    seven-point upgrade path to an enterprise pilot
├── platform.py      The entire toolbox. ~80 lines, stdlib only:
│                    argparse · datetime · json · pathlib · uuid
└── state/            Created on first write — not shipped
    ├── onboarding.jsonl
    ├── tasks.jsonl
    └── usage.jsonl

That is the complete archive. There is no tests/ directory, no requirements.txt, no toolbox/ package and no IDE configuration — which is why this lab never asks you to run a test suite or start a gateway process.

Keep state/ out of version control. The README is explicit: these files must not be committed, and must not be populated with proprietary data. It is a developer-local demonstration, not a service.

List the engineering roles. This is the installation check: it exercises the interpreter, the argument parser and the role catalog, and writes nothing.

python3 platform.py roles
Expected output, and why there is no test suite

Real output, captured 2026-11-02:

{
  "architect": {
    "permissions": [
      "review",
      "recommend",
      "question"
    ],
    "model": "demo-model"
  },
  "developer": {
    "permissions": [
      "recommend",
      "question",
      "draft"
    ],
    "model": "demo-model"
  },
  "qa": {
    "permissions": [
      "review",
      "question",
      "test-plan"
    ],
    "model": "demo-model"
  }
}

The archive ships no automated tests. If you were expecting a unittest command here, that belongs to a different, larger quickstart project — it is not what you downloaded, and running it would fail. Listing the roles is the honest equivalent: if this prints, the pilot is installed correctly.

Note "model": "demo-model". It is a placeholder string, not a model that exists. Nothing is called.

Create a developer profile bound to a predefined engineering role.

python3 platform.py onboard alex --role developer
Expected output and where it is stored
{
  "time": "2026-11-02T10:58:15.404184+00:00",
  "developer": "alex",
  "role": "developer",
  "configuration": {
    "permissions": [
      "recommend",
      "question",
      "draft"
    ],
    "model": "demo-model"
  }
}

Appended as one line to state/onboarding.jsonl. The role must be one of architect, developer or qa; anything else is rejected by the argument parser.

What this is not: no environment is created, no tool installed, no access granted. The record is the artefact. In an enterprise pilot this command becomes a Dev Container template or a Backstage Scaffolder workflow, behind SSO authorization — upgrade step 1 in the README.

Submit an engineering question to the workflow and create a tracked recommendation.

python3 platform.py ask 'How should we version a public API?' --role architect --project pilot
What really happens — read this one

Real output, captured 2026-11-02:

{
  "id": "5bacedf3",
  "time": "2026-11-02T10:58:15.484909+00:00",
  "project": "pilot",
  "role": "architect",
  "question": "How should we version a public API?",
  "recommendation": "Review applicable standards, clarify
    acceptance criteria, then implement behind a reviewed PR.",
  "questions": [
    "What are the acceptance criteria?",
    "Are there security or API constraints?"
  ],
  "status": "needs-human-review"
}

"id": "5bacedf3" is the task id — the first eight characters of a UUID4. Yours will differ. You will need it at step 6.

No language model is involved. The recommendation and the two clarifying questions are hard-coded strings; they are identical whatever you ask. The source carries the warning in a comment: "Deterministic demo recommendation. Replace ONLY with an approved enterprise model adapter."

So what is worth looking at? The structure: a question is captured, attributed to a role and a project, answered with a recommendation plus the questions that remain open, and parked at needs-human-review. One ask writes two records — a task and a usage event, correlated by the same task id. Keeping those two linked is the thing most real platforms get wrong.

Review the engineering tasks the workflow has generated.

python3 platform.py tasks
Reading the tracker

Prints a JSON array of every task ever recorded — the whole of state/tasks.jsonl. There is no filter, no status transition and no way to close a task: append-only, by design, for a demonstration.

Match the id against the one step 5 printed, and the question against what you typed. That round trip — question in, traceable task out — is the entire point of the workflow engine.

Run ask a few more times with different roles and projects, then run this again. Watching the file grow is a better explanation of attribution than any diagram.

Inspect the usage metrics recorded against the pilot project.

python3 platform.py usage --project pilot
Why every number here is zero

Real output after one ask, captured 2026-11-02:

{
  "calls": 1,
  "input_tokens": 0,
  "output_tokens": 0,
  "cost_usd": 0,
  "note": "Synthetic demo events. Connect provider usage or
    licensed seat metrics for real reporting."
}

These are not AI costs. No model was called, so there are no tokens to count. The events are stamped "source": "synthetic" precisely so that nobody mistakes them for measurements. The tool tells you so in its own output.

What is real is the shape: calls is a true count, and each event carries a project, a role, a model and a task id. Drop --project to aggregate across all projects.

The warning that matters for a real platform: a CLI only ever sees what passes through the CLI. Most real consumption happens inside the IDE extension, where this tool is blind. Any usage report built this way under-counts, and the gap is invisible — which is the argument for centralized telemetry at the gateway rather than per-tool accounting.

Track 2 Beyond the archive Extension None of the following ships in the ZIP. Steps 8 and 9 install real, documented tools that work on their own. Steps 10 and 11 are work the README itself leaves to you — described precisely, with no command invented to paper over the gap.
Extension

Run a model on your own machine with Ollama — no commercial API, no key, no data leaving the workstation.

ollama pull qwen2.5-coder:7b
Why local first, and what it costs you

A local model removes the two things that stall a Phase 1 pilot: procurement and data-egress review. Nobody has to approve a budget or a vendor before you can demonstrate the architecture. You trade quality for that freedom — which is an acceptable trade when what you are proving is the plumbing.

Hardware. The 7B model is roughly 4.7 GB on disk and wants about 16 GB of RAM to be comfortable. On a smaller machine, pull a smaller tag rather than fighting the swap.

Confirm Ollama is running and the model is present:

ollama list

Verify the tag against the library before pulling, since published tags change: ollama.com/library/qwen2.5-coder ↗. Ollama serves on http://localhost:11434 by default.

The pilot does not use this model. Nothing in platform.py talks to Ollama. You are installing it for step 9, and as the thing step 10 would call.

Extension

Point the Continue extension at your local model, so the assistant in your editor runs on the same model as your workflow.

code --install-extension Continue.continue
Configuration, and the one claim this lab will not make

Continue reads config.yaml from ~/.continue/ on macOS and Linux, and from %USERPROFILE%\.continue\ on Windows. A minimal configuration against the model from step 8:

name: ACX Phase 1 Lab
version: 1.0.0
schema: v1
models:
  - name: Qwen2.5 Coder 7B (local)
    provider: ollama
    model: qwen2.5-coder:7b
    roles:
      - chat
      - edit

name, version and schema are required at the top level; a model entry requires name, provider and model. roles and apiBase are optional — the latter is how you would later point Continue at a gateway instead of at Ollama directly.

Verify, do not trust this snippet. Continue's schema moves; check it against docs.continue.dev/reference ↗ before you file a bug. Confirm the connection by opening the Continue panel and asking the model to explain platform.py — a question with a verifiable answer, since you have read the file yourself.

There is no IDE configuration in the archive. The file above is written for this lab from the upstream reference, not extracted from the ZIP. Note the consequence for step 7: assistant traffic from this panel appears in no usage report the pilot produces.

Not implemented

This is the step where the pilot stops and your platform starts. There is no command to copy: the work is a code change, and the README names it as upgrade step 3.

What the change involves

In platform.py, the ask branch assigns a constant to recommendation. Calling a model means replacing that one assignment — and then honouring four conditions the README sets, none of which are optional in an enterprise context:

  • An approved endpoint. A model adapter chosen by the organization, not whichever API the developer has a key for.
  • Server-side managed credentials. Never a key in the repository, in the environment of a workstation, or in the archive's state/.
  • Provider-reported usage. Record the token counts the provider returns. Where the provider does not report them, mark your numbers as estimates — the one thing the synthetic zeros of step 7 get right is refusing to pretend.
  • The human-review gate stays. needs-human-review is the status that makes a generated recommendation safe to keep.

Do it as a reviewed pull request against your own fork. The moment a real model is wired in, this stops being a demonstration and starts being something that can leak data — which is exactly why the archive ships without it.

Not implemented

The pilot cannot create issues. Rather than give you a command that would fail, here is what the integration has to satisfy before it is written.

Why this one is deliberately missing

Upgrade step 4 of the README replaces tasks.jsonl with a Jira, GitHub Issues or Azure DevOps integration — and attaches two conditions to it: scoped OAuth credentials, and explicit user approval for writes.

That second condition is the whole reason this step is empty. A tracker integration is the first point in the architecture where an AI workflow writes to a system other people depend on. Preview and publication must be separate actions, the diff must be reviewable before it is sent, and publication must change a real repository only after a person says so. A step that quietly opened issues the first time you ran it would teach precisely the wrong habit.

Until then, state/tasks.jsonl is already the right input: one JSON object per line, with a stable id. Piping it into gh issue create is a short script — write it with a dry-run flag that prints what it would create, and make that the default.

Confirm what is running, and be precise about what it proves.

Your pilot works if all of these are true

  • roles prints three roles with their permissions.
  • onboard returned a record and state/onboarding.jsonl exists.
  • ask returned a task with an id and needs-human-review.
  • tasks lists that same id.
  • usage reports a call count matching your ask runs.
  • Optional — ollama list shows your model, and the Continue panel answers.
What have you industrialized?

You have a first technical foundation for six things, each in a deliberately minimal form:

  • Standardized engineering roles — declared once, in one place, rather than in each developer's settings.
  • Reproducible onboarding — a developer bound to a role, as a record you can audit.
  • AI-assisted recommendations — a workflow shape with a human-review gate built in.
  • Structured engineering tasks — traceable artefacts tied to the question that produced them.
  • Model access — as a boundary the architecture names, even though the pilot leaves it empty.
  • Initial usage observability — attribution by project, role and task, with the numbers honestly marked synthetic.

And be clear about what you have not. No enforcement, no identity, no real model, no telemetry, no licensing, nothing multi-user and nothing that survives the laptop it runs on. What the pilot gives you is the vocabulary and the seams — the places where the enterprise components attach. That is worth more than it sounds: most platform programmes fail on disagreement about those seams, not on the components.

When it does not work

Troubleshooting

Ordered roughly by how often each one bites. Several entries exist to tell you that something is not broken.

python3: command not found / 'python' is not recognized

Python is absent from your PATH. On macOS and Linux the binary is usually python3; on Windows it is python, and the installer only adds it to PATH if you tick that box — reinstall and tick it, or use py -3 instead.

py -3 platform.py roles
SyntaxError, or the interpreter is older than 3.10

Check with python3 --version. If a system Python is pinned to an old release, install a current one and call it explicitly rather than changing the system default — on macOS and many Linux distributions, system tooling depends on that default.

No such file or directory: 'platform.py'

You are not in the extracted directory. The commands assume your shell's working directory is ai-devops-phase1-lab/, the folder that contains platform.py. Some archive tools nest it one level deeper — check with ls or dir.

ModuleNotFoundError on import

This should not happen: the pilot imports only argparse, datetime, json, pathlib and uuid — all standard library. There is nothing to pip install, and no requirements.txt to look for.

The usual cause is a local file shadowing a standard module. A file named json.py or uuid.py in the working directory will be imported instead of the real one. Rename it.

'python -m unittest discover -s tests -v' fails

It will. This archive contains no test suite — no tests/ directory exists, so there is nothing to discover. That command belongs to a larger quickstart project, not to what you downloaded here. Use step 3 (platform.py roles) as the installation check.

'python -m toolbox ...' fails — where is the gateway?

There is no toolbox package and no gateway process in this archive. Nothing listens on a port, nothing needs to stay running in a second terminal, and no port conflict is possible. The entry point is platform.py, invoked directly.

The gateway is a real part of the target architecture — it is simply not implemented here. See the AI Gateway component above, and upgrade step 3 of the README.

The recommendation is always the same sentence

Working as designed. The recommendation is a constant and does not depend on your question — see step 5. Changing that is step 10, and it is a code change, not a setting.

usage reports zero tokens

Also working as designed, and the output says so in its own note field. No model is called, so there are no tokens. If calls is also zero, then either no ask has run yet, or your --project does not match the one you used — the filter is an exact string match, so pilot and Pilot are different projects. Drop the flag to see everything.

Ollama: connection refused, or the model will not pull

Start the service and confirm it answers on its default port:

ollama list
curl http://localhost:11434/api/tags

On macOS, Ollama runs as a menu-bar application — quitting it stops the server. A failed pull is most often disk space (the 7B model is about 4.7 GB) or a corporate proxy intercepting TLS. Check the tag still exists in the library before assuming a network fault.

None of this affects Track 1: the pilot never contacts Ollama.

Continue does not see the model

Check, in order: Ollama is running; the model value in config.yaml matches a tag from ollama list exactly, including the :7b suffix; the YAML has the required name, version and schema keys; and indentation is spaces, never tabs. Reload the window after editing the file.

If it still fails, the schema has probably moved — the reference is authoritative, this page is not: docs.continue.dev/reference ↗.

GitHub authentication problems

The pilot performs no GitHub operation and stores no credential, so nothing here can be an authentication failure of the pilot. If you are writing the integration from step 11 yourself, authenticate with gh auth login and keep the token's scopes to the minimum the write needs.

My progress disappeared

Progress lives in this browser's localStorage, under the key acx-lab-ai-devops-phase1. It does not follow you to another browser, another machine or a private window, and clearing site data removes it. Nothing is sent to a server — there is no account and no backend behind this page.

The honest gap

From a local pilot to enterprise industrialization

The lab demonstrates the architectural principles. Deploying them across an organization introduces a different class of requirement — one per row below.

CapabilityThis local pilotEnterprise extension
Developer onboarding A JSONL record binding a name to a role. No environment created. Automated fleet provisioning — Dev Containers or a Backstage Scaffolder workflow, behind SSO authorization.
AI engineering roles Three roles in a Python dict. Permissions are metadata; nothing enforces them. A centrally governed, versioned role catalog published to approved IDEs and AI clients.
Model access None. No call, no credential, no gateway. The recommendation is a constant. An enterprise model gateway: approved endpoints, server-side managed credentials, routing policies.
Task tracking Append-only tasks.jsonl. No status transitions, no integration. Jira, GitHub Issues or Azure DevOps, with scoped OAuth and explicit approval for every write.
Usage monitoring Synthetic events, zero tokens, zero cost. Blind to IDE traffic. Provider-reported usage plus OpenTelemetry GenAI spans, exported through a collector; estimates labelled as estimates.
Licensing None. Per-seat entitlements and project budgets, with API usage cost kept distinct from subscription cost.
Security Local files on one workstation. The README warns against committing them or putting real data in them. Identity-aware RBAC, policy as code, payload redaction, audit logs.
Monitoring Local JSONL events, read by a CLI. OpenTelemetry / Dynatrace, with agent execution, failures and latency observable alongside usage.
Evidence of value A call counter. Accepted PRs, tests, failed builds, reviews, deployment lead time and rework — outcomes, not tokens.

Then comes Phase 2

Once roles are governed centrally, model access runs through one approved path, tasks live in the tracker your teams already use, and consumption is observable per project, the question changes. It stops being "can an agent do this?" and becomes "under what budget, with which identity, and reviewed by whom?"

Those are answerable questions — but only against the foundations above. An organization that reaches for orchestrated agents without them does not get Phase 2. It gets Phase 0 at a larger scale, with a bigger invoice and no way to explain what happened.

Where ACX fits

Deploying an AI engineering capability is one of our three practices. We build the toolbox, wire it into the DevOps platform you already run, and leave your teams able to operate it without us.

The rest of this site is in French. This lab is published in English to match the article it accompanies.

The real achievement of Phase 1 is not giving every developer an AI assistant. It is making AI-assisted engineering a reproducible and governable organizational capability.