Advertisement · 728 × 90

Posts by Michael Kennedy

Thank you Steve! I honestly didn't expect such a boost from dropping the ODM, but a lovely extra. Primarily I need to a) drop a stagnant core library, b) enable async - see reason a. :)

1 day ago 1 1 0 0
Preview
Deep Agents: LangChain's SDK for Agents That Plan and Delegate When you type a question into ChatGPT, the model only has what you typed to work with. But tools like Claude Code can plan, iterate, test, and recover from mistakes. They work more like we do. The dif...

Latest episode is out: #543: Deep Agents: LangChain's SDK for Agents That Plan and Delegate with Sydney Runkle and @mkennedy.codes Give it a listen:

talkpython.fm/episodes/sho...

3 days ago 2 1 0 0
Preview
Cutting Python Web App Memory Over 31% I reduced Python web app memory by 3.2 GB using async workers, import isolation, the Raw+DC database pattern, and disk caching. Detailed before and after numbers for each technique.

New essay: Cutting Python Web App Memory Over 31%

I reduced Python web app memory by 3.2 GB using async workers, import isolation, the Raw+DC database pattern, and disk caching. Detailed before and after numbers for each technique.

mkennedy.codes/posts/cuttin...

3 days ago 15 2 1 0
Preview
Raw+DC Database Pattern: A Retrospective After migrating three production Python web apps to the Raw+DC database pattern, I share real-world performance benchmarks: nearly 2x requests per second, 18% less memory, native async support, and fr...

Follow up post to my Raw+DC design pattern post last month, with numbers.

Raw+DC Database Pattern: A Retrospective
mkennedy.codes/posts/raw-dc...

5 days ago 3 0 0 0

Thanks. :)

5 days ago 2 0 0 0
Preview
Zensical - a modern static site generator If you've built documentation in the Python ecosystem, chances are you've used Martin Donath's work. His Material for MKDocs powers docs for FastAPI, uv, AWS, OpenAI, and tens of thousands of other pr...

Latest episode with @squidfunk.com and @mkennedy.codes

#542: Zensical - a modern static site generator
talkpython.fm/episodes/sho...

1 week ago 3 3 0 0
Preview
Use Chameleon templates in the Robyn web framework Introducing chameleon-robyn, a Python package that adds Chameleon template support to the Rust-backed Robyn web framework as an alternative to Jinja.

Do you use the Robyn web framework? I just added Chameleon template support to it. :)

mkennedy.codes/posts/use-ch...

2 weeks ago 1 0 0 0
Preview
Monty - Python in Rust for AI When LLMs write code to accomplish a task, that code has to actually run somewhere. And right now, the options aren't great. Spin up a sandboxed container and you're paying a full second of cold start...

Latest episode with Samuel Colvin and @mkennedy.codes

Monty - Python in Rust for AI

talkpython.fm/episodes/sho...

2 weeks ago 3 1 0 0
Advertisement

It's surely not the main thing you would do, but there is a place for it. What should I do instead? Set up a separate server with message queues just to do some minor async thing?

2 weeks ago 0 1 1 0
Preview
Fire and forget (or never) with Python’s asyncio Python's asyncio.create_task() can silently garbage collect fire-and-forget tasks in 3.12+. Learn the background_tasks set pattern to fix it.

New essay: Fire and forget (or never) with Python’s asyncio

mkennedy.codes/posts/fire-a...

2 weeks ago 4 3 1 0

Cool example!

3 weeks ago 1 0 0 0
Preview
What hyper-personal software looks like Agentic AI is enabling an explosion of personal software no one will ever see. I built a browser extension in 15 minutes just for me, and that's the point.

New essay:

What hyper-personal software looks like.
mkennedy.codes/posts/what-h...

4 weeks ago 2 0 1 1

We had a great chat at the @talkpython.fm podcast with @mkennedy.codes and some of my teammates: @patrick.wtf, @savannah.dev, @nucleonjohn.bsky.social🎙️

If you're curious about what goes underneath @fastapicloud.com, check it out 🎧️

1 month ago 4 2 0 0
Preview
Commands, out of the terminal News and announcements from the Python community for the week of Feb 9th, 2026

🎙️ Python Bytes 469: Commands, out of the terminal
with @mkennedy.codes and @brianokken.bsky.social
pythonbytes.fm/469
#Python

1 month ago 6 2 1 0
Preview
Tallyman Tallyman is a CLI tool that categorizes and analyzes codebases by language and file type, revealing the shape of your project.

Just added a new feature to Tallyman. Pass --image and you'll get a nice, sharable summary of your project.

mkennedy.codes/tools/tallym...

1 month ago 4 0 0 0
Advertisement
Preview
Fly inside FastAPI Cloud You've built your FastAPI app, it's running great locally, and now you want to share it with the world. But then reality hits -- containers, load balancers, HTTPS certificates, cloud consoles with 200...

Latest episode is out, this time with the @fastapicloud.com team. cc @mkennedy.codes

#536: Fly inside FastAPI Cloud
talkpython.fm/episodes/sho...

1 month ago 4 2 1 2

Congrats Chris!

1 month ago 0 0 0 0

Same with the ORM. I'm looking at needing to migrate to another, what even? Now that some of them are sunsetting. That sucks. Dataclasses, pydantic models, etc, they are going strong.

1 month ago 1 0 0 0

Definitely Pat. It's trade-off. I think we are a bit too far down the road of too many dependencies.

Now that I'm religiously running pip-audit, there is almost a vuln once a month I have to work around for just a basic app. The code paths probably don't touch the real issue, but they drag along.

1 month ago 1 0 1 0
Preview
Education Summit PyCon US 2026

Are you going to Pycon? Do you teach #Python to adults or children? Check out the 14th annual #Pycon Ed Summit! Join us! us.pycon.org/2026/events/...

#computerscience #education #coding @seantibor.com @anthonypjshaw.bsky.social @mkennedy.codes @brianokken.bsky.social @realpython.com

1 month ago 5 3 0 1

Wow Pat! That’s amazing. How long did that take it to run. 100k is the biggest thing I ran it on.

1 month ago 0 0 1 0
Preview
GitHub - mikeckennedy/tallyman: A command-line tool that summarizes the size of a codebase by language, showing lines of code with and without comments and blank lines. A command-line tool that summarizes the size of a codebase by language, showing lines of code with and without comments and blank lines. - mikeckennedy/tallyman

Just launched a new open source project.

Tallyman: A command-line tool that gives you a real picture of your codebase - not just raw line counts, but where your effort actually lives. It groups results into meaningful categories like Code, Design, Docs, Specs, and Data.

github.com/mikeckennedy...

1 month ago 7 0 2 0

Indeed Andrew, and interesting angle. I do think it's learning to lead with training wheels a bit. :) Cool idea.

1 month ago 1 0 0 0
Preview
It's not vibe coding: Agentic engineering AI does the implementation, humans own the architecture and quality. Here's why the distinction matters.

New essay: It's not vibe coding - Agentic engineering

mkennedy.codes/posts/its-no...

1 month ago 3 0 2 1

BTW, the "shady" download links you mentioned were legit. They just didn't exist any longer for some of them.

1 month ago 1 0 1 0
Advertisement

Thanks for the heads up xmatt. Yes, these are at the very far end of my migrated posts to the new blog platform. Not all of the content was able to be migrated over.

I updated that post, but also about 200 others with link fixes, date fixes, and a few other items.

1 month ago 0 0 1 0
Preview
Command Book - Manage Long-Running Terminal Commands Command Book is a native macOS app for managing long-running terminal commands. Save, run, and monitor your web servers, databases, and background processes. Never lose your terminal setup again. Free...

I'm thrilled to announce I just released Command Book App: A native macOS app for developers, data scientists, AI enthusiasts and more.

Command Book manages commands like "tail this log while I'm developing the app", "Run the dev web server with true auto-reload", and more.

commandbookapp.com

1 month ago 7 1 0 0

It’s good stuff!

2 months ago 1 0 0 0
Preview
PyView: Real-time Python Web Apps Building on the web is like working with the perfect clay. It’s malleable and can become almost anything. But too often, frameworks try to hide the web’s best parts away from us. Today, we’re looking ...

New episode is out!

PyView: Real-time Python Web Apps with Larry Ogrodnek and host @mkennedy.codes

talkpython.fm/episodes/sho...

2 months ago 6 1 0 0

Thanks! Looks interesting for sure. I'm a big fan of tower defense type of games and while not the same, not super different looking. Right now I'm working through Mass Effect and am getting close to being done with game 4 and will need something new after that.

2 months ago 0 0 0 0