Skip to main content

Published August 19, 2026

Jidoka for AI Development

An AI workflow dashboard with a decision path.

The more capable AI agents become, the more important it is to build systems that understand when an agent should keep working and when it should stop.

I want agents that can actually work. They should be able to write code, use tools, test what they built, fix problems, and make progress without needing someone to approve every little decision. Giving AI that kind of freedom also means giving the system a way to recognize when continuing would make things worse.

That is where Jidoka started making a lot of sense to me.

Jidoka means "autonomation" or automation with a human touch. It is a core pillar of the Toyota Production System and lean manufacturing.

The basic idea is that automation should be able to recognize when something has gone wrong, stop the process, make the problem visible, and prevent that problem from moving farther down the line.

When you start looking at AI development through that lens, a lot of the problems we're dealing with today start to look pretty familiar.

An AI agent can make a bad assumption early in a task and then continue working from it. It can misunderstand a requirement, change something outside the intended scope, fail a test, work around the failure, and keep moving. A capable model can still produce something at the end that looks completely reasonable.

The problem is that the agent can keep making progress long after it should have stopped.

That's the part of Jidoka that I'm interested in applying to AI development, and it's become an important part of how I think about Kujo.

Agents should be able to work without constant supervision

A lot of the conversation around agent safety eventually ends up at "human in the loop."

There are obviously situations where human review matters, but having someone approve every tool call, every file change, and every decision doesn't scale very far.

The better model, to me, is one where the human defines the boundaries and the machine can operate freely inside them.

If an agent has enough information to make a decision, let it make the decision.

If it can test its own work, let it test it.

If something fails and the agent knows how to correct it without changing the meaning of the task, let it correct it.

The system also needs to recognize when it has reached a different kind of situation.

Maybe the evidence doesn't support the conclusion the agent is trying to make. Maybe the task requires a decision that was never given to it. Maybe solving the immediate problem would require changing something outside the scope of the work. Maybe the same failure keeps happening and another retry isn't teaching us anything.

Continuing past those points is drift.

Jidoka gives me a useful way to think about where that line should be.

AI creates more kinds of abnormal conditions

Stopping on a failed test is the easy part.

Traditional software already knows how to fail a build.

AI development introduces a much wider range of situations because agents make decisions throughout the work.

They interpret requirements. They choose tools. They decide what files matter. They decide whether a result looks correct. They decide whether to retry, change direction, or keep going.

That means an abnormal condition can be much more subtle than a compiler error.

It can be uncertainty, missing context, an unsupported assumption, scope growing during the task, or an agent finding a clever way around a restriction that was there for a reason.

It can even be an agent technically completing the task without having enough evidence to show that the result is actually correct.

Those are the kinds of problems that make the environment around the model so important.

Better models help, but better models still need systems around them that can evaluate what is happening while the work is being done.

That's a big part of what I'm building with Kujo

This is where Jidoka connects directly to the way I've been building Kujo.

Kujo is designed around the idea that AI development should happen inside an environment that can observe the work, evaluate the result, protect important boundaries, and keep evidence of what actually happened.

That is why so much of the Kujo ecosystem keeps coming back to evaluation, control, execution history, and verification.

RunLedger keeps a record of what actually happened during a run.

Eval gives the system a way to check whether the result meets the standard we're expecting.

Fence protects architectural boundaries.

Watchdog keeps an eye on what is happening while the work is being done.

The other tools approach different parts of the same larger problem.

AI should be able to work independently while the environment remains aware of what it's doing.

I want the system to surface problems while the work is happening, especially when an early mistake could affect every decision that comes after it.

That is much more useful than discovering hours later that an agent took a wrong turn near the beginning and built twenty more decisions on top of it.

Autonomy needs judgment

I think we use the word autonomous a little too loosely with AI.

Run length tells us very little about how autonomous a system actually is. An agent running for three hours may simply be an agent that kept running for three hours.

The more useful measure is whether the system can make good decisions about its own work.

A useful agent should recognize when it has enough information to continue.

It should recognize when the result has enough evidence behind it.

It should recognize when a decision falls within the authority it has been given.

And it should recognize when it has reached a point where continuing on its own would create unnecessary risk.

That last part becomes even more important as models improve.

A weak agent making a mistake is usually pretty obvious.

A strong agent can make a bad assumption and then build very convincing work on top of it. It can write good code around the wrong idea. It can explain why the decision makes sense. It can pass some tests while missing the thing that actually matters. Then another agent can pick up that work and continue from the same assumption.

The better the models get, the more important it becomes to have an environment capable of challenging what they're doing while they're doing it.

The goal is controlled autonomy

The goal with Jidoka in Kujo is to make it possible for agents to move faster because the controls around their work are stronger.

If the system is checking important boundaries, recording what happened, evaluating the result, and surfacing situations where the agent no longer has enough information or authority to continue, I can give that system a lot more freedom.

That is the kind of autonomy I'm interested in.

The machine should be able to do real work, make real decisions, solve problems on its own, and move through a development task without someone hovering over it.

At the same time, the environment should be able to recognize when something has changed enough that the current loop needs to stop.

That's the part of Jidoka I'm bringing into Kujo.

As AI development becomes more autonomous, one of the most important capabilities we can build is the ability for the system to recognize:

I should stop here before this becomes a bigger problem 😎

Originally published on X

Related Reading