---
title: "Discussion on \"Building an AI Circuit Breaker in .NET\" | Hashnode"
description: "Discussion on \"Building an AI Circuit Breaker in .NET\". Circuit breakers in .NET are good at recognising technical failure. They can stop calls dead. AI failures are less cooperative."
url: "https://hashnode.com/posts/building-an-ai-circuit-breaker-in-net/6aa8f3614c4eade8a3bb1edc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Building an AI Circuit Breaker in .NET](https://fullstackcity.com/building-an-ai-circuit-breaker-in-net?utm_source=hashnode&utm_medium=feed)

Circuit breakers in .NET are good at recognising technical failure. They can stop calls dead. AI failures are less cooperative.

Sep 15 · 16 min read · fullstackcity.com  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#artificial-intelligence](https://hashnode.com/tag/artificial-intelligence)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#microsoft](https://hashnode.com/tag/microsoft)
-   [#dotnet](https://hashnode.com/tag/dotnet)

## Written by

[Patrick Kearns](https://hashnode.com/@fullstackcity)

@fullstackcity · Dublin

  
[View profile](https://hashnode.com/@fullstackcity)

Senior .Net Engineer

Senior Software Engineer specialising in cloud architecture, distributed systems, and modern .NET development, with over two decades of experience designing and delivering enterprise platforms in financial, insurance, and high-scale commercial environments. My focus is on building systems that are reliable, scalable, and maintainable over the long term. I’ve led modernisation initiatives moving legacy platforms to cloud-native Azure architectures, designed high-throughput streaming solutions to eliminate performance bottlenecks, and implemented secure microservices environments using container-based deployment models and event-driven integration patterns. From an architecture perspective, I have strong practical experience applying approaches such as Vertical Slice Architecture, Domain-Driven Design, Clean Architecture, and Hexagonal Architecture. I’m particularly interested in modular system design that balances delivery speed with long-term sustainability, and I enjoy solving complex problems involving distributed workflows, performance optimisation, and system reliability. I enjoy mentoring engineers, contributing to architectural decisions, and helping teams simplify complex systems into clear, maintainable designs. I’m always open to connecting with other engineers, architects, and technology leaders working on modern cloud and distributed system challenges.

## Responses 3

Markdown supported · ⌘↵ to post

[Julian Neagu](https://hashnode.com/@julianneagulab)

[Sep 18](https://hashnode.com/posts/building-an-ai-circuit-breaker-in-net/6aa8f3614c4eade8a3bb1edc/comment/6aad00ca57726934088a4110)

The HTTP 200 point is the bit that gets missed. I've seen AI tools look healthy on paper while the actual output was quietly getting worse.

[BotSailor](https://hashnode.com/@botsailor)

[Sep 16](https://hashnode.com/posts/building-an-ai-circuit-breaker-in-net/6aa8f3614c4eade8a3bb1edc/comment/6aaa09b625695e757dde7c6c)

Really enjoyed this perspective. The point that an AI request can return a perfectly valid HTTP 200 while still being completely unusable is easy to overlook in real-world systems.

I especially liked the idea of evaluating the output at the application boundary and letting semantic failures feed into the circuit breaker. That feels much closer to how AI reliability actually works than simply counting timeouts and 5xx responses.

The discussion around fallbacks, telemetry, and keeping circuit state distributed also makes this feel practical beyond just a code sample. “Reliability begins after HTTP 200” is a great way to summarize the whole idea. Great read!

[Puneet Khandelwal](https://hashnode.com/@lifestyle4u)

[Sep 15](https://hashnode.com/posts/building-an-ai-circuit-breaker-in-net/6aa8f3614c4eade8a3bb1edc/comment/6aa918573d0d0861dac37acb)

Smart approach. Circuit breakers for LLM calls save you when production breaks at 3 AM.
