
I build agent infrastructure and write about what goes wrong. Mostly what goes wrong.
Toronto
Joined October 2007
- Tweets3.4K
- Following1.8K
- Followers1.3K
- Likes249
Rida Al Barazi retweeted
My further (informed) fantasies about the near future:
1) No CI. Agents prove each change against rules while they write it.
2) Code is a cache: rules stay, code regenerated with better models.
3) No staging, simulation instead.
4) Humans direct in plain words, agents compile that into formal rules, humans don't read the formulas, only examples and counterexamples.
5) Agents find the rules the human never knew to express (and ask to confirm them).
6) The checker catches contradictions between human's rules while they're still directing.
7) Unchecked/unproved code becomes legacy code.
8) Branches come back as experiments (many versions at once, humans pick among winners).
9) Software gets bred, not built.
10) Slop is variation without selection.
11) If UI is generated on the fly, design becomes the rules every generated screen must follow. A checker runs those rules on every generation.
12) Apps evolve from how they're used.
13) Everyone uses their own software version. One product becomes many personal versions, that stay compatible via shared rules.
Next question: why are you still using branches?
We talked about PRs. I don't think they make sense anymore, if you rethink them from first principles.
Yes, if you only use them to trigger CI, then sure, go ahead. That's a fat commit, not a PR. But for mandatory code review? Knowledge sharing? C'mon.
But some of you said: "we use PRs because we use branches! I love to keep my stuff on branches."
And I'm here to tell you: you don't need branches! You can just push to main.
It's called trunk-based development and the idea behind it is true continuous integration: you continuously integrate your changes with the trunk, the main branch.
It's been around for a while, it works. Just yesterday I talked with someone who said they've used it in an org with 400 engineers, without any issues. Ruby, the project, uses trunk-based development.
The main idea is that you want to avoid long-lived branches. They're bad, because branches can diverge and merging can turn into a thing. And you don't want routine operations to become a thing.
Even when I worked in teams that used PRs and branches, I considered it a smell when a branch lived for longer than a day or two.
But when I shared this with others, I'd often get something back like this:
"Well, good for you, but no. MY thing, what I'm working on, that can't be done on main. It needs to be on a branch! It has a database migration, it changes the underlying shape, the architecture, it refactors this and changes that. It can't go on main yet! I need to merge it all at the end."
And then I'd say:
"Nah, I can merge nearly anything continuously in small commits to main. You split things up. Add the column first, merge that, deploy it, now it's out, works, safe.
Add the helpers first, merge them, get them out.
Want to migrate from legacy pattern A to new pattern B? Don't do it all at once. Add the dependency, then migrate A to B, one by one, safe."
If it can be merged in a large change, I bet it can be done in small increments that you merge to main.
Yes, there are exceptions, but it's 0.5% of cases, not 50%.
But there was a real problem with this approach: it was hard!
There's a lot of "meta programming" you have to do: make sure this small first change compiles and runs and the tests work, merge it, get it out, monitor it; then do the next small piece, make sure that works and get it out; then maybe push some still-unused dead code, add a feature flag, add a config variable; or keep both configurations working at the same time, etc.
That meant sometimes it was just easier to do it in a big fat branch. But big fat branches are risky!
A system that continuously flows is safer than a system that starts and stops in spurts.
But -- you guessed it -- here's the good news:
Now, with agents, all of these chores are no chores at all!
Agents are great at adding feature flags, they're great at splitting up code, they're great at keeping track of three changes and merging them one by one and watching them roll out. They're great at keeping two configurations working for a day. They're great at migrating one by one.
In other words: it's now 10x easier to just work on main and make sure everything is continuously integrated and working.
It's now easy to make sure the system constantly flows.
And look, ...
I'm not here to convince you to switch to trunk-based development. Just a ruse to get you to read this. (But also, hey: try it! Pushing to main is amazing.)
I'm here to make you RETHINK how you develop software.
Don't just use agents to replace your typing.
Use agents as the magic code-writing machines they are. Everything that was hard about software development because it involved writing code -- even the meta programming -- has become easier.
You can now reach for the stars! But you need to look up.
The most interesting part about this memo is that at its core, it's advocating for solid operating principles.
This is how any engineering business should operate.
The bottleneck elimination principle is just one example.
Replying to @josephfcox
Here is Proton CTO's AI manifesto, that I obtained multiple copies of 404media.co/manifestos-fear-…
2
80
Great read. I’m lucky to be in the “empowered” camp.
I'm starting to sense a divide in the tech industry:
- People thriving on autonomy who are reinventing how they work and what tools they use with AI: LOTS of work, but they're enjoying it and getting very efficient
- People used to being mentored / trained / or simply told what to do and how. Frustrated with the lack of guidance from management on what to do with AI; also frustrated by seeing some of their peers thriving; increasingly bitter about AI and the state of the industry, as a whole
Neither group seems to be aware that there's another group, or have empathy for the other group
95
I exhausted all my 4 (2 max and 2 pro) subscriptions this week in 6 days.
I’m agent free for the next 24hrs!
Too bad this didn’t line up with the weekend
2
1
119
A few techniques that helped me get better UI/UX results when working with coding agents:
Having a design.md file or package. You can use Claude Design to set this up or have an independent Claude session just to build one from your existing codebase. For existing projects I asked Claude to Ultracode a workflow to scan and analyze the existing codebase and document the ui and ux patterns into a design.md file.
The front end development skill (from Claude) is a solid one too.
Asking the agent to take screenshots and verify against them helps a lot (token extensive though)
I also take screenshots myself and annotate them to provide feedback. There are some good tools and chrome extensions that help with this too. I have @benjitaylor’s Agentatuin set up on some projects.
I’m yet to try @kitlangton’s flow: www.nitter.cf/kitlangton/status/2111…
hey. here's a little demo of the most meaningful improvement to my productivity since speech-to-text.
6
5
469
Great read. I’ve been using around 70% of those patterns.
Re: Cloud agents vs Local. My local set up has been pretty good across containers and different computers. The key is proper isolation.
The “threads” callout is new to me. Maybe it’s an exclusive Amp feature.
1
66
If you run claude code and codex on more than one computer get one of them to analyze your usage patterns and errors they consistently see. You will find some low hanging fruit to fix and some patterns to extract into agent skills.
Here's a cleaned up prompt I used after it collected the "field notes":
Before implementing any recommendations, preserve the analysis and field notes you collected about my Claude Code and Codex usage patterns, recurring errors, and opportunities for reusable skills.
Another agent on a second computer will receive this same prompt. The goal is to share findings, compare evidence, and develop improvements that work across computers and can also benefit other engineers.
Please do the following:
Save the findings in a shared repository. Start by checking whether the agent-skills repository is the right home and follow its existing conventions. Keep each computer’s notes separately identifiable so both agents can contribute without overwriting each other. Commit and push the notes so the other agent can access them.
Separate observations from proposals. Document recurring problems, supporting examples, suggested fixes, and uncertainties. Distinguish broadly useful patterns from machine-specific issues and personal preferences.
Recommend the appropriate scope for each improvement:Shared skills or tooling for multiple engineers and repositories.
Repository-level instructions or setup for everyone working in a project.
Machine-specific configuration.
Personal preferences maintained through version-controlled dotfiles.
Review existing setup mechanisms. Look for an existing repository setup skill or equivalent workflow before proposing something new. Avoid relying on untracked files in Codex or Claude home directories for behavior that should be portable or shared.
Compare the two sets of notes when available. Identify common findings, differences, conflicting recommendations, and which conclusions have stronger evidence. If the other agent’s notes are not available yet, leave a clear handoff describing where yours are and how to contribute.
For now, publish the findings and a proposed implementation plan. Do not apply the fixes or install new skills yet. Include the repository location, commit reference, and recommended home for each proposed change.
6
4
388
Finally!!! If this works as good as advertised I’d get rid of my macgyvered solution right away
Today we announce 1Password for Agents platform, building with companies @Muse, SpaceX Super Intelligence Grok @Bot, @AnthropicAI’s @Claudeai, @OpenAI, @TownAI, @Browserbase, @Browser_use, @heydana_ai, Instinct, @usekernel, @Perplexity_ai, @tryramp, @Tomo, and @wajo_ai, with more integrations on the way. 🎉
We've heard from so many of our customers who want to use these new personal AI agents to help them get more done, but want more control over what the agent can access with the same trust and ease of use they get when using 1Password directly.
1Password for Agents gives your agents access without giving up your passwords. When an agent reaches a sign-in form, it requests a credential from your vault. If you approve the request, 1Password directly auto-fills the credential in the destination site so the agent can’t see or take possession of the credentials.
The agent gets the task done, but it doesn’t get your passwords..
You stay in control. 1Password for Agents free and optional for personal and family accounts. Unless you opt-in to an agent connector, agents cannot touch your vault.
➡️Learn more: bit.ly/487da6J
67
Disaster recovery plans and credential rotation drills shouldn’t be plans and drills anymore; they should be part of your CI and CD.
Practiced at every release.
If we can guild ease now then we should be able to recover as fast as we build.
This is the new normal.
55
It’s even worse when they bloated the test suite so it takes an hour to run and then they push tiny pull requests for copy changes!!
1
14
We don’t need GitHub anymore!
GitHub was built for humans to look at each others code and protect releases.
We (humans) no longer “write” the code. We no longer look at the code, we have automations to verify it better than any humans would’ve.
We can assess its risk and then ship.
We don’t need GitHub anymore. We need a source control with hooks and we don’t even need a ui for it.
Claude writes about 90% of Claude Code's code.
From June to September, merged PRs more than doubled while the share reverted fell by more than 40%.
We wrote about how we changed code review to get there, and how to adopt it:
claude.dev/blog/solving-code…
1
1
66
I'm not alone! I guess this is why most of my side projects turn into infra and dev ops projects within a few days of hacking.
time and time again i fall into the trap of designing a big piece of infra with an agent, only to find out that my context window is smaller than the agent's.
i keep forgetting things that were already discussed, while clanker mcclankerface knows all the things.
1
59
I asked @ChatGPT to make a math practice worksheet for my daughter (grade 4).
It first created a crappy html page that didn’t work.
Then it dynamically rendered the UI inline with a personalized game and it worked perfectly!
My daughter said: “beat that IXL!” (That’s the ancient software they assign homework on).
3
1
64
Git was built for a different time. Not the time of agents that are always online!
New on our Engineering blog: Creating in-house source control.
In May, we merged around 2,500 code changes per day. In September, we merged more than 30,000 per day. As a result, we became bottlenecked by developer infrastructure built for human (rather than agent) scale.
Here, we share how we built a new version control system—and fully migrated our monorepo from git—in five months: anthropic.com/engineering/re…
54
It took less than a day and now my wife can edit (code and deploy) the dashboard herself using her ChatGPT account!
I signed her to GitHub and added her to the repo which has CI/CD and auto updates the kiosk app on the frame.
Now she’s talking to ChatGPT and redesigning the whole thing to match our family’s aesthetics 😂
Family dashboard live and complete.
Plugged the photo frame into my laptop last night and used Codex remotely to root it, build the site, host it on my hetzner box, add some jokes and activities fun for my daughters, secure it… geeked out on the whole thing!
Thanks again @wesbos for the idea!
1
132
Family dashboard live and complete.
Plugged the photo frame into my laptop last night and used Codex remotely to root it, build the site, host it on my hetzner box, add some jokes and activities fun for my daughters, secure it… geeked out on the whole thing!
Thanks again @wesbos for the idea!
I have discovered $50 amazon photo frames to be the PERFECT home display screen
They can be rooted, updated to run a modern browser, have WiFi and can be powered from USB
1280×800 resolution with a nice touch screen
I detailed how to hack these yourself in my latest video
wesbos.com/hacking-smart-pho…






















