over the last month or so i’ve been digging into how coding agent harnesses actually work.
looking at tools like claude code, codex, opencode, and especially pi from @badlogicgames, it’s been interesting to peel back the layers and see the patterns underneath them 👀
i learnt a lot in particular from looking at how pi has been architected.
as a result, i ended up building my own coding agent harness in python and documenting the rings that build around a minimal agent loop to create the kinds of systems we’re starting to see more of:
- providers
- tools + permissions
- sessions + state
- context strategy + compaction
- prompts + skills
- plugins + extensions
- delivery
the post walks through those layers piece by piece, along with the accompanying code and diagrams.
if you’re curious about how these systems are structured under the hood, hopefully this is useful.
post: eddmann.com/posts/around-the…
code: github.com/eddmann/my-own-co…
i did a small write-up about it here eddmann.com/posts/mario-kart…
What if PHP had Option/Result + `?` 🐘
Rust-style - a postfix ? short-circuits the function on None/Err. No null checks, no try/catch noise.
Try it out: eddmann.com/php-lab/#option-…
Part of my PHP Lab series: I've been spending lunchtimes experimenting with adding language features into PHP, because... why not.
#PHP #PHPLab
What if PHP had `defer`? 🐘
Go's scope-exit cleanup - put teardown next to setup; it runs on return or throw, LIFO. No more forgotten fclose().
Try it out: eddmann.com/php-lab/#defer
Part of my PHP Lab series: I've been spending lunchtimes experimenting with adding language features into PHP, because... why not.
#PHP #PHPLab
Edd Mann retweeted
Anthropic onboarding day: Michael Scott introducing Karpathy like he just signed Wemby in free agency.
have really enjoyed using this tool recently! initial analysis and breakdown of semantic features within a system to then go on and review in parallel is very useful. thanks @steipete
Try clawpatch.ai on one of your repos and let codex work its magic. It's amazing at uncovering bugs you didn't know you had.
Edd Mann retweeted
I setup MCP server for Garmin so I asked Claude to analyze my bike training and give me recommendations
It did and suggested 5 workouts I can start doing
It then created them in my account
Super cool
Thanks for the MCP @edd_mann 👏
Edd Mann retweeted
we've been increasingly using agents for production operations on Deno Deploy
Open sourcing what we built to sleep easier while these things run 24/7
I wrote about our motivation here deno.com/blog/clawpatrol
been spending some time going through PRs across my OSS projects recently.
just released garmin connect mcp server v1.0.1 🎉
it’s now published on PyPI, so you can run it directly with:
uvx garmin-connect-mcp
repo: github.com/eddmann/garmin-co…
#opensource #mcp #claudeai #garmin #python
Edd Mann retweeted
Cloudflare's security team spent the last few weeks testing Anthropic's Mythos against fifty of our own repositories. What we learned about offensive AI, why faster patching is the wrong reaction, and what the architecture around vulnerabilities has to look like next. cfl.re/49BRUqW
it's too easy to get distracted, i've been using @jsonresume as the source for multiple themes of my cv, letting the frontend design skill run wild! haha
til about `await using` in ts for auto. async cleanup thanks to @mattpocockuk’s sandcastle project 🙏 developer.mozilla.org/en-US/…
Edd Mann retweeted
for your enjoyment:
github.com/badlogic/gpt-2-ts
GPT-2's architecture is really really simple to understand mechanically. Modern arch's are obviously more complex, but the basic principles are largely the same still. study it!
openai.com/index/better-lang…
















