Case study · AI agents in the public interest

Faster repairs, fair decisions: AI agents for a UK housing association under the new automated decision rules

A housing association received thousands of repair requests a month by phone, web and email, and missed hazards hidden in the backlog. Damp and mould now carry legal deadlines, and the UK's rules on automated decisions have changed. The aim was to use AI agents to read, classify and route every request quickly, while keeping people in charge of decisions that affect tenants.

Case studySocial housing · United KingdomSumanta Mukhopadhyay9 min read
#ai#agents#governance
CASE STUDY · CASE STUDY · AI AGENTS IN THE PUBLIC INTEREST30 Oct 2026 · 14:30 GST
At a glance
SectorSocial housing · United Kingdom
My roleFractional CTO and AI architect
EngagementAssessment, architecture and delivery leadership
ScopeRepairs intake, AI classification, hazard escalation, vulnerability flags, durable workflows, ADM safeguards
What changed
  • Every repair request read and classified on arrival, not when someone reaches it
  • Potential damp, mould and safety hazards escalated by rules with statutory clocks
  • Significant decisions about tenants kept with people, with AI as support
  • Each step of each case traceable for complaints and regulators
  • A clear route for tenants to challenge outcomes and get a human review
Omnichannel intakeLLM classification with structured outputsDurable workflow engine (Dapr)Rules for statutory timescalesHousing management system integrationHuman review queuesOpenTelemetry tracingEvaluation harness

Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.

The situation

A housing association in England managed tens of thousands of homes. Repair requests arrived by phone, web form, email and through housing officers, and were keyed into the housing management system by a contact centre. At busy times, requests waited days to be read. A message mentioning "black marks on the bedroom wall" or "the baby keeps coughing" could sit in the same queue as a dripping tap.

Why now. Two sets of rules changed the stakes. Awaab's Law requires social landlords to investigate and fix damp, mould and serious hazards within set timescales, with the first phase in force since October 20255. And the Data (Use and Access) Act replaced the UK GDPR's rules on automated decisions with new Articles 22A to 22D from 5 February 2026, permitting more automated decision-making but with safeguards such as information, the right to contest and human intervention23. The ICO has said it is working on updated guidance and a code of practice on AI and automated decisions1, and in October 2026 it set out its expectations for AI agents and called for views4. The association needed speed and safeguards together.

What had to be true

  • Every request read on arrival, whatever the channel.
  • Hazards escalated by rules, with statutory clocks that start when the landlord becomes aware.
  • People decide what significantly affects tenants; AI classifies, summarises and suggests.
  • Every step traceable, so complaints and the Housing Ombudsman can see what happened and why.
  • Tenants can challenge an outcome and reach a person.

Architecture

Intake
Phone transcriptswith consentWeb and emailphotos attachedHousing officersvisit notes
Understand
Classification agentstructured outputsPhoto analysispossible damp and mould
Rules
Statutory timescalesAwaab's Law clocksVulnerability flagsfor human follow-up
Orchestrate
Durable workflowssurvive restarts, wait for peopleHuman review queuesby skill and urgency
Systems
Housing management systemjobs and appointmentsContractor portalwork orders
Evidence
Tracesevery stepEvaluationsper releaseTenant noticesand challenge route
The agent reads and suggests; rules and people decide; workflows make sure nothing is dropped.

The data flow, end to end

  1. ReceiveA request arrives by any channel and gets a case ID at once
  2. ClassifyThe agent extracts trade, location, urgency signals and possible hazards
  3. Apply rulesHazard indicators start statutory clocks and jump the queue
  4. ReviewA person confirms priority for hazards and anything affecting vulnerable tenants
  5. ActA work order is raised; the workflow tracks it to completion
  6. TellThe tenant is told what happens next and how to challenge it
Hazards never wait for a human to notice them; decisions about tenants always reach one.

The hard part: long-running cases that must not get lost

A repair case is not a single model call. It can run for weeks: classify, wait for a surveyor, wait for a tenant to confirm access, raise a job, wait for a contractor, check it is fixed. Agents built as simple request-and-response loops lose state when a service restarts, and nobody notices until a statutory deadline has passed.

The team ran each case as a durable workflow. The workflow engine records every step, so a case resumes exactly where it was after a failure, and it can wait days for a person or a contractor without holding resources. Tracing had to follow the whole case, not just individual calls; the OpenTelemetry and Dapr communities have worked on carrying trace context across the workflow engine's internal boundaries so steps form one coherent trace6.

Diagram of an application pod with a Dapr sidecar containing workflow and activity actors and a workflow engine, connected by a gRPC stream to the workflow app's Dapr Workflow SDK
A durable workflow engine runs each case step by step and survives restarts; tracing across its boundaries keeps the case history in one place. Source: OpenTelemetry blog, Mauricio Salatino and Kasper Borg Nissen · CC BY 4.0

The second hard part was deciding where automation stops. Classification and routing of ordinary repairs were automated end to end. Anything that could significantly affect a tenant, such as refusing a repair, deciding it was the tenant's responsibility or flagging possible vulnerability, went to a person with the agent's summary and evidence. That kept the association comfortably within the safeguards the new rules expect, and made challenges easy to handle3. See structured outputs for how the classifications were kept reliable.

Automate the reading, the routing and the reminders. Keep people on the decisions a tenant might want to argue with.

How it ran

Housing services
  1. Hazard definitions
  2. Review queues and roles
  3. Tenant communications
Technology
  1. Intake and classification
  2. Durable workflows
  3. Tracing and evaluations
Governance
  1. DPIA
  2. ADM safeguards
  3. Challenge route
Housing staff defined what counts as a hazard; technology made sure it was caught; governance made it contestable.
Phase 1Read everything
  • Unified intake
  • Classification in shadow
  • Evaluation set
Phase 2Catch hazards
  • Hazard rules
  • Statutory clocks
  • Review queues
Phase 3Run cases
  • Durable workflows
  • Contractor integration
  • End-to-end tracing
Phase 4Open up
  • Tenant updates
  • Challenge route
  • Quarterly review
Shadow mode first: the agent classified alongside the contact centre before it routed anything.

Key decisions and trade-offs

DecisionAlternativeWhy
Rules own statutory prioritiesLet the model rank urgencyDeadlines must be predictable and auditable
People decide significant outcomesFully automated decisions with safeguardsLower risk and easier challenges
Durable workflowsAgent loops with a databaseCases survive failures and long waits
Structured outputsFree-text summariesReliable routing and measurable accuracy
Shadow mode before routingSwitch on and monitorFind misses without risk to tenants

What I'd do again, and differently

Again: let housing staff define hazards and vulnerability in their own words, then turn those into rules and test cases. Differently: bring the complaints team in from the start. Their cases were the best test set we had. Related: evaluating AI agents, agents as users of enterprise systems, UK cyber resilience readiness and the UK page.

If you are bringing AI agents into public-facing services in the UK, see my AI architecture work, or analyse your challenge and bring the result to a call.

References
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
    Improving Async Workflow Observability in DaprOpenTelemetry blog · 21 Jan 2026
FAQ

Common questions

What changed in UK law on automated decisions?

The Data (Use and Access) Act 2025 replaced Article 22 of the UK GDPR with new Articles 22A to 22D, in force from 5 February 2026. Solely automated significant decisions are generally permitted with safeguards, such as information about the decision, a way to contest it and human intervention, with tighter limits where special category data is involved.

What is Awaab's Law?

A legal requirement for social landlords in England to investigate and fix damp, mould and other serious hazards within set timescales. Its first phase, covering damp and mould and emergency hazards, came into force in October 2025.

Should AI agents decide repair priorities on their own?

In this design, rules set statutory priorities, the agent classifies and drafts, and people make decisions that significantly affect tenants. That keeps the system fast and within the safeguards the law expects.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.