The best model scores about 16% on Slop Code Bench, a new benchmark for how well agents evolve a code base over time. Dex Horthy uses that data to argue that software factories aren't new: they are good engineering with agents doing the building. He lays out 12 practices, from forward and back pressure to planning, visual alignment, lint rules against slop and a unified forge. Then he launches the Anti-Slop Manifesto and makes the case that reviewing work still matters.
Timestamps: 0:00 - 12 factor factories and the war on slop 0:57 - Slop Code Bench: the best model scores 16% 1:42 - Software factories are just good engineering 4:01 - Forward pressure and back pressure 5:31 - 12 practices for software factories 6:16 - Know your enemy: models don't maintain code 9:20 - Plan before you build 10:50 - Align visually and let agents test 11:35 - Fight slop with lint rules 12:20 - Feature flags, evals and a unified forge 13:05 - What you can't buy 14:39 - The Anti-Slop Manifesto 18:24 - Why reviewing still matters
0:12 12-Factor Factories and the war on slop
5:35 Evolution of software factories and AI enhancement
10:00 Planning, architecture, and avoiding over-engineering
12:11 Unifying workflows and human judgment in AI-assisted development
14:05 Anti-slop manifesto and responsible AI use
17:24 Conclusion and call to action
Dex explores the evolution of \"software factories\" in the AI era, warning against \"slop\"—low-quality, unmaintainable AI-generated code. He argues that while AI agents increase productivity, they must be governed by timeless engineering principles, rigorous review processes, and human judgment to ensure long-term architectural integrity and codebase health.
Hi everybody, I'm Dex.
This is 12-Factor Factories
which started as a joke title,
but then everyone started calling it that.
So, and the war on slop.
So thank you all for coming.
I like to yap about coding agents on the internet
and like a year ago we did the whole context
engineering thing.
A lot of views on YouTube and up until about a week ago I was the CEO
and co-founder at a company called Human Layer,
the multiplayer coding agent workspace. And
for those of you who are blessed to not be quite
as terminally online as some of us may
be, we are now a part of Factory,
which I'm very excited about and I will be touching
I'm touching on during this talk, but I want to get right into it.
Last summer.
It was all about this like, you know, three months ago.
It feels like forever.
Factories were all the hype.
And I gave an intuition-based talk back in June of like,
we should probably still read the code, and here's
how RL and verifiers are working.
And like, exactly as our friends at Google were saying,
you know, models really like just solving the tests,
just getting them to pass.
I now have some data beyond just that intuition.
There's a benchmark called Slop Code Bench,
which we just released actually today a bunch
of new data on from the lab at University of Wisconsin.
But very unsaturated benchmark,
GPT 5.5 got a 15%, Astra I think scored 16.3.
So we are getting better at this, but there's a lot of ways to go.
I'll talk all about that data in a sec.
We of course have the study from Pharos
of 30% of PRs merging without review, longer
comments, more comments, more incidents per PR.
More bugs per developer.
And I titled this talk, I don't think it was quite correct.
I said, why software factories fail?
And everyone said, oh, Dex is the anti-software factory guy.
Dex hates software factories.
I actually love software factories.
I'm a huge fan.
The title was probably more along the lines of,
there are certain things you could
do in your software factory that would cause it to fail.
And here's what those things, what I think those things might be,
and, you know, please don't do them.
Maybe the dark factory thing.
Thank
But I think the main takeaway here,
and I think we've heard this from a lot of folks,
is software factories is just good engineering.
A friend of the conference, Lauren, was talking about this yesterday,
you
of, like, a lot of this is just stuff we've been doing for a long time.
for
Actually, Eno from Factory had a really, the post is much longer,
having
but it's, like, the factory mindset is about how
do we standardize our process, not just the output.
And there's a whole bunch of stuff we'll dig
into there on like how we're thinking about that.
me.
But I try to kind of make the same point, right?
It's like your standard software factory
is going to look something like you have some
engineers, some product managers,
maybe a CEO or someone to drive the vision.
And those people are going to come up with stuff
that we want to build and they're going
to put it in a tracker.
This is again, this is pre-AI,
a lot of the things we hear about software factories today.
We're around for 30 years, right?
You take stuff off the tracker, you build it,
you run some unit tests, automated tests,
maybe you poke it locally.
When you're ready, you make a pull request.
At that point, someone might pull it down,
interact with it, test it.
Your CI is gonna run a bunch of checks and static linters,
and none of this is that new.
And if anything is wrong with it, you send it back,
you go fix the problems, and...
When it's actually ready to go to prod,
we do some canaries, and rollouts, and feature flags,
and all kinds of fun stuff there.
And eventually it makes contact with our users. And I love our
users. I love customers.
But they do like to complain about things that are broken,
and ask for stuff that we haven't built yet.
And so that goes back to the team.
And at some point, something breaks at 3 in the morning,
and the customers are the first
one to figure it out. So we add monitoring
so that we can wake people up at 3 in the morning,
And they can solve it before anybody notices.
This is your pre-AI software factory and the basic point is like
All you need to do to make this agentic is replace someone builds
the thing with an agent builds the thing.
So you have orchestration.
I'm not going to go into the details of the
sandbox and the model and all this stuff.
But you can incrementally build this up
by adding what I'll call forward pressure.
What causes work to start?
Can we take all of the feature requests
and just route them straight to our factory?
Can we take all of the incidents that happen
so that when I get paged at 3 in the morning,
I'm looking at a pull request that we think is going to solve it,
not just a stack trace about what went wrong.
So, the forward pressure, what causes new work to start,
and back pressure, which is
sort of like, okay, cool, now we can build things in minutes
or hours, but the review
and testing still takes hours
or days if we're doing it in the old way, so we bring in agentic
code review, agentic testing,
anyone doing agents code reviewing their pull requests?
Okay, I thought it would be a little bit more, but that's pretty good.
Y'all are catching up.
And then we invest heavily into our CICD and our linters and our...
We're doing like lean checks on their code, like formal verification.
All right, hardcore, I like it.
Through the back pressure, how
do we let agents hill climb to a better outcome
without needing to involve humans?
How do we just overall increase the quality
of what is coming out of our build step?
And agents help here, but a lot of what
makes software factories good is stuff
we've kind of had for decades.
And just like context engineering,
which was the thing that I was talking about last summer
in June of 2024, there was all these ideas of rag
and memory, and state, and history, all this stuff.
And we tried to distill out what are the timeless things that
go into building agents.
And so I wanted to distill out now some of what I think
are the timeless things that go into building and designing
a software factory.
Because there's a lot of noise and hype,
like I said, Terminally Online, Twitter is going
to break your brain if you spend too much
time wondering what everyone else is doing.
I'm also going to talk about slop
because I have a very fun project that I've been working
on with Swix and a handful of other speakers here,
but we'll get to that later.
We're going to do 12 great practices for software factories,
and I think the first time I started
talking about this, it was only like 9,
but we are at 12 now, so I'm very excited about
this.
I touched on this, but loops was this concept that was very in vogue.
I think this is much more useful if you think about
the interplay of forward pressure and
back pressure.
So, you know, again, very hyped up,
but the actual tactical thing is like, how do you
start work automatically
and how do you make sure that whatever comes out and is touched
by a human by the end, all the low hanging stuff is already fixed.
The outcome is as good as it can be autonomously.
Number two, I will call know your enemy.
I will still posit that unattended models don't
do a great job of maintaining and improving
codebase quality over time
so we care about having a system that's going to be still maintainable
in three or six months.
I mean, again, I gave this talk
and said please read the code because a lot of it is slop.
Agents got really good at solving one-off problems
and making video games and Blender
slop and all this stuff
I don't think, you know, if you steer a model
to fix your code base, it can go fix your
code base.
But then you have to know what is there and what you want.
So if you are just hands off pushing features into the machine,
you may not find that it
autonomously will make things better over time.
Back then I didn't have a benchmark, now I have a benchmark
that basically has the model solve problems in checkpoints.
Like a model can clone all of Excel or Redis in a couple days,
maybe even a couple hours now with like agent swarms.
But that requires knowing the entire problem in advance,
and most of us don't write software that way.
Most of us ship a feature, and then ship another feature,
and then ship another feature,
and if you're building by hand without AI,
along the way you say, oh that's a bad abstraction,
we need to centralize this, or we need to remove this.
And so this is a benchmark that measures a model's ability
to evolve a code base over time.
And so Astra again is 16% very unsaturated.
There's a bunch of data here
I probably don't have time to look at all of it, but we can look
at code quality metrics like cyclomatic complexity lines per symbol
The percentage of functions that have high complexity.
There's more there's 200 custom rules
50 of them are based on things we've been doing for a while
A lot of them are custom based on looking at code
that models write comparing it to pre AI repos
I wrote a long article about that, I wrote a bunch.
Gabe Warlansky, who runs the lab that does this benchmark
just put up this paper today based on some of the research
we did with them.
There's a bunch of stuff in here.
I probably don't have time to go through all of it,
but they also test the model's ability to design
good libraries and interfaces.
The craziest one here is models did
learn to use exceptions instead of returning tuples in Python.
There was a lot of patterns that were identified
as probably not great.
That were way less present
in the you know six months ago models than they are in today's model
So it almost feels like we're like learned
that the slop is amplifying over time
And Claude and GLM are now writing Python 3 in Python 2 style.
So we have you know percent s
Format strings are back and they will
not use f strings by default anymore
So things to be aware of you may not care about this. I care about this
The jury's still out on Fable 5.2.
I love reading the Anthropic blog post about how
to prompt the new models.
So allegedly, if you tell Fable it owns the code base,
it should keep it clean.
I haven't tested this yet.
We're running the benchmark in the background right now.
But for those of us not building FPS games,
shouts out to Ben, built a cool game.
You should go watch this video.
It's insane.
You should know your enemy.
You should understand that, like,
Work with this in mind, that if you need your codebase to last
a long time, or your codebase has been around for a long time,
we should probably maintain understanding of the system and the code.
To do this, we like to plan before we build.
I highly encourage this.
You should do this.
We used to do this before in this old software factory.
People realize, especially when building things took hours
or days and when testing and reviewing
things took hours or days, even if this part is faster,
this part is probably still slow
if you're doing it properly, we would have
architecture review and we would have sprint
planning and we would talk as a team
and we would align in the hopes that we might decrease
the percent chance that we'd have to rework something later.
We wanted to be rather sure that we're building the right thing
in the right way before we actually
go and spend time building it, time and tokens,
and then get to review and have to rework it.
A lot of people overdo this as well.
I've overdone this for sure, where you spend
six hours working on a spec and you're like,
I feel like I could have just YOLO'd this.
Because sometimes you can just YOLO a two-sentence prompt,
and if it's small, you don't care.
There's maybe a 50% chance you send a couple more prompts,
and then it's good.
You could spend five hours handwriting a detailed spec,
and maybe there's a 10% of it you have to change afterwards.
Or you could write all the code by hand in 20 hours,
and then there's like a 0% chance.
Well, the 0% chance you have to rework it because of something
the agent did.
You know, people still make mistakes too.
But I think about this in terms of expected pain.
How likely will this have to change later times how hard
will it be to change?
I don't argue with the model during planning about what
color the button's going to be, but I
do want to make sure we get our database schemas right
and stuff like that, because that's
really hard to change later.
So based on your problem and what
you're doing and your code base, you
should probably decide where on the spectrum you want to land.
Align Visually, I published a skill called Show Me,
which is optimized for instead of reading walls of text,
you get HTML mock-ups, you get tables, you get charts,
you get all this stuff that is optimized for the human brain,
which is very visual.
I think Coda said we've been running away from predators
and eating fruit for millions of years.
We've only been reading text for about 5,000.
Anyways, you can get this.
It's got about 40,000 installs.
You should help agents test their work.
Screenshots, browsers, videos, curl,
whatever you can do to help the agent, again, he'll
climb against an outcome.
If you're building an iOS app, make sure it can build,
run, and test that app in whatever
environment it's running.
You should fight slop.
Anyone here writing in TypeScript?
Okay.
Some people are feeling lazy.
I feel like it should be more than that.
But this is a repo from Dylan Mulroy, who's
a principal engineer at Cloudflare, anti-slop.
If you're not using this, you should go check it out.
It's 100-ish rules on stopping agents from building slop.
Factory also has an ESLint plug-in
that I should probably mention.
And also, again, you can go slop fork all of the Python code
quality rules out of slop code bench.
This exists for your language.
You should use it.
Slop is a tool.
Not all slop is bad.
Vibe coding, prototypes, side projects,
if you have something behind a feature flag,
you just need to figure out
if people even want it before you go put in the time.
I think it's great.
I don't think there's always, always, always,
always every line of code has to be perfect.
You should give models a feature flagging system,
PostHog or Statsig or LaunchDarkly
or whatever it is, so they can try stuff
and see if it performs better and then make decisions
about what the right thing to be in your tool.
You should compound over time, eval everything,
learn from past sessions, and you should unify your Forge.
What I mean by this is, you know,
we used to send Git patches around on mailing lists.
I think Linus and the Linux people still do this,
but most people keep all their code in GitHub.
And so before the ANA to Forge, we have centralized patches
but we still have people pasting like Claude answers back
and forth in Slack and hopefully like not.
Doing too many rounds of that because it's like,
I copy out of mine and send it to my
coworker, he pastes it into his agent,
and then they send it back to me, and then I paste
it into my agent, and maybe we get an answer.
So centralizing all of your designs and decisions
and whatever you have in Notion and Google
Docs and whatever it is, you should try to bring
those things as close as possible together
so you can understand not just the code about what something
was built, but all the decisions
that went into it.
You can't buy everything.
I think there's things in this space
that just cannot be productized.
Obviously you can buy VMs or you can bring your own.
Dev environment I think is very personal to most teams.
The harness of course you can go get a frontier harness or you
can use something minimal like VS Code or PyCharm and customize the
Heck out of it, and then you have this control plane picture
of like how do you collaborate on sessions and plans?
How do you do automations and scheduling?
How do you respond to events all this governance stuff?
Part of the reason I'm really excited to be working with factory
on all this stuff is like they have a much bigger view of
This picture and have a lot more stuff solved here,
but there are parts especially at the top here is like
I don't think anyone can sell you verification
of your code because only you know.
If you have hundreds of engineers and hundreds of repos,
you have those opinions and you know how to test your code.
Not just a black box you can buy.
There are building blocks that are undifferentiated.
But the idea of software factory, I think,
is it's a way of thinking about our work.
So that's software factories.
I also want to talk about slop.
Plop.
It's.
Factories are about how do we increase human leverage, right?
How do we get the best return on our time?
And I've talked a little bit about why humans should be involved
and like what it means to be a diligent steward of what we're
Building and what we're doing,
but it's I think it's bigger than just software.
So I'm very excited to announce the anti slop manifesto
Which you can go if you go
to slop manifesto com you can read it I'll put their URL up later
But we built this in collaboration with a lot of people here,
both attendees and speakers.
Special shout out to Swix and Philip.
It has signers from Zoom Info and I think XAI and OpenAI.
And there's a lot of cool people on there.
I encourage you to go read it
and check it out and be a part of, you know.
But I'll tell you what's in it.
We value outcomes over outputs.
We value understanding over speed.
We value our own thinking over whatever
the model came up with as a first draft.
We value better work over easier work.
We value improving the system over just patching outputs.
And the things we believe are that AI
is the most useful tool most of us have ever worked with,
but it can create a swarm of agents
can produce more work in a single day
than a human can review in their entire career.
Look at some of the math stuff coming out of OpenAI.
Slop is when we put less effort
into producing something than we ask their consumer on the
other end to spend understanding it.
And using AI doesn't necessarily make something slop,
but it happens when we pass off AI output
without taking responsibility for its quality
or for the reader's experience.
I believe strongly, I've been saying this for a year now,
AI cannot replace human judgment.
It can only amplify our judgment
or maybe perhaps our lack of judgment in certain cases.
And the slop is asymmetric.
The cost of producing a thousand line PR
or a ten page doc is approaching zero,
but the cost of reviewing it is still fairly constant. And slop
proliferates when we repeatedly work around
problems instead of solving them correctly.
It comes from tools that love to add
and are not biased towards subtracting. I'm not gonna name names.
And then.
But I think a lot of slop comes from pressure.
Companies are pushing their people
to redefine what is humanly possible.
And I think slop compounds
so the more slop sits in our knowledge base in chat in code
The more of it the next agent reads and copies
And the more slop flying around our team the more we lose
the will to fight it and everything gets worse over time
Communication and quality and all of this so as the sign we
the undersigned of the anti slop manifesto
Guys, is it a little hot in here?
I might just have to pop off the jack. There we go
They couldn't give me one of these with a factory logo on it yet,
but I'm sure it's coming soon.
Thus, we, the anti-slop undersigners,
resolve that human time and attention is incredibly valuable.
So we optimize for using it wisely.
We fight slop because AI should make our work better, not just easier.
We optimize our systems and tools and products for the efficient
elicitation of human intent and for efficient human understanding.
And we do our own thinking when working with a model.
We explore resources, code, prior art.
We really want to understand
the problem before we actually get to work.
And we own the intent and the taste and the consequences
of what we ship. However much AI helps us to make it,
we own it. And when an agent wrote something
that we're sending somebody,
we make that clear and we actually make sure it's good
before we drop it in Slack or email or whatever it is.
And when someone sends us slop,
this is also, like, we have to push back.
We have to tell people, you know, kindly,
empathetically, and ask them to, like, review it first.
And most of us, it's a journey.
I've been on both sides of this one, so I've had to have that note.
I believe there will always be alpha in reviewing something.
As models get better, we may stop reading most of the code.
We may still review a plan or a design or a result.
But if you don't review anything...
If you bring nothing to the table, no thinking,
then you're just going to get the same AI output as everybody else.
Agent reviewers, linters, verifiers,
they're very useful, but they are not, excuse me,
they are not sufficient.
So for now, we'll still review some subset of the outputs.
What subset, of course, depends on the stakes.
But what shift, who's using it,
and how it's helping them matters far more than lines of
code or PRs merged or, God forbid,
the number of agents we're running in parallel.
It's cool if it gets you to the outcome.
But unreviewed output isn't always necessarily bad.
You know, slop is a cool one-shot prompts, vibe coding.
These are all like high leverage things
that are in the right place.
Slop is bad when it undermines our outcome.
We wanna make a good product, a maintainable system.
We wanna save people time and energy.
If slop undermines that, then it's bad.
And I guess finally, like none of us has this figured out.
We're each relearning what we will and won't accept.
And there's no single right answer here.
You gotta calibrate yourself.
The world moves fast.
My goal here is these are principles
that we can use to embrace our important human role
in harnessing AI safely, responsibly,
in a way that creates value for everyone
for many years to come.
So you can read and sign the manifesto at slopmanifesto.com.
TLDR, you know, give a ----.
Care about what you're doing.
I'm going to stick around for Tariq's talk, but then...
What is that slide?
All right, I'll be hanging in the hallway afterwards.
All
Come say hi.
Keep learning.
Keep giving a ----.
I'm excited to keep building with y'all.
Thank you so much.
right.