Platform Engineering at Samhall AB
An internal developer platform, built and run from the inside
Samhall is a Swedish state-owned company with more than 20,000 employees. Since June 2026 I build and run its internal developer platform on Azure and GitHub. This is the longer version: what the platform does, the ideas it is built on, and which parts are mine.
The code and the systems belong to Samhall, so there is no code, no screenshots and no system names here. What I can share is the shape of it and the thinking behind it.
What the platform does
A team that needs a new system places an order, through a form or a chat with an AI agent. After one approval the platform creates a repository with our standards and a secure environment in Azure: identity, network, permissions, a secret store and a place to run containers. The same flow changes a system later, connects repositories that already exist, and tears a system down when it is no longer needed.
Today 26 systems run through it, two have been in production since September, and several teams order without involving me. A new system is ready in about seven minutes.
Month by month
-
ongoing
Developers order infrastructure in a conversation. An AI agent skill asks the questions and tested code makes the change, so nothing depends on the model getting the details right.
Claude Code · Agent Skills · Python -
nov 2026
Demoed the developer portal to the whole technology department. About a hundred systems with owners and documentation next to the code.
Backstage · TypeScript · Entra ID · TechDocs -
nov 2026
Sign-in for a new customer portal in one day. For an external client: an identity broker connected to Entra ID, in a private network, from request to a running test environment in one day.
Keycloak · Entra ID · OIDC · Postgres -
oct 2026
A merged fix in open source. While evaluating AI coding agents I found and fixed a packaging bug in an agent-safety tool. the pull request ↗
TypeScript · OpenCode · npm -
sep 2026
Self-service platform in production. The first two systems went live through the flow. Today 26 systems run through it.
Azure · OpenTofu · Bicep · GitHub Actions · OIDC -
jul 2026
Started the developer portal from scratch and opened the first of what is now 290+ merged pull requests in 27 repos.
Backstage · GitHub -
jun 2026
Joined the platform team at Samhall AB as a DevOps engineer.
The ideas it is built on
Desired state, reconciled
Every system is described in Git as what it should look like. An engine compares that with what actually exists in Azure and GitHub and closes the gap, the same loop that Kubernetes and Argo CD are built on. Running it again changes nothing if nothing has changed, so it is always safe to re-run.
Approval is the gate
An order becomes a pull request, and nothing is built until a person has approved it. The history of who asked for what, and who said yes, comes for free.
No stored secrets in pipelines
Pipelines sign in to Azure with short-lived OIDC tokens and managed identities instead of keys saved in CI settings. There is nothing long-lived to leak or rotate.
Standards built in, not written down
A new repository starts with the organisation's standards already in place, so the right way is also the easy way. Cost tags come along too, which makes cost per team and system visible.
Documentation as code
Docs live next to the code in Markdown and show up in the developer portal, where every component has an owner. If the docs are wrong, the fix is a pull request like any other.
AI with verification
The first version of the ordering skill let the model write the change itself. In testing it dropped values, so now the work is split on purpose: the model talks, tested code acts. I use Claude Code every day, and the habit is the same everywhere: let the agent work, then verify.
The developer portal
I set up Backstage from scratch in July 2026 and I am its technical owner. It holds a software catalog of about a hundred systems and integrations, with owners and documentation as code. Users and teams come from Entra ID and ownership from GitHub. It has run in test since November, when I demoed it live to the whole technology department.
My part
I made the plan, designed the self-service flow and wrote most of its code. The design of the Azure environments comes from a colleague, and network and firewall belong to the infrastructure team. Since my first pull request in July 2026 I have merged 290+ in 27 repositories and reviewed 75+ from others, some of them opened by the platform itself.
Today I am the technical owner of the self-service platform, the developer portal and the identity broker, so I answer for how they run and where they go next.