In the first half of 2026, I designed and built an AI developer platform for a Nordic IT services company. We wanted people to use the same models and tools and sign in the same way, while still being able to bring their own skills and settings. Some of the users weren't developers, so sign-in had to happen as part of using the tools.

A few colleagues contributed, and I did most of the building with coding agents. We ended up with nine modules. There were services in .NET and TypeScript, and the company needed to be able to deploy them into an organisation's own Azure DevOps and Azure environments. I wrote about the setup in Azure AI Dev Platform Fundamentals.

On developer machines

  • Managed local toolingOpenCode plugins, an installer, a config updater and an Entra auth proxy

Central platform

  • Platform coreFront Door, API Management, Foundry, shared telemetry and a docs site
  • Shared setupBicep modules, a setup tool and the telemetry contract

Workloads

  • Session sharingRead-only links
  • Repository searchMCP over synced clones
  • Project knowledgeMCP over wikis and work items
  • PR review agentReviews pull requests
  • Implementation plannerPlans work items in phasesPilot
  • Code-mode sandboxRuns model-written code off the machineExperimental
Nine modules, deployed into each organisation’s own Azure DevOps and Azure. Every README states the module’s maturity.

Installing it without me

The company also wanted to offer the platform to its own customers, each in that customer's own Azure tenant and Azure DevOps organisation. A customer gets a clone of the whole repo and develops in it from then on. I didn't want every rollout to depend on someone who knew the platform working through a long runbook, so I built a setup tool for the whole platform: a local web UI over a PowerShell module.

The operator fills in the customer's values once. The UI then takes each workload through the same phases: resource groups, service connections, permissions, app registrations, Azure DevOps environments, patching the customer's values into the pipeline files, and the first deployment. Every phase can be rerun and reuses what already exists. At the end the tool checks the deployed state against the config and commits the setup state to the customer's repo, so the next person can see how it was set up.

Run for each workload
  1. AI platform
  2. Local tooling
  3. Session sharing
  4. Repo search
  5. PR review
  6. Planner
  7. Knowledge
  8. Sandbox

Config for Customer A

Short name
ca
Tenant
Tenant A
Azure DevOps
customer-a/ai-platform
Workload
review, from its schema-checked template

Filled in once. Every name below comes from a fixed pattern.

  1. 1Resource groupsrg-ca-review-devrg-ca-review-prod
  2. 2Service connectionsreview-release-devreview-release-prod
  3. 3PermissionsRoles on the workload’s own resource groups, from generated Bicep
  4. 4App registrationsApp roles created and assignedNo Entra rights? Export a handoff package, the customer’s identity admin runs it, import the result.
  5. 5Azure DevOps environmentsreview-devreview-prod
  6. 6Pipeline filesCustomer values patched in, pipelines synced, setup state committed to the customer’s repo
  7. 7Deploy and verifyFirst release run, deployed state checked against the config
Every phase can be rerun. A second customer gets the same phases and the same names, with its own short name.

Each workload has a template with a JSON schema, and names come from fixed patterns, so one customer's resource groups, service connections and pipelines look like the next one's. Entra was the hard part. Many customers don't give an outside operator rights to create app registrations. In that case the tool exports a handoff package with its own schema for the customer's identity admin and imports the result when it comes back. The packages are similar across workloads, so the admin can go through all of them in one session instead of one ticket per app.

I ran into a problem with deployment order. If the core needed to know about each workload's identities, we'd have to deploy the core and then the workload, go back to the core to grant access and deploy the workload again. Each workload now grants its own principals access to the central platform, so the core only has to go out once. I wrote down the downside in the README. If different teams manage workloads in the same environment, it gets harder to tell who owns a change to those grants.

If the core knew every workload

  1. CoreDeploy the core
  2. WorkloadDeploy the workload
  3. CoreDeploy the core again, to grant access
  4. WorkloadDeploy the workload again

Two deploys of each, in a fixed order.

What the setup tool does

  1. TeamFill in the config, checked by a JSON schema per workload
  2. Identity adminHand the Entra steps to whoever administers identity, in their own schema
  3. CoreDeploy the core
  4. WorkloadDeploy the workload. It grants its own principals access to the core.

A few clicks in the setup tool’s UI. The trade-off, written into the README: change accountability gets murkier when several teams own workloads in the same environment.

Self-service onboarding. Each workload grants its own access, so the core never has to be redeployed for a new one.

What a config update can change

Coding agents run on developers' machines, where they can reach the user's files. A config update can change which tools the agent uses and how it behaves. The update includes things like plugins and MCP settings, so I wanted the client to be able to tell who sent it. A hash next to the ZIP is easy to replace along with the ZIP itself.

I signed the manifest with Ed25519 and put the ZIP's SHA-256 hash in it. The client knows which public keys it trusts. It rejects an unknown key ID, a bad signature or a hash mismatch. If the update fails a check or the service is down, the client keeps using its last verified config so the developer can carry on. I went into the details in Shipping signed config updates to local AI tooling.

The PR review agent could also push a fix to a developer's branch when asked from a review thread. We started with a limit on how much a fix could change. I'd now rather leave fixing to the developer's own coding agent. It can watch the PR and fix findings as they come in, and it already has the context and all the code. The planner waits for a tagged work item before it starts and only moves to the next phase when asked.

Every MCP server requires Entra sign-in. The knowledge server requires an app role by default, and I made it return an error if a user without access asks for a tool listing. An empty list looks too much like the server has nothing to offer. The repository server reads from read-only synced clones. I documented the things other modules rely on, like token audiences and gateway routes, alongside the telemetry keys and the signed bundle format.

Signed config bundles

Agents, plugins, MCP wiring and commands, pulled to each machine

  • Key ID is in the trusted map
  • Ed25519 signature on the manifest
  • SHA-256 of the ZIP matches the manifest

All pass: apply the update.

Any fails: reject it and keep yesterday’s known-good config.

Updates fail closed. Startup fails open.

Entra-only tool access

Every MCP server sits behind Entra; repo tools read only synced clones

List tools, with the app roleTools listed

List tools, without itA clear error, not an empty success

An empty list would look like a silent failure.

Two limits on what the platform can change on developer machines and which tools agents can reach.

Why there's a YAML file for telemetry

With two stacks behind the same gateway, we started recording the same things differently almost right away. I put the rules in YAML and had the libraries in both languages implement them. The file says what can go into baggage and where to read it from first. It also defines the metric instruments and which attributes they can use. For example, we can put the user hash on a span. The metric rules exclude it. The details are in Designing a shared OpenTelemetry contract.

I'd do the telemetry differently now. On the AI foundation I'm working on, each unit of work, such as a request, a message or a job run, leaves one wide event: a root span that carries who called, what ran, which deploy it was and why it failed. Code adds to that span while the work runs instead of writing log lines, and there are no custom metrics. One signal can't disagree with itself, and a question takes one query instead of a join across tools. An agent can read a trace as easily as a person can.

I'd also make the contract do more than describe. There, one registry lists every attribute. Each language's constants are generated from it, a check refuses attribute names typed as strings, and before export each record keeps only the attributes the registry allows on it. With agents writing code in several services, that's what stops each of them from inventing its own name for the same thing.

I put the state of each module in its README. The code-execution sandbox, for example, still had checks to pass before it could go into a pilot. The docs site ran to 18 pages, including guides for the agents and for researching, planning and implementing changes with them. I presented the work to about 50 colleagues at Zure and wrote up parts of it here on the blog.

Where the rollout got to

We onboarded the first 60 developers in the pilot. When the pilot ended, the customer took over product ownership and kept building on it.

I wish I'd recorded weekly active use and kept counts of which PR findings people accepted and how many fixes they applied. By the time the pilot closed, I had a telemetry contract and no baseline for what the platform had changed. I'd also have the second organisation try the setup sooner, while we could still change it as part of the pilot. And as on every project, I'd get more pilot users in as early as possible. The sooner more people use it, the sooner the feedback loop gets going.

Comments