
AI Engineer & Fractional CTO. Helping business owners build AI products & teams. Ex-founding engineer. AB Physics @Harvard. BJJ belt: Blue
Astoria, NY
Joined September 2013
- Tweets655
- Following348
- Followers220
- Likes899
Lester Kim retweeted
Tired: Two-pizza teams
Wired: Two-slice teams
@danshipper on the best team structure in the AI-era
codebases have always contained slop. we have always been okay with this because code rarely needs to be perfect, outside of mission critical "hard" (eg embedded) software.
swe is a unique form of engineering because you're often building something that constantly evolves and is almost organic - user tastes change, your mental models evolve, and features come and go.
admittedly, i and many others who've been coding for a long time were initially (like back in 2024) skeptical that agents would write production code. "but what about all the slop that would enter our beautiful codebase?".
well, even before, we had human slop, and there was a lot of it! if we're being truthful, most people call "code i didn't write" slop. the reality is that 99% of people (i include myself in that number) don't even know what Good Code looks like, let alone be capable of writing it. i would propose that Good Code is:
• correct
• bug free
• fast and cost efficient to run
it has always been exceedingly difficult and expensive to write truly Good Code, because for the longest time (maybe @bendlang will change that), code was not something you could cheaply and formally guarantee to have all 3 of these properties. this is why writing hard software is much more difficult and expensive, because depending on the use case, you may only get one chance and so you have to be right from the start.
but the vast majority of software we use does not need to be Good Code to provide value to users. in fact, it is very likely that most software we use is not formally verifiable! we accepted some bugs in exchange for velocity and progress, so we rely on tests and o11y instead and have adopted a more incremental approach. this is a good thing!
agents help us move faster, and if you're open to the idea, are capable of helping us write better code. it won't be Good Code (that is still expensive), but it is likely to be much better on average at scale.
the new craft of swe is to figure out how to do this. it's your job now! if your productivity with and without agents is not significantly different, you're doing something wrong. but it's not too late to embrace it and use it as an opportunity to learn a whole new skill tree
Lester Kim retweeted
Replying to @0xrwu
That’s an old argument that goes way back into the early 2000s. Lots of people frustrated with test driven development said all we really need are acceptance tests. The problem with that is that acceptance tests and integration tests leave an awful lot of the code uncovered. And uncovered code can go in any direction that remains unchecked.
The bloat argument is a red herring. The production code doesn’t bloat. The test code is the vice that keeps the production code stable. And those tests are cheap.
Lester Kim retweeted
It’s embarrassing to see engineers+designers at UberEats no longer looking at what they ship.
Uber introduced a new UI to select toppings… except when there’s no limit on how many toppings to select, the placeholder is “choose up to 999”. Showing everywhere.
QA nonexistent
Lester Kim retweeted
Replying to @ThePrimeagen
It’s important to remember that every software developer is a stakeholder in the projects that they work on. Their reputations are on the line. And so, of course, software developers need to push back on management in order to defend the quality of their work.
What many programmers don’t realize is that management expects that pushback, and when they don’t get it, they feel like everything is just fine.
Lester Kim retweeted
Bot detection & human verification will be one of the most urgent demands for businesses over the coming years. Agent swarms will suffocate every website and form; small companies and government websites are most vulnerable.
There is a huge gap in the market for this right now. When we looked at what offerings were in the market to use at X, there was not a single company that brought together all the latest technologies so we had to do it all in-house.
Lester Kim retweeted
There are so many seasoned software executives who are completely out of their element with the types of products that will breakout in the next few years.
Over the last 20 years, their brains were wired to build apps that deliver value by outputting deterministic results, but AI produces value from probabilistic results. This is such a different way to approach how something should work.
Young people who are thinking in this way from the outset will be at a significant advantage -- in the same way they were advantaged when thinking about how products could be social in 2010.
Lester Kim retweeted
OK. It's time to rethink this.
I've spend the last several weeks working on a harness that tightly constrains the agents to work the way that I want them to work. I set up all kinds of gates, and tests, and tools, and protocols, and ...
And while I was heads-down getting that to work, the agents got a LOT better. So much so that when I came up for air, the need for my harness was obviated. Indeed, the need for _any_ but the most liberal of harnesses may be obviated.
Just how good these things have gotten blows me away. I have had long debates with grok and codex about the structure of systems -- as if they were senior engineers. They often disagree with me and have their own perspectives. I have, more than once, found myself agreeing with their views.
I have not given up on constraints and tooling. Unit testing is still important. So is CRAP and Mutation testing. These tools still find bugs and offer useful constraints, though they can leave scars.
However, the agents have gotten so good that I can now give one a very significant task with a few guidelines and it will faithfully implement it. I can walk away for 40 minutes and when I return it will be done. CRAP will be satisfied, Coverage will be high, and Mutation testing complete. The architecture will be clean, and the code will be very good.
The end result may not behave perfectly, but it's so close that a couple of tweaks usually puts it into place.
What does this mean going forward? I'm not sure. But I'm beginning to think that harnesses should not treat agents as components within a software design.
Lester Kim retweeted
Every day, I get a lot of of emails and messages like this one. I try to respond to as many as I can.
Sharing my response below, for anyone else in a similar situation. What do you think?
Lester Kim retweeted
i just realized that i'm starting to categorize LLMs into 2 buckets
1. the models i can tolerate directly talking to
for me, these are currently (sorted by how much i want to talk to it)
- grok 4.5: fast, pleasant, does what you ask and get shit done
- fable 5: wise. very wise
- kimi k3: closest 2nd choice to fable. quite slow and expensive
- opus 4.8: the old faithful
2. the models that can do great work in the background, but i can't stand talking to it
- gpt 5.6 series
whenever i directly talk to it, "poor judgment" is the word that comes to mind. it'll miss easy paths and prefer over-engineering. it'll infer intent from my words and go rogue into a whole set of things i didn't want it to do
but.. if i let another model talk to it, then this is probably the strongest architect and system engineer there is. it can come up with very robust processes and methodological approach to solve very complex problems and build reliable systems
- opus 5
if i talk to it directly, it jumps into conclusion without thoroughly investigating context. it can't stop talking about its own honest mistakes. it also creates long walls of text full of jargons
but.. if i let another model talk to it, then opus 5 can build tasteful products and relentlessly chase after a set vision. it's likely heavily trained with very long horizon tasks and that's what it does really well
so we may be entering a world where we have to be very intentional in setting up a multi-agent system where we humans talk to the most pleasant models directly as a friendly proxy to the "nerds" that are insufferable to talk to but can solve hard problems for us behind the scenes
does that resonate with your experience?
Beginning July 20, Claude Fable 5 will be included in all Max and Team Premium plans, at 50% of limits.
Pro and Team Standard users will continue to have access to Fable via usage credits, and will receive a one-time $100 credit.
Demand for Fable has been challenging to predict, which is why we rolled it out to subscription plans in stages, extending access several times as we secured additional capacity.
Lester Kim retweeted
As engineering, product, design, DS, etc. melt into a new kind of role, I was reflecting on what roles might look like in the future. For example, when I look at the Claude Code team I see what I think is five archetypes:
1. Prototyper: comes up with brand new ideas; churns out many ideas, most of which don't ship
2. Builder: quickly turns a prototype/idea into production-grade product/infra
3. Sweeper: cleans up the UI, simplifies the code and system, unships, optimizes performance
4. Grower: takes a product that has been built and iterates on it to improve Product-Market Fit
5. Maintainer: owns a mature system to make it secure, reliable, fast, and efficient as it scales
Many people span across 2 roles, and sometimes 3 roles. I also notice that these roles are not really tied to job function -- eg. across Anthropic, some designers match category 1, some 2, some 3; same for engineers, PM, DS.
A healthy team needs a mix of these, depending on the product:
- A product that is new and pre-PMF needs people that are strong at 1+2+3
- A product that is growing and has found PMF needs 2+3+4 and some 5
- A product that has strong PMF needs 3+4+5 and some 2
Maybe product roles of the future will look more like this, and less like the domain-specific roles of today?
Lester Kim retweeted
Talked with a few folks inside of AI labs (OpenAI, Anthropic) about what they think of the future of software engineering.
The “closer” to shipping production code engineers are, the less they believe software engineering will be “solved” fully by AI. The opposite true as well
Lester Kim retweeted
Refactoring is the act of changing the structure of code to be more consumable. But consumable by whom? If the audience is humans, we re-factor to human standards. If the audience is agents, we re-factor to agent standards. Those standards are different.
When agents are the audience, I tolerate slightly larger functions, and slightly more comments. This is because agents are more able to deal with larger functions (cyclomatic complexity less than or equal to six). Agents also use comments well. They actually read them. And they maintain them.
These differences are not large, but they are real.
Lester Kim retweeted
There is no way to get the human out of the loop. The Agents simply do not understand obvious user expectations.
Introducing Claude Opus 4.8: it builds on Opus 4.7 with sharper judgment, more honesty about its own progress, and the ability to work independently for longer than its predecessors.
Available today at the same price.
Lester Kim retweeted
There will be no AI jobpocalypse.
The story that AI will lead to massive unemployment is stoking unnecessary fear. AI — like any other technology — does affect jobs, but telling overblown stories of large-scale unemployment is irresponsible and damaging. Let’s put a stop to it.
I’ve expressed skepticism about the jobpocalypse in previous posts. I’m glad to see that the popular press is now pushing back on this narrative. The image below features some recent headlines.
Software engineering is the sector most affected by AI tools, as coding agents race ahead. Yet hiring of software engineers remains strong! So while there are examples of AI taking away jobs, the trends strongly suggest the net job creation is vastly greater than the job destruction — just like earlier waves of technology. Further, despite all the exciting progress in AI, the U.S. unemployment rate remains a healthy 4.3%.
Why is the AI jobpocalypse narrative so popular? For one thing, frontier AI labs have a strong incentive to tell stories that make AI technology sound more powerful. At their most extreme, they promote science-fiction scenarios of AI “taking over” and causing human extinction. If a technology can replace many employees, surely that technology must be very valuable!
Also, a lot of SaaS software companies charge around $100-$1000 per user/year. But if an AI company can replace an employee who makes $100,000 — or make them 50% more productive — then charging even $10,000 starts to look reasonable. By anchoring not to typical SaaS prices but to salaries of employees, AI companies can charge a lot more.
Additionally, businesses have a strong incentive to talk about layoffs as if they were caused by AI. After all, talking about how they’re using AI to be far more productive with fewer staff makes them look smart. This is a better message than admitting they overhired during the pandemic when capital was abundant due to low interest rates and a massive government financial stimulus.
To be clear, I recognize that AI is causing a lot of people’s work to change. This is hard. This is stressful. (And to some, it can be fun.) I empathize with everyone affected. At the same time, this is very different from predicting a collapse of the job market.
Societies are capable of telling themselves stories for years that have little basis in reality and lead to poor society-wide decision making. For example, fears over nuclear plant safety led to under-investment in nuclear power. Fears of the “population bomb” in the 1960s led countries to implement harsh policies to reduce their populations. And worries about dietary fat led governments to promote unhealthy high-sugar diets for decades.
Now that mainstream media is openly skeptical about the jobpocalypse, I hope these stories will start to lose their teeth (much like fears of AI-driven human extinction have).
Contrary to the predictions of an AI jobpocalypse, I predict the opposite: There will be an AI jobapalooza! AI will lead to a lot more good AI engineering jobs, and I’m also optimistic about the future of the overall job market. What AI engineers do will be different from traditional software engineering, and many of these jobs will be in businesses other than traditional large employers of developers. In non-AI roles, too, the skills needed will change because of AI. That makes this a good time to encourage more people to become proficient in AI, and make sure they’re ready for the different but plentiful jobs of the future!
[Original text in The Batch newsletter.]















