# 🎙️ How I AI: How to write AI agent loops in Claude Code and Codex + How Claude Mythos found a 15-year-old bug in Mozilla Firefox — retained record

> Retained substack record from substack:lennys-newsletter.

Canonical: https://highsignal.app/data/records/d6bb790544b8804d

[← sources](https://highsignal.app/data)


source: [substack](https://highsignal.app/data/substack) (substack:lennys-newsletter)  published 2026-06-22 15:02 ingested 2026-06-28 12:35

[original source ↗](https://www.lennysnewsletter.com/p/how-i-ai-how-to-write-ai-agent-loops)

## retained text



```
Your weekly listens from How I AI, part of the Lenny&#8217;s Podcast Network
```



document fetched 2026-06-29 10:23 · canonical https://lennysnewsletter.com/p/how-i-ai-how-to-write-ai-agent-loops
