The AI Spotlight Follow
A 1994 Jeep Kept Failing Smog. A $3 Chip and Two AI Agents Found Why, and Then Ran Their Own Code Inside the Car's Computer.
AI Agents

A 1994 Jeep Kept Failing Smog. A $3 Chip and Two AI Agents Found Why, and Then Ran Their Own Code Inside the Car's Computer.

An owner couldn't read his 32-year-old Jeep's computer, so Claude Code and Codex helped him build a $3 Arduino bridge, log live data, copy the firmware, discover a California-only fuel table, and finally run custom code inside the ECU. The story, the tech and the lessons.

Advertisement

The test result was simple and maddening: fail.

A 1994 Jeep Cherokee XJ in California kept failing its smog test for high NOx at 25 mph. The fix everyone suggests is to replace the oxygen sensor. The owner did. The 15 mph reading, which had been passing, exploded from around 80 to around 900, and the 25 mph test still failed.

Every retest cost about $100. And the car's computer, which was built before the era of standard diagnostic ports, wouldn't tell anyone anything.

So he did something unusual. Over about a week, working with Claude Code and Codex, he built a $3 translator, read live data from a 32-year-old engine computer, logged entire drives, copied the car's firmware to a laptop, discovered why the car failed, discovered that the obvious fix was physically impossible, and then, in the most surprising step, ran his own program inside the car's computer.

Advertisement

It's a story about cars. It's also one of the clearest examples yet of what AI agents are good at when you hand them a closed, undocumented system and a real problem.

Why this car couldn't be read

Modern cars have the standard OBD-II diagnostic port, which became mandatory on US passenger cars from the 1996 model year, so any inexpensive scanner can read live data and trouble codes. A 1994 Jeep predates it.

According to the owner, Chrysler did make a diagnostic tool in the second half of the 1990s, but it was hard to find and provided few codes and little live data. There was nothing to plug a phone or Bluetooth dongle into.

That left him with a problem: the computer inside the Jeep was likely tracking fuel, air and sensor readings hundreds of times a second, and none of it was visible.

Why the smog test was failing

Some background helps here. In California, older gasoline vehicles are typically tested on a dynamometer using the ASM (Acceleration Simulation Mode) test. According to the state's Bureau of Automotive Repair, that includes a mode at 15 mph with 50% simulated load and a mode at 25 mph with 25% load, and oxides of nitrogen (NOx) are measured in those loaded modes.

A quick correction to the way it was described on camera: NOx means nitrogen oxides, not nitrous oxide. These compounds form when the engine burns hot and, as the owner explained, particularly when it runs lean. The air going into the engine is mostly nitrogen. When the mixture has too little fuel, extra oxygen is available, and it combines with nitrogen on the way out the tailpipe. Hence the standard advice: a lean condition means high NOx, so check the oxygen sensor.

Here, a new sensor changed nothing helpful. The owner didn't want to keep swapping parts and paying $100 a retest. He wanted real numbers.

Step 1: Get the car to talk

He asked Claude Code how to read the computer. The agent worked out that the Jeep's computer talks over an old, slow serial protocol called SCI (Serial Communication Interface), and that the signal on the wire is inverted, "kind of backwards," so it needs a translator between the car and a laptop.

The translator turned out to be an Arduino Nano, a roughly $3 microcontroller board, on a breadboard.

The wiring story is a lesson on AI help in the physical world:

  • Claude walked him through the wiring, but the instructions were too long, so he went with his own reading of the plug.
  • The first try returned nothing because the resistors were drowning out the signal. The agent told him to pull them out.
  • At 1:30 a.m., the first reading arrived.

It was basic: coolant temperature and battery voltage. But, in his words, "it was the first time that Claude actually read something on this archaic computer." His opening demonstration shows the payoff: ask the agent in plain English for coolant temperature, battery voltage and recent history, and it answers with real values: coolant at 138, battery at 12.38 volts, no fault codes, with a history chart. Engine off, dash lights off, answers from a 1994 computer.

Step 2: A fuel trim that made no sense

One of the first numbers that came back was fuel trim, which shows how much the computer is adding to or removing from a baseline amount of fuel. The reading said the computer was adding 22% extra fuel.

That should have meant the engine was running rich, in which case plenty of fuel would burn up the oxygen in the catalytic converter, and NOx would not be high. That contradiction left two explanations:

  1. Weak fuel injectors, delivering less fuel than the computer thought.
  2. An exhaust leak after the oxygen sensor but before the converter.

Step 3: Logging a drive

He put his laptop on the passenger seat and had Claude log the entire drive at 15 to 25 mph, the smog-test speeds. The agent noticed something quickly: the computer reports vehicle speed doubled, a quirk of how it encodes the number. Claude divided by two, and the speed readings made sense.

Second finding: during the drive the car claimed the air-fuel mixture was fine and nothing needed adjusting. So the 22% extra fuel didn't add up.

Step 4: The fuel pump moment

The next day he installed a fuel pressure gauge on the fuel rail's service port. It read 10 PSI, which he called terrible, a sign of a severely under-pressured rail.

Then came the turning point. Claude suggested that it could run the fuel pump on its own. He doubted that was possible, but said sure. The agent began priming the rail, and kept priming. The pump ran for about ten seconds before he got nervous and asked it to stop.

Why it mattered: until then, the agent had only read data. This was the first time it had made the computer do something, and the car responded. He called it a "key unlock" from read-only to the agent actually controlling the Cherokee.

From there they tried a series of physical tests: unplugging injectors one at a time while the agent read fuel pressure changes; a rag over the tailpipe to see whether oxygen numbers changed; a bubble test for leaks. "In the end there was just really nothing."

Step 5: The night drive and the "wrong tool" twist

That evening, they reset everything to baseline and went for another logged drive to watch how the computer learned over time, especially the confusing 22% figure.

Partway through, Claude concluded that the computer was actually removing fuel, not adding it. The popular software used to read these computers, he said, was wrong for his car: it was displaying the trim with the wrong sign. The mixture had been fine all along and wasn't the source of the NOx.

"That was kind of a heartbreak," he said. It was also the first time the agent got something wrong, though it was wrong because it relied on the commonly used tool's interpretation, not because of its own reasoning.

This is worth pausing on. An agent that trusts a flawed upstream tool inherits its mistakes, and the thing that caught the error was the agent's own cross-check against live behavior. That's the same dynamic that makes verification so important in other AI work.

Step 6: Copying the car's brain

With the live numbers ruled out, the next question was what the computer's program was doing. Claude copied the entire program the car's computer runs onto the laptop so it could be studied offline.

What the analysis found:

  • The computer was built specifically for California.
  • During the exact engine loads that the smog test uses, the California computer trims fuel down a lot compared to the federal version, which keeps a steadier fuel slope.
  • Less fuel at those loads can mean more NOx.

To see the real-world effect, he drove for an hour so the agent could observe how the California fuel table behaved. The difference came out to about a quarter of a percent of fuel, a small amount that nonetheless might tip a borderline car into failing. And what the agent read on screen came purely from the saved copy, not live data.

He found it frustrating: the fuel table was written before California even had a standardized smog test, and the Jeep's model year, at this specific load, happens to match the one the smog test uses. With a federal computer, he said, it wouldn't be an issue. (That's his and the agent's interpretation; it's a hypothesis, not a certified diagnosis.)

Step 7: The reflash that couldn't happen

The obvious fix: reflash the computer with federal fuel settings. Claude built a full kit with backups, "being super safe about it." On "rig day" the program read the computer perfectly. The one problem: the computer wouldn't enter programming mode.

The reason was physical. His unit was manufactured in December 1993, about four months before Chrysler started building programmable versions. The software still had a programming mode, but the hardware parts needed to use it were never installed. Reflashing was physically impossible. He missed the cutoff by four months.

Step 8: Codex runs code inside the computer

This is where the second agent came in. Codex, OpenAI's coding agent, found that you can send this 1994 computer a tiny program over the same three wires, and it will run it.

How it works, as he described it: the computer goes around the same loop over and over, and the injected program ran about 90 times a second, once per lap. The first version simply sent a number back to the laptop as proof of life.

There was a catch: the computer's RAM, its short-term memory. After a few seconds, the car's own code overwrote the injected program. So Codex moved the program into the EPROM, the memory that survives even when the battery is unplugged. The result: you can run your own code inside this car's computer without ever touching its programming chips.

The division of labor, in his words: Claude did most of the diagnostic work, Codex did pretty much all of the memory work, and he did the wiring and the driving. He didn't need a mechanic or a dealer tool.

Why this was a big step: before, the agent was a read-only observer, and he had to physically unplug parts to see changes. Now the agent could write code inside a 1994 car, run it, see the effect and iterate, without him present.

Smog day, and the result

The morning of the test was a mess:

  • A 20-minute drive to the first smog shop, whose dynamometer was broken.
  • A two-minute drive to the next, which required a full tank, because their evaporative-emissions machine "would explode" otherwise with a half tank. He had to fill up while idling through all of this.
  • After many attempts, the agents read the data, loaded their own code into the computer, and the Jeep finally passed.

We can't independently verify the test result or the details of the fix; the account is the owner's. But the arc is internally consistent with how ASM tests and fuel tables work.

The hardware, for fellow XJ owners

For anyone with a similar Cherokee, the owner described the build:

  • You need an Arduino Nano clone, a breadboard and jumper wires, roughly $15 in total from a large online retailer.
  • The diagnostic plug under the hood has six holes. Numbering down each column: 1 and 2 on the left, 3 and 4 in the middle, 5 and 6 on the right.
  • Only three are used: bottom-left is ground, top-middle is where the computer listens, bottom-middle is where it talks back. Positions 1 and 5 are empty.
  • Watch out for position 6. On his car the wire is the same black-and-white as the ground, but it carries 12 volts with the key on. Connecting to it can fry the board.
  • Route the wires through the firewall grommet and zip-tie the board somewhere secure.
  • He published the wiring and code publicly and recommends handing the project to an agent to walk through the setup.

Treat it as a hobbyist guide, not a certified procedure. Check your own vehicle's documentation before connecting anything.

Why this matters

  • Agents shine on closed systems with clear feedback. The car gave quick, measurable answers: pressure, fuel trim, speed, pass or fail. That loop is what made the agents effective.
  • Reading leads to acting. The pump-priming moment is the same step every agent project takes, from observing to doing, and it needs the same care.
  • Old hardware is suddenly accessible. Reverse-engineering a 1990s controller used to take specialized expertise and tools. Now an owner with a laptop and a $3 board can try.
  • Right to repair gets interesting. Owners who can read and modify their own vehicle's computer are less dependent on dealer tools, with all the benefits and legal and safety questions that raises.

Practical takeaways

  1. Give the agent a measurable goal. "Find out why NOx is high" worked because every test produced numbers.
  2. Verify upstream tools. The wrong-sign display in a popular scanner nearly cost a day of chasing the wrong cause.
  3. Back up first. The firmware copy and "super safe" backups are what made experimenting reasonable.
  4. Escalate gradually: read-only, then limited actions you can stop (like priming the pump), then code execution.
  5. Keep a hand on the stop button. He cut the pump at ten seconds. Humans should be able to interrupt anything physical.
  6. Mind the hazards. A 12-volt line next to a low-voltage pin can destroy a board, or worse.

Counterpoints and risks

  • Emissions rules matter. Modifying engine-control software can be illegal for vehicles used on public roads. California requires emissions-related parts and software to be approved, and tampering can fail inspections or carry penalties. Check the rules before changing anything, and note that the owner's goal was to meet the standard.
  • Safety. Letting software run the fuel pump or alter engine behavior can damage the engine or start fires. Don't try this unattended.
  • Single anecdote. One car, one owner, one pass. The diagnosis (the California fuel table) is plausible but not proven as the sole cause.
  • Edge-of-spec fixes. A quarter-percent fuel difference is small; other factors such as temperature, catalytic converter health and test conditions also affect NOx readings.
  • Agent mistakes still happen. The tool-sign error shows why you should keep checking results against reality.

FAQ

What is SCI?

Serial Communication Interface, an older, slow serial protocol used by some 1990s Chrysler engine computers. It needed a signal translator because of its inverted logic.

Why couldn't he just plug in an OBD-II scanner?

OBD-II became standard for 1996 model-year US cars. A 1994 Jeep has an older diagnostic connector and protocol.

What does NOx mean?

Oxides of nitrogen, a set of pollutants measured in California's loaded dynamometer smog tests for older vehicles.

Why couldn't he reflash the computer?

His unit was built in December 1993, before Chrysler began making versions with the hardware needed for reprogramming.

It depends on your jurisdiction and vehicle. In California, emissions-related changes generally must be approved; check before you modify anything.

The bottom line

The headline is a $3 chip and a Jeep. The real story is something simpler: when agents have a clear goal, a feedback loop they can measure and a patient human with a wrench, they can do the kind of detective work that once required specialist tools and years of experience.

The owner's closing question is the one worth keeping: what else can you plug your agent into? The best answer comes with a caution. Start by reading. Add actions slowly. And keep a hand on the stop button.

Sources

Z.ai's GLM-5.4 Runs the Same 28 Layers Twice, and One Tester Says It Built a Skate Game Rivals Couldn't. The Catch Is the Bill.Up next · 13 min readZ.ai's GLM-5.4 Runs the Same 28 Layers Twice, and One Tester Says It Built a Skate Game Rivals Couldn't. The Catch Is the Bill.Z.ai's new GLM-5.4 gets its depth by looping a block of layers twice instead of adding parameters. A day of hands-on tests, from a browser OS to a C++ skate game and a 3D-printed demolition derby, shows both the upside and the painful usage limits.Keep reading →