Skip to content
Tran Duc Phu
  • Home
  • About
  • Projects
  • Blog
  • Contact
Blog

Writing

Notes on AI engineering, the books I'm reading, and the occasional detour into philosophy and psychology. RSS

4 posts

Oct 16, 2026 · 4 min read

Notes on building LLM agents that don't fall over

Agents fail in boring, predictable ways: unbounded loops, malformed tool calls, and silent drift. A few patterns that make them sturdier, with a minimal Python loop.

  • AI
  • Tech
Oct 13, 2026 · 4 min read

Stoicism and the art of debugging

The dichotomy of control, the view from above, and premeditatio malorum — three Stoic ideas that turned out to be excellent debugging tools.

  • Philosophy
  • Psychology
  • Tech
Oct 10, 2026 · 4 min read

Thinking, Fast and Slow, read by an engineer

Kahneman's System 1 and System 2 map uncomfortably well onto how we build, evaluate and trust machine learning systems — and onto how I make decisions at work.

  • Books
  • Psychology
Oct 5, 2026 · 3 min read

Why I'm starting this blog

Writing is how I find out what I actually think. Here's what this blog is for, what I'll write about, and what I won't pretend to know.

  • Life/Other
  • Tech
© 2026 Tran Duc Phu GitHub · LinkedIn · RSS