r/LocalLLaMA • • 2d ago

Showcase 2 local models, no Web access, discover and program a vintage Motorola 68000 device

Post image

Thought this group may like this experiment. Two agents, using only local models, were asked to co-operate in discovering what’s attached to a Raspberry Pi’s serial port (via serial hat). They had no Internet access, and no access to documentation of that device. They successfully accessed, established communication protocol, and analyzed the capabilities of the device, including coding a program for that device in assembly and executing it.

Models: “solver” is Qwen3.8-flash-next on DGX Spark, “verifier” or “critic” is gpt-oss-120b. There’s a third model, “observer” (Qwen3.8 Instruct running on RTX4090) which does not participate in solving or verifying, but provides commentary for humans while the discovery is happening.

The device in question is Motorola 68K Educational Computer Board which the models apparently don’t have any info of in their trained weights. Actually in some runs they suspected it was a different educational board, the legendary Kim-1, and only later did they correct the course. The device is connected to 2 serial ports of a Raspberry Pi to which agents have full access, but the RPi is isolated from the Internet too, just like the entire testing harness. 

The task was to discover what device is connected to the serial port, establish communication, discover its capabilities and, if programmable, write and execute a program on that device. 

It was fun to observe the runs :) In one run the agent wrote a program to do the checksum of the device’s ROM (and verified the result outside of the device); in another it wrote a program to calculate the Fibonacci’s series. In most runs they discovered the device’s ROM and dumped it, and reverse engineered parts of it. Each run took several hours to complete.

More info, including details of a few individual runs (more are happening now...) in this repo if anyone’s interested: https://github.com/podstawek/explorer-of-serial

300 Upvotes

44 comments sorted by

71

u/enternoescape 2d ago

I like the idea of a model outside the loop observing what's going on play by play on a complex task allowing the real worker to focus vs appeasing your curiosity.

11

u/breksyt 2d ago

Attaching a new one, the agents keep churning :)

29

u/Illustrious_Car344 2d ago

Me too, I gotta remember that one. I think LLMs explaining what other LLMs are doing are going to become much more common.

15

u/sshwifty 2d ago

Oh God, it really is LLMs all the way down. (This is amazing, we are doomed)

2

u/mycall 2d ago

Beware of premature generalization.

4

u/scubawankenobi 1d ago

Yeah, I hate it when I generalize prematurely.

3

u/bradrlaw 2d ago

5

u/emertonom 2d ago

It doesn't sound to me like that's quite the same thing. At least the way they described it, I would think that would be more the "verifier/critic" role--the solver can talk to it, propose ideas, and get feedback. That's what's described in your link about the rubber duck agent. The "observer" they described, as I understand it, doesn't provide any input at all to the other agents; it's only there to watch what they do and describe it in simplified terms to the humans who want to follow what's happening.

0

u/[deleted] 2d ago

[deleted] — view deleted comment

4

u/Waarheid 2d ago

Man, this is so cool. I love being able to have bespoke UIs for weird experiments on the fly. What a time.

6

u/breksyt 2d ago

I used to spend 2 hours on getting my jQuery syntax right for a freaking button, not to mention next 5 hours to get that Ajax call right. Now I just say what I need and drink my piña colada

3

u/enternoescape 2d ago

When I had my 2nd child, I stopped coding. I just couldn't focus long enough anymore. LLM's have brought this back for me. I know all those feelings you're describing. I've largely worked full stack on C++, C# and Java. The first time I had an LLM tackle an API problem that I was struggling with, it figured it out on the first try. I asked; it said it just guessed.

2

u/SourBlueDream 2d ago

Same here just without the kid I’m in the middle of a massive project idk if ima open source and having a lot of fun again after stopping programming at home for years

9

u/r00x 2d ago

Heavily into this sort of thing myself! I've got all sorts of old shit to resurrect and you best believe I've been up to mischief...

18

u/breksyt 2d ago

I can tell you one thing, I explored this same Motorola board looong before LLMs were a thing, and I spent literally entire day with my nose in manuals on getting the serial port even working for me. Just to get it to respond, not to mention understanding the architecture. Now "blind" machines who know nothing of that other machine do it machinistically. So yeah, we've crossed a barrier.

1

u/r00x 1d ago

I know exactly what you mean. My perspective on what is and is not a casual project has shifted completely, and things I wouldn't even consider are now utterly plausible. Having so much fun at the moment!!

24

u/NoFutureBen 2d ago

gpt oss bro what, that's from decades ago.

11

u/breksyt 2d ago

This model is the "critic" (or "verifier"), meaning the more "conservative", boring one :). I happened to have GPT OSS on my mind all the time when I thought of the critic in this scenario. But you're right it is old.

16

u/Waarheid 2d ago

I assume they just already had it set up locally. Laguna S2.1 would have been a better similarly-sized, different-lab model if that's what they were going for.

1

u/BlackBeardAI vLLM 1d ago

A model from the early 90’s

9

u/IntrepidMindExplorer 2d ago

Dust off an old usb to rs-232 adapter and tell a model to go have fun and you'll see some fun things happen.

13

u/breksyt 2d ago

That's... effectively what I did, no?

11

u/IntrepidMindExplorer 2d ago

It's how I'm resurrecting, or trying to, a companies old lidar pet project before they went out of business.

6

u/breksyt 2d ago

Cool stuff. Also via serial?

7

u/IntrepidMindExplorer 2d ago edited 2d ago

Yes, serial.

Hook up a 56k modem and give your agents the go ahead to have fun. :) They'll rip into and through.

0

u/IntrepidMindExplorer 2d ago

Yeah..why I upvoted and replied.

3

u/onemoreburrito 2d ago

Can you share a summary on process/also the LLM used? Was it random guess and check or did they formulate a strategy to narrow down possibilities?

Maybe a specific example- determining how to program it or even more basic get the serial port settings (baud rate, check sum error bits..)

3

u/breksyt 2d ago

Hey, thanks for the interest. Take a look into the repo -- there's a lot there, including complete documented runs (how the models discovered stuff step by step).

2

u/bobaburger 2d ago

I'm more concerned for the safety of your spark on that table, shouldn't it be where that jetson-alike device being placed?

4

u/breksyt 2d ago

Spark really wanted to pose for this selfie, hence the awkward positioning. Normally it sits under my desk.

2

u/stanleyruppert 2d ago

Awesome experiment, thanks for sharing and all your documentation and comments on GitHub. I’ll definitely spin up your framework to explore a number of similar vintage systems I have both documented and undocumented.

1

u/breksyt 2d ago

Once you've done that, I'd love to hear your results. I'll be experimenting with a few more devices on my side too.

2

u/erikwithaknotac 2d ago

Is a serial port a better connection than usb? Im trying to do this with an old media player..

2

u/breksyt 2d ago

No, it isn't. It's just a connection, doesn't matter if it's USB or old serial RS-232. And really USB _is_ serial, just in a newer package :)

1

u/erikwithaknotac 1d ago

So mine is stuck on not having the documentation on a specific actions chip. It found similar ones but not a match.  Do i just ask it to brute force test the chipset?

1

u/breksyt 1d ago

Yep, ask it to experiment, and to find out its capabilities. Take a look at the prompt (file task.md in my repo). You basically want to direct your agent to be an explorer on an adventure. If it needs to brute force its way in, it may come up with that idea too.

1

u/splitbar 2d ago

are you not supposed to put that Warp 1260 sticker on the A1200 case?

1

u/breksyt 2d ago

White sticker on A1200, black on monitor

3

u/-Krotik- 2d ago

hook that observer qwen 3.8 to a fast tts and you got yourself a commentator

2

u/CATLLM 2d ago

This is awesome

2

u/Sea_Guarantee6806 2d ago

That would an interesting video to watch 😊

2

u/slowtractor 2d ago

The hardware gives the agents crisp feedback: an address either responds or bus-errors, so they can learn the memory map by testing it.

1

u/mycall 2d ago

N numbers important, one number to rule them all.

You should also have opus 5.5 or gpt-6.2 astra as an oracle, to give guidance when all else is lost.