<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar" -->

---
title: Clean Architecture with Python • Sam Keen &amp; Max Kirchoff
description: Sam Keen discusses his book on Clean Architecture in Python, emphasizing dependency management through layered onion architecture with strict inner domain...
canonical: https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Clean Architecture with Python • Sam Keen &amp; Max Kirchoff | daily.dev
og:description: Sam Keen discusses his book on Clean Architecture in Python, emphasizing dependency management through layered onion architecture with strict inner domain...
og:url: https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar
og:image: https://api.daily.dev/og/posts/97PZOnXar.png
og:image:alt: Clean Architecture with Python • Sam Keen &amp; Max Kirchoff
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Clean Architecture with Python • Sam Keen & Max Kirchoff

**[GOTO Conferences](https://daily.dev/sources/goto)** · 36 min read · 0 upvotes · 0 comments

## Summary

Sam Keen discusses his book on Clean Architecture in Python, emphasizing dependency management through layered onion architecture with strict inner domain layers and flexible outer framework layers. The conversation covers how clean architecture enables proper test pyramid implementation by reducing coupling, making unit tests simple and fast. Key principles include the dependency rule (dependencies point inward), domain-driven design for core business logic, and treating frameworks as replaceable details. The discussion also explores how clean architecture remains relevant for AI-assisted development by providing scoped contexts and architectural guardrails that help both humans and AI agents build maintainable systems.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=w_yq--3wSzw>

## Similar posts on daily.dev

- [Clean Architecture Explained: Building Software That Stands the Test of Time](https://daily.dev/posts/clean-architecture-explained-building-software-that-stands-the-test-of-time-acdblphuf) · Medium · 1 upvotes · 0 comments

---

Tags: [#python](https://daily.dev/tags/python), [#testing](https://daily.dev/tags/testing), [#architecture](https://daily.dev/tags/architecture), [#domain-driven-design](https://daily.dev/tags/domain-driven-design)

[View this post on daily.dev](https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Clean Architecture with Python • Sam Keen & Max Kirchoff","url":"https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar"},"datePublished":"2026-02-13T13:50:40.479Z","dateModified":"2026-02-13T13:56:11.218Z","description":"Sam Keen discusses his book on Clean Architecture in Python, emphasizing dependency management through layered onion architecture with strict inner domain...","image":"https://i.ytimg.com/vi/w_yq--3wSzw/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/w_yq--3wSzw/sddefault.jpg","isAccessibleForFree":true,"articleSection":"GOTO Conferences","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GOTO Conferences","logo":"https://media.daily.dev/image/upload/s--rax7fnoD--/f_auto/v1704628081/logos/goto.jpg","url":"https://daily.dev/sources/goto"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/clean-architecture-with-python-sam-keen-max-kirchoff-97pzonxar","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"python,testing,architecture,domain-driven-design","timeRequired":"PT36M","video":{"@type":"VideoObject","name":"Clean Architecture with Python • Sam Keen & Max Kirchoff","description":"Sam Keen discusses his book on Clean Architecture in Python, emphasizing dependency management through layered onion architecture with strict inner domain...","thumbnailUrl":"https://i.ytimg.com/vi/w_yq--3wSzw/sddefault.jpg","uploadDate":"2026-02-13T13:50:40.479Z","duration":"PT36M","url":"https://api.daily.dev/r/97PZOnXar","embedUrl":"https://www.youtube.com/embed/w_yq--3wSzw"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GOTO Conferences","item":"https://daily.dev/sources/goto"},{"@type":"ListItem","position":3,"name":"Clean Architecture with Python • Sam Keen & Max Kirchoff"}]}
```

