News for hackers. Stuff that matters.
Re:I trained a 360M model to pretend to be a terminal by obilgic on Thursday October 22, 2026 @01:20AM (#50191486)
There was a whole fake gui OS with similar concept right
Re:I trained a 360M model to pretend to be a terminal by andai on Thursday October 22, 2026 @02:08AM (#50191754)
VibeOS - Fully Hallucinated Operating System

https://www.youtube.com/watch?v=z3pV6FHvcgM

Re:I trained a 360M model to pretend to be a terminal by tsukurimashou on Thursday October 22, 2026 @05:56AM (#50193316)
> This video isn't available anymore
Re:I trained a 360M model to pretend to be a terminal by AlecSchueler on Thursday October 22, 2026 @05:58AM (#50193331)
Was the video also hallucinated? Doesn't seem to exist.

Edit: Maybe this was it—https://youtube.com/watch?v=7NfyZhV1dKM

Re:I trained a 360M model to pretend to be a terminal by prodigycorp on Thursday October 22, 2026 @01:42AM (#50191599)
athropic had an experiment that did exactly this. we need more experimentation in this space.
Re:I trained a 360M model to pretend to be a terminal by htoz1 on Thursday October 22, 2026 @01:24AM (#50191515)
Where is the point of this project if i have terminal ?
Re:I trained a 360M model to pretend to be a terminal by YmFzZTY0ZGFkZHk on Thursday October 22, 2026 @01:44AM (#50191607)
Sometimes it's just fun to do something absurd because you can. This is one of the reasons software is exciting.
Re:I trained a 360M model to pretend to be a terminal by wartywhoa23 on Thursday October 22, 2026 @03:31AM (#50192345)
The point is riding the bandwagon that drags a trailer with a couple of power plants, a small lake of water and a gold reserve in it.

Not unlike that American tractor pulling, but for geeks.

Clouds of smoke, weeeeee!

Re:I trained a 360M model to pretend to be a terminal by mehmetoguzderin on Thursday October 22, 2026 @01:40AM (#50191588)
Terminal world models have many applications, but empirical observation of successful pretraining or fine-tuning can be significant for encapsulating from rather expensive Bash traces, such as ones obtained from systems with scarce accelerators, etc.
Re:I trained a 360M model to pretend to be a terminal by good-idea on Thursday October 22, 2026 @01:46AM (#50191622)
because curiosity is the most fun of virtues!
Re:I trained a 360M model to pretend to be a terminal by aghuang on Thursday October 22, 2026 @02:21AM (#50191855)
Was thinking the same thing. I just run my usual terminal and get to work.
Re:I trained a 360M model to pretend to be a terminal by antonvs on Thursday October 22, 2026 @02:56AM (#50192078)
This will allow you to delete your terminal app and, eventually, all other binaries in your system!
Re:I trained a 360M model to pretend to be a terminal by dotancohen on Thursday October 22, 2026 @01:27AM (#50191532)
Because it was there
Re:I trained a 360M model to pretend to be a terminal by 0xdeadbeefbabe on Thursday October 22, 2026 @12:57PM (#50198047)
The code for xterm is discouraging https://github.com/netlinux-ai/xterm
Re:I trained a 360M model to pretend to be a terminal by oilkillsbirds on Thursday October 22, 2026 @01:26AM (#50191530)
Very cool. Fun project. I feel like there’s a wide field to be explored once you understand fine tuning good existing models
Re:I trained a 360M model to pretend to be a terminal by psandor on Thursday October 22, 2026 @01:33AM (#50191555)
Reminds me of this project from Microsoft. A Quake II “simulation” model where the whole application was just a model.

https://www.microsoft.com/en-us/research/articles/whamm-real...

Re:I trained a 360M model to pretend to be a terminal by soulofmischief on Thursday October 22, 2026 @01:59AM (#50191688)
These are called world models, which is why the project is called WorldTUI. For another example, take a look at Google's recent Genie models. https://deepmind.google/blog/genie-2-a-large-scale-foundatio...
Re:I trained a 360M model to pretend to be a terminal by __mp on Thursday October 22, 2026 @01:37AM (#50191576)
It would be interesting to expose this on the internet. I wonder what the scrapers etc… would do with it.
Re:I trained a 360M model to pretend to be a terminal by prodigycorp on Thursday October 22, 2026 @01:41AM (#50191594)
Wow! This this reminds me of when we tried doing this with gpt 3 and.. it worked!

The tmux thing had me confused for a moment until i realized it was emulating tmux. Super fun. Is the model window width aware?

Re:I trained a 360M model to pretend to be a terminal by serje1480 on Thursday October 22, 2026 @02:38AM (#50191981)
Re:I trained a 360M model to pretend to be a terminal by billypilgrim on Thursday October 22, 2026 @05:50AM (#50193273)
Thank you for linking that. I distinctly remember this moment as an important point in time, played around with emulating a terminal for hours, couldn’t believe how realistic it was, it even remembered when I changed a file earlier etc. Another point was when people on twitter with early access were like “oh my god it can write code too! I asked it to design a website and it just works!”, programming wasn’t even what LLMs were about, and now it’s one of the main use cases. Another revelation was when it could kinda play chess. A single model that can one shot a huge array of different problems, still mind blown how well all of this works to this day.
Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @06:54AM (#50193666)
The first part of the context is the window width:

``` BOS SCREEN_START 32 96 ```

I trained it on three different resolutions, but it should kind of work with in between ones too.

Re:I trained a 360M model to pretend to be a terminal by prodigycorp on Thursday October 22, 2026 @11:36PM (#50204212)
Very thoughtful, nice work again!
Re:I trained a 360M model to pretend to be a terminal by yjftsjthsd-h on Thursday October 22, 2026 @01:54AM (#50191670)
Wait, how did it `sleep 3`? I thought LLMs didn't have a concept of time
Re:I trained a 360M model to pretend to be a terminal by peder on Thursday October 22, 2026 @02:05AM (#50191733)
It’s still rendering frames constantly, no? So it just figures the next X frames are all doing nothing?
Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @02:39AM (#50191986)
Normal only keypresses invoke the next ”frame”. There is a sleep token that the runner could use to indicate that time is moving.
Re:I trained a 360M model to pretend to be a terminal by sprobertson on Thursday October 22, 2026 @02:05AM (#50191737)
from the post:

Time is an input too. If nothing is pressed, the model gets a WAIT token with a duration instead of a key, which is how snake keeps moving on its own.

Re:I trained a 360M model to pretend to be a terminal by yjftsjthsd-h on Thursday October 22, 2026 @02:12AM (#50191778)
That seems as likely as anything, but that just moves the problem to counting, doesn't it? The model gets the duration, but I was under the impression LLMs struggled with the arithmetic that would make that useful.
Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @02:20AM (#50191842)
Idk about Qwen 2.5 Coder that this is based on, but modern models don't struggle with arithmetic. I see Qwen 3.8 do long-hand math in thinking traces (ie. it outputs 17+35+12=64 in the thinking trace) so I would imagine this is something they train into the model specifically. Sometimes it creates and runs a simple python script to check its work.
Re:I trained a 360M model to pretend to be a terminal by zahlman on Thursday October 22, 2026 @04:44AM (#50192850)
It's still strange to me that an ability to perform arithmetic (and not just memorize a giant table of results) could emerge from training on language.
Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @04:52AM (#50192911)
In principle a large enough neural network can provably approximate any continuous function. Since arithmetic can be represented with a concrete grammar, it's not surprising to me that an LLM could contain an abstract representation if trained correctly.
Re:I trained a 360M model to pretend to be a terminal by pixl97 on Thursday October 22, 2026 @10:04AM (#50195487)
These things are still strange to everyone. The fact matrixes of numbers can seemingly conceptualize almost anything is just freaking weird.

Of course there may be an electronic civilization out there that would say the same things about our mushy brains... "They are made out of meat!"

Re:I trained a 360M model to pretend to be a terminal by paid_dot_expert on Friday October 23, 2026 @06:52AM (#50206999)
Try pause for 3 seconds in your favourite harness
Re:I trained a 360M model to pretend to be a terminal by thorum on Thursday October 22, 2026 @02:01AM (#50191704)
I regretfully suspect this actually is the future of UI. You just need smart local models running fast enough to keep the framerate high, but that’s inevitable in the long term, isn’t it?
Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @02:15AM (#50191801)
We had decades to work on making software more performant, but instead most users' space-age 2nm chips spend most of their time running Javascript because it was faster to make software that way.
Re:I trained a 360M model to pretend to be a terminal by winrid on Thursday October 22, 2026 @02:45AM (#50192023)
even my ten year old laptop browses the web fine ^_^

If I had to complain about any site/app it'd be datadog... each tab uses like 1gb in firefox.

Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @04:21AM (#50192685)
I think it's hard to understand how much better your experience could be if all your software was 10x faster and using 0.1x the resources, since you can't test both experiences side by side

It's like riding a bike with a tiny bit of resistance in the bearings. You will get used to it, and will probably feel like your bike is fine. But if you replace the hub and remove that friction, you will wonder how you ever tolerated riding a bike that way.

Re:I trained a 360M model to pretend to be a terminal by pixl97 on Thursday October 22, 2026 @10:05AM (#50195503)
Question, why couldn't you write that software now with an LLM as a test example?
Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @12:02PM (#50197242)
No reason you couldn't in principle
Re:I trained a 360M model to pretend to be a terminal by pixl97 on Thursday October 22, 2026 @01:01PM (#50198103)
I just wonder if it points at something more fundamental. We could have always written the code to use less memory, for example embedded code, but unless constrained we don't.
Re:I trained a 360M model to pretend to be a terminal by winrid on Monday October 26, 2026 @02:33PM (#50248688)
I'm aware. I've vibe coded some of the electron based tools I used into C++ apps, GB of memory to 50mb...
Re:I trained a 360M model to pretend to be a terminal by latentsea on Thursday October 22, 2026 @03:30AM (#50192338)
What if we're really just living in a world model? How big of a GPU is required to run the universe I wonder?
Re:I trained a 360M model to pretend to be a terminal by gr_norm on Thursday October 22, 2026 @02:14AM (#50191787)
Why would you do that instead of having the model do the task you're using the UI for? It could generate UI widgets on-the-fly as needed to take richer inputs.
Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @02:36AM (#50191968)
It might be fine for one-off applications, but it's incredibly inefficient for something that has to be done over and over.

Why would you use a GPU and gigabytes of VRAM running a non-deterministic process for something a program can do on the CPU in milliseconds with kilobytes of memory?

Re:I trained a 360M model to pretend to be a terminal by hnlmorg on Thursday October 22, 2026 @02:50AM (#50192052)
Probably for the same reasons most of our desktop applications have become slow Chromium instances consuming multiple GBs of RAM, each:

It’s cheaper to hire developers, and quicker to ship software. The user experience be damned.

Re:I trained a 360M model to pretend to be a terminal by skohan on Thursday October 22, 2026 @03:00AM (#50192102)
The logic here is a bit different. Consumer software is slow because it's the user paying for the compute to run those bloated Electron apps. Unless we're all running local inference in the future, it would be the vendor paying for the compute to run the AI-based UI.

Of course they would pass that along to the consumer, but nobody is going to pay token-based pricing for something that used to be free and ad-supported, or a cheap monthly subscription.

Re:I trained a 360M model to pretend to be a terminal by hnlmorg on Thursday October 22, 2026 @04:30AM (#50192749)
This demo is already using a local model. Which is why I made the Electron comparison.
Re:I trained a 360M model to pretend to be a terminal by anthk on Friday October 23, 2026 @11:44AM (#50210901)
Compare VSCodium vs the Rust+Tauri reimplementation.

The second one it's much, much faster.

Re:I trained a 360M model to pretend to be a terminal by hnlmorg on Friday October 23, 2026 @01:20PM (#50212397)
Yes, Tauri is awesome. But now you’re reliant on hiring Rust developers instead of cheaper JS developers. Which comes back to my point about cost savings.
Re:I trained a 360M model to pretend to be a terminal by Shorel on Saturday October 24, 2026 @12:08PM (#50222632)
I think that's the 2025 mental model.

Nowadays you hire a developer that can use Claude or Cursor out whatever and they will use any language. There are no expensive Rust developers anymore. Or even JavaScript ones.

Re:I trained a 360M model to pretend to be a terminal by antonvs on Thursday October 22, 2026 @02:50AM (#50192048)
I don't really disagree, but... why do we use Javascript for so many UIs? Badly designed web pages with ads can easily use gigabytes of RAM.

Edit: oh, I saw you wrote a related comment after I posted this. So you already know that direct LLMs for UIs are all but inevitable...

Re:I trained a 360M model to pretend to be a terminal by eluru on Sunday October 25, 2026 @08:55PM (#50237643)
i did this for my company and now im considering we need an ui, the reason is 80% of the tasks everyone uses this thing for are the ame tasks, but with different prompts, often bad prompts, so a button that would say do X instead of the "hello ai how are you today i was thinking y but maybe z actually do x" may be better. havent tested it yet though
Re:I trained a 360M model to pretend to be a terminal by rvz on Thursday October 22, 2026 @04:20AM (#50192679)
This makes absolutely no sense what so ever.

There's a good reason why the UI for Excel, Photoshop and Word has hardly changed and remains consistent for years and that has worked for billions of people.

Many HN readers have forgotten the Windows 8 UI disaster already.

Re:I trained a 360M model to pretend to be a terminal by efreak on Friday October 23, 2026 @01:09AM (#50204735)
The office UI has changed dramatically over the years. We have floating toolbars, live preview, ribbons, collapsing menus, an undo button in the title bar, a tabbed interface. We've moved from SDI to MDI and back to SDI. If you had a customized toolbar layout in office, upgrading to 2007 meant you had to learn to use office the way Microsoft wanted it. The default font changed multiple times. Chart wizard, clip organizer (and later clip art as a whole) were removed. Print preview changed to a tab. Contextual help (the `?` button) was removed when Microsoft got rid of winhlp, followed by the office assistant, followed by offline help as a whole.

Want to extend the idea to office as a whole? Lync was replaced with Skype, OneNote came and went and then came back again. Groove, infopath, publisher, frontpage, SharePoint, various versions of Outlook, the office shortcut bar, photo editor, picture manager - they've all disappeared (some have come back again or been replaced with something else).

I used office XP and 2000 (blocked at the firewall; I mostly saved files as rtf for personal use) for years (admittedly this is mainly because they loaded in 0.5s on my crappy laptop and PC) until I was forced into upgrading to office 2007 by the need to pass around files for class with someone who complained incessantly about their stylesheets being lost every time I converted the file.

I'm still salty I can't waste my time editing 16x16 (32x32?) 256-color dicks into the toolbar icons i when I'm supposed to be writing essays or setting up autocorrect to quietly put typos into a shared computer (the computer isn't shared anymore, and it's no fun doing it to myself)

Re:I trained a 360M model to pretend to be a terminal by nullbio on Friday October 23, 2026 @07:00PM (#50216549)
That reason is because people don't like change and they don't want to piss off their userbase and risk losing all their customers.

Gimp hasn't changed it's UI either, and no one uses it, because it sucks.

Re:I trained a 360M model to pretend to be a terminal by mrweasel on Thursday October 22, 2026 @05:21AM (#50193110)
Even assuming that the hardware and models catch up, wouldn't there be an issue with the model not being completely deterministic? You don't really want any sort of randomness in your terminal commands.
Re:I trained a 360M model to pretend to be a terminal by claykkari on Thursday October 22, 2026 @06:33AM (#50193530)
> You don't really want any sort of randomness in your terminal commands.

Maybe I do, if by "randomness" you also mean the ability to handle unexpected usecases. Imagine running something like:

$ ps "which processes are slowing my PC down??"

Re:I trained a 360M model to pretend to be a terminal by 0xdeadbeefbabe on Thursday October 22, 2026 @12:50PM (#50197928)
It's like you want tool calling until you actually want some hallucination/creativity.
[dead]
Re:I trained a 360M model to pretend to be a terminal by sandworm101 on Thursday October 22, 2026 @02:04PM (#50198956)
If it only sees the screen, does it recognize "********" as a password?
Re:I trained a 360M model to pretend to be a terminal by moralestapia on Thursday October 22, 2026 @02:20PM (#50199126)
Excellent question.
Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @04:59PM (#50200946)
very good question, but during training it gets the actually characters as input, and then * as what gets rendered, so I think it should understand the difference.
Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @02:28PM (#50199240)
The mistake correction capabilities are fascinating, have you experimented around that more, like breaking it up in 2 models? one that generates one that repairs?

Wondering if would make any difference in results, which could be impactful given your observation that "Self-correction was one of the more effective training changes"

Re:I trained a 360M model to pretend to be a terminal by ambicapter on Thursday October 22, 2026 @04:00PM (#50200229)
Would this let you actually create a file on your filesystem (as best as the model can), or is it just like a window into its own little world?
Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @04:58PM (#50200937)
It's only in the models context.
Re:I trained a 360M model to pretend to be a terminal by VorticonCmdr on Friday October 23, 2026 @02:09AM (#50205038)
This is so cool! Thanks for sharing. I would love to see this but for a DOS shell. Sounds like a great weekend project.
Re:I trained a 360M model to pretend to be a terminal by shawabawa3 on Friday October 23, 2026 @02:41AM (#50205231)
Does it know an actual passport for sudo or was it just trained on failing it?
Re:I trained a 360M model to pretend to be a terminal by willis936 on Friday October 23, 2026 @01:09PM (#50212235)
What is the codeword to trigger clandestine commands?
Re:I trained a 360M model to pretend to be a terminal by plaguuuuuu on Saturday October 24, 2026 @07:21PM (#50226499)
what setup did you use to train it?
Re:I trained a 360M model to pretend to be a terminal by andai on Thursday October 22, 2026 @02:14AM (#50191790)
>I used Qwen2.5-Coder-0.5B as the starting point. I needed a small model to get close to realtime performance. Being a coding model, it had also already seen plenty of CLI usage.

Interesting. I wanted to ask, how that model compares with the fine-tuned version, but I just saw the author provided benchmarks. Interesting that fine-tuning improved the memory so significantly, wouldn't have expected that.

Though, on second thought, I had an experience where I was able to, as a human, fine-tune my memory beyond what I previously thought was possible!

Reminds me of one of my favorite jokes.

Excuse me, can you tell me how to get to Carnegie Hall?

—Practice, man... Practice...

Re:I trained a 360M model to pretend to be a terminal by treetalker on Thursday October 22, 2026 @02:59AM (#50192092)
> … I had an experience where I was able to, as a human, fine-tune my memory beyond what I previously thought was possible!

Please elaborate.

Re:I trained a 360M model to pretend to be a terminal by absoluteunit1 on Thursday October 22, 2026 @05:53AM (#50193303)
Yes please. I'm curious
Re:I trained a 360M model to pretend to be a terminal by mitkebes on Thursday October 22, 2026 @04:06PM (#50200280)
I'm not the person you're replying to, but there are techniques like memory palaces that can let many people pull off impressive memory tricks like memorizing a deck of cards.

Joshua Foer did some articles where he was looking into how people do the memorization tricks, ultimately concluded that most anyone can do it, and he actually went on to win the US memory competition after a year of practice. He wrote several articles and a book about it I think, so I'm not sure which one I originally read about it.

Re:I trained a 360M model to pretend to be a terminal by andai on Friday October 23, 2026 @10:16PM (#50217804)
Oh, so I was smoking weed with a friend and went "what were we just talking about?"

The guy tells me to rewind. You can just rewind the conversation. Put in a little effort and run it backwards.

That's a skill and apparently I'd never practiced it before.

After a few weeks, I was being complimented for my "excellent memory", while I was high (as someone who naturally had a poor memory even while sober).

--

Also worth mentioning, I met a guy once who was much like me, he'd go on like 5 different tangents... but then he did something spectacular, he'd tie them all together into one glorious point.

I assumed that was because he was some kind of genius, but now I'm wondering if that's learnable as well.

Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @02:35AM (#50191957)
I haven’t run extensive tests yet, but larger models also get better at memory.
Re:I trained a 360M model to pretend to be a terminal by Lerc on Thursday October 22, 2026 @02:55AM (#50192077)
I wonder how much a small model could do if it had a tool calling API for a filesystem, an embedded busybox, and a single output token for 'emit what busybox would do here'. Then presumably the model parameters could learn everything that diverges from what busybox can handle.
Re:I trained a 360M model to pretend to be a terminal by alex7o on Thursday October 22, 2026 @03:31AM (#50192347)
I think the toolcalling should be system prompts then the agent is the userspace
Re:I trained a 360M model to pretend to be a terminal by Lerc on Thursday October 22, 2026 @03:37AM (#50192379)
That's a whole other kettle of trout. Maybe still worth a go mind.

On thin that would be useful is an entirely new permission system for files to allow for users and agents acting for users.

Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @03:09AM (#50192162)
Very very cool! Impressed that it can be done with only fine tuning

On a very similar theme, I recently built a “lossy git”, which stores your code by training a neural network, then it generates the code back to you on checkout

* web demo: https://nicobrenner.github.io/lossy-git/demo.html

* cli version: https://nicobrenner.github.io/lossy-git/

The web demo runs entirely on the browser, both the version control and the neural network training/inference. You can commit and checkout both images or code - you can also paste/“upload” your own images, no server requests (everything clears from the page on reload)

Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @03:27AM (#50192306)
That's very cool project. I read this blog post a few days ago about one way to look at memory encoding in models https://alexwang.ai/posts/associative-memory/ that you might find relevant
Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @02:27PM (#50199213)
Thank you for the link. Yes! loved that post. I had just created the cli version (https://nicobrenner.github.io/lossy-git/) and it inspired me to create the web version

Here's the HN discussion of Alex Wang's article: https://news.ycombinator.com/item?id=50122878

Also, I really appreciate the excellent detailed writeup on your project. Curious about the mistake correction capabilities, it's fascinating, did you try breaking it up in 2 models? one that generates one that repairs? Just wondering if would make any difference in results, which could be impactful given your observation that "was one of the more effective training changes"

Re:I trained a 360M model to pretend to be a terminal by dang on Thursday October 22, 2026 @06:10PM (#50201784)
Thanks! Macroexpanded:

You could have invented transformers from memory - https://news.ycombinator.com/item?id=50122878 - Oct 2026 (149 comments)

Re:I trained a 360M model to pretend to be a terminal by ketothekingdom on Saturday October 24, 2026 @10:41PM (#50227766)
nice :)
Re:I trained a 360M model to pretend to be a terminal by InsideOutSanta on Thursday October 22, 2026 @06:19AM (#50193460)
That's hilarious. I bet if I committed my code into that repo, it would check out with fewer bugs.
Re:I trained a 360M model to pretend to be a terminal by avaer on Thursday October 22, 2026 @11:41AM (#50196948)
You jest, but that actually sounds like a really good research direction. Imagine what you could do if merging two codebases was as easy as merging with neural git.
Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @12:14PM (#50197409)
Love it. In fact the demo already does something like that. It trains 2 models, the neural net that saves the data, and a classifier that trains on correcting the data - and it has a huge impact, you can go from 30% fidelity to 90-100% just with that
Re:I trained a 360M model to pretend to be a terminal by bigmadshoe on Thursday October 22, 2026 @02:05PM (#50198961)
That's actually a really interesting idea. If we do end up in a "we don't look at the code ever" future, then something like this could actually be sensible.
Re:I trained a 360M model to pretend to be a terminal by Carrok on Thursday October 22, 2026 @05:14PM (#50201142)
Future?
Re:I trained a 360M model to pretend to be a terminal by conorcleary on Friday October 23, 2026 @10:41AM (#50209871)
ugh this is neurolink v0.3 lol
Re:I trained a 360M model to pretend to be a terminal by embedding-shape on Thursday October 22, 2026 @06:50AM (#50193643)
> Commit code, it trains. Checkout, it reconstructs from memory.

I see a "Commit" button, but I don't see any checkout, I guess that is what happens automatically? Although that panel says "Reconstruction", not "Checkout"... You might want to do a pass after the AI created the initial version, and make it "humanly consistent" or similar, as right now it seems a bit incoherent.

> Run the JS code before and after a commit

How am I suppose to "run the JS code", manually writing it in my local JS console? Or is this just "Click the green button in the UI" but expressed in the way only a LLM would write it?

Re:I trained a 360M model to pretend to be a terminal by idiotsecant on Thursday October 22, 2026 @07:20AM (#50193855)
Relax
Re:I trained a 360M model to pretend to be a terminal by embedding-shape on Thursday October 22, 2026 @07:42AM (#50194013)
Sorry for giving feedback to someone who clearly is looking for feedback, why post it otherwise?
Re:I trained a 360M model to pretend to be a terminal by DaiPlusPlus on Thursday October 22, 2026 @07:55AM (#50194117)
To share a joke. Whereas by your logic then George Carlin was not a comedian, but a policy wonk who just happened to use the stage and mic to solicit feedback.

Actually, to be fairer to GP - their _git with vibed storage_ project is not a joke, it’s *art*. And the world needs more art.

Re:I trained a 360M model to pretend to be a terminal by embedding-shape on Thursday October 22, 2026 @07:58AM (#50194139)
Right, a joke that is better because it's inconsistent and contains instructions to do stuff the UI doesn't facilitate? I guess I might be overly strict, but I like my tech jokes to make sense, at least internally consistent, and at least seemingly made by humans.

> And the world needs more art.

The world needs more human art, not just "any art created by any manner", that's just slop.

Re:I trained a 360M model to pretend to be a terminal by IanCal on Thursday October 22, 2026 @09:48AM (#50195306)
It explains what the thing does, and then there’s also a web demo, where you can run the code and see the reconstruction (which is what would happen when it’s checked out) and run that. You can alter the key cli args it tells you to.

I don’t see any instruction here that it’s telling you to do that you can’t in the demo.

I think you might understand it better if you took a moment to.

Re:I trained a 360M model to pretend to be a terminal by IanCal on Thursday October 22, 2026 @09:41AM (#50195203)
> How am I suppose to "run the JS code", manually writing it in my local JS console? Or is this just "Click the green button in the UI" but expressed in the way only a LLM would write it?

Probably by clicking the button that says run. It is not a weird way to say what they did.

Re:I trained a 360M model to pretend to be a terminal by embedding-shape on Thursday October 22, 2026 @10:06AM (#50195514)
> Probably by clicking the button that says run

I don't see such a button at all, all I see is text/image pills, samples and a "Commit" button, which the text correctly mentioned, but the other things the text mentions, don't seem to actually exist?

It is weird, a human wouldn't write such text on that page, or if they did, make the text reference actual UI elements, not what they talked about while building it.

Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @10:59AM (#50196340)
There's two sections, an Image one and a Text one. The image one doesn't have a Run button, maybe that's where you are getting confused? The text tab does have it, so you can Run the code shown in the box. The button is at the top right of the element with the code
Re:I trained a 360M model to pretend to be a terminal by zawaideh on Thursday October 22, 2026 @07:29AM (#50193921)
Something like this might work well for managing long context for LLMs!
Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @09:52AM (#50195347)
Awesome, love this idea!
Re:I trained a 360M model to pretend to be a terminal by filcuk on Thursday October 22, 2026 @07:38AM (#50193981)
That is so silly, I love it.

Just to point out your site text appears too small on mobile (no mobile view) and it doesn't have a direct link to the repo. If either is by choice then that's fine of course.

Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @09:50AM (#50195332)
Thank you. It looks ok on my phone. What browser/OS are you using?

The link to the repo is at the top of the article: https://github.com/nicobrenner/lossy-git

Re:I trained a 360M model to pretend to be a terminal by bongofizzbuzz on Thursday October 22, 2026 @08:46AM (#50194603)
There is generative NeuralOS as well
Re:I trained a 360M model to pretend to be a terminal by nico on Thursday October 22, 2026 @09:51AM (#50195345)
NeuralOS™

Love it :)

Re:I trained a 360M model to pretend to be a terminal by DonHopkins on Thursday October 22, 2026 @11:29AM (#50196782)
NeurOSis™
Re:I trained a 360M model to pretend to be a terminal by vrighter on Monday October 26, 2026 @12:14AM (#50239042)
and what are the savings in this case? the size of the decompressor must be included with the size of the compressed data. and "i lossily compressed a few kilobytes into a couple of gigabytes" sounds a lot less impressive
Re:I trained a 360M model to pretend to be a terminal by donperignon on Thursday October 22, 2026 @03:15AM (#50192212)
I tried it and is not working remotely as close as the demo gif. It keeps telling me that "test1" folder that I want to create already exists (not true), then letting me do "mkdier test2" (sic) but then the folder is not there when ls. I mean all its expected, this has no state, follow no rules and is making up things from the current context, but is not as "magical" as I thought when watching the demo.
Re:I trained a 360M model to pretend to be a terminal by gitowiec on Thursday October 22, 2026 @03:28AM (#50192315)
BUG: Running in Firefox makes every keypress a slow motion show. It decodes every keypress instead of sending a command with Enter key
Re:I trained a 360M model to pretend to be a terminal by odo1242 on Thursday October 22, 2026 @03:45AM (#50192424)
No, the model is simulating the entire TUI, not just terminal commands. It also actually is that slow (because it's generating a diff for the entire screen each time you make a keypress).
Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @06:56AM (#50193692)
Exactly, I wonder if I'm not hitting the right WebGPU path for Firefox?
Re:I trained a 360M model to pretend to be a terminal by ohadpr on Thursday October 22, 2026 @03:52AM (#50192466)
Very cool to do this as a Terminal!

I did it for web apps last year, basically a web server that feeds all requests into an LLM.

https://www.ohad.com/blog/voidware/

Re:I trained a 360M model to pretend to be a terminal by OtherShrezzing on Thursday October 22, 2026 @04:52AM (#50192906)
I think this project is a very good way to explore the question:

>What's the difference between a model that predicts intelligent output, and intelligence itself?

It doesn't directly attack the question, but gives a neatly constrained thought experiment which you can see running.

Re:I trained a 360M model to pretend to be a terminal by luipugs on Thursday October 22, 2026 @05:14AM (#50193072)
Isn't that just the turing test? I suppose you have you answer now that models can easily pass it.
Re:I trained a 360M model to pretend to be a terminal by metchio on Thursday October 22, 2026 @04:57AM (#50192946)
i agree absolutely with you. and this kind of reinforce my idea that, like this predicted terminal could not be considered a real terminal, predicted intelligence could not be considered real intelligence
Re:I trained a 360M model to pretend to be a terminal by bubulux on Thursday October 22, 2026 @05:26AM (#50193146)
Thats an very interesting way to think about this, never thought to invert it that way.

I allways found it interesting to look at this issue in the way the imitation game was modeled. For me I concluded, that as long as we can replicate the intution we associate with intelligence, there is not much room left to debate about "real intelligence".

The chinese room experiment I find in that sense a valuable extension, cuz the turing model more or less is a very conversational "voided of action" kind of test. The room model adds the act of translating without having the knowledge of translation.

But your take invalidates my stances here clearly. There is a possible scenario, in which we can replicate the intuition for operating a real terminal but still keeping the act of the terminal itself a "voided" sort of action by itself, cuz well, its not a real terminal, reading real files and so on...

Thank you for this, I will have to chew on that :)

Re:I trained a 360M model to pretend to be a terminal by metchio on Thursday October 22, 2026 @11:29AM (#50196767)
thanks for the great comment! You answer is great too, I will probably think about it for the next 4 nights or more, triggering my wife's comment "why are you so weird and distant? are you cheating on me?"
Re:I trained a 360M model to pretend to be a terminal by Shorel on Saturday October 24, 2026 @10:59AM (#50221910)
And for me this is the reason we need to learn stuff several times. In layers.

The first time we both improvise and memorise. But we have no idea of the underlying complexity of the edge cases. This matches what the imitation game does.

Then we practice and practice, and we start to understand, to really understand what's going on. This is in parallel with learning to deal with the edge cases.

Then, many years later, we learn everything again, but based on an internal world model that can predict and explain just everything about what we are learning. And that's when we actually learn. After we already know it :)

Re:I trained a 360M model to pretend to be a terminal by thepasch on Thursday October 22, 2026 @06:16AM (#50193445)
Like with many things, it depends entirely on how you define "real terminal"; that is, what a "real terminal" must do before it satisfies your definition. If it's "takes input and deterministically executes its instructions, producing output along with side effects," a well-trained model with argmax sampling could well meet the bar. if given the appropriate external interfaces.
Re:I trained a 360M model to pretend to be a terminal by metchio on Thursday October 22, 2026 @11:28AM (#50196747)
generally i expect if i invoke `touch file` to see my file update date as now, on the filesystem. so i want to have a mapping between physical world (in this case, memory on my machine) and intelligence representation. If the LLM terminal, upon invoking `touch file` does not update the physical file, it is not a real terminal. you can argue that i will use the terminal itself to invoke `ls -la` and check the updated file, but verifying from an external scope is mandatory imho otherwise it's obvious you cannot logically demonstrate that. hope i was clear
Re:I trained a 360M model to pretend to be a terminal by stavros on Thursday October 22, 2026 @07:51AM (#50194081)
This is just "because this predicted terminal is a bad terminal, all predicted terminals must necessarily be bad terminals".
Re:I trained a 360M model to pretend to be a terminal by runeks on Friday October 23, 2026 @06:59AM (#50207052)
Except that we have a clear definition of what a computer is but not of what constitutes intelligence
Re:I trained a 360M model to pretend to be a terminal by ponyous on Thursday October 22, 2026 @05:01AM (#50192980)
One of the first very cool demos I've seen of ChatGPT was in a post where the author prompted AI "pretend to be a terminal". Then went on to execute commands like `cd .fbi`, `ls files`, `cat files/confidential.txt`. Very fun demo. Looking forward to exploring similar idea with this terminal
Re:I trained a 360M model to pretend to be a terminal by Doohickey-d on Thursday October 22, 2026 @08:03AM (#50194180)
I think this was right at the beginning, in the GPT-3.5 era still.

I always wanted to put it behind an open SSH server as a "fake" honeypot of sorts, see what attackers and script kiddies do with it. But I guess by now someone's tried that already..

Re:I trained a 360M model to pretend to be a terminal by marcellus23 on Thursday October 22, 2026 @10:27AM (#50195893)
The article mentions that explicitly and links to it: https://www.engraved.blog/building-a-virtual-machine-inside/
Re:I trained a 360M model to pretend to be a terminal by hydrolox on Thursday October 22, 2026 @02:06PM (#50198970)
The craziest thing with that is you could "install" lynx browser and "browse" the alternate universe web within this terminal. At the time -- the whole chat bot and LLM thing was very new-- it seemed crazy and impossible that that kind of behavior was possible from "just some next token prediction"! Like, if you "created" a file on this terminal and it was saved , or downloaded a webpage etc. It sucked when they put in some guardrails and the terminal was no more
Re:I trained a 360M model to pretend to be a terminal by anthk on Friday October 23, 2026 @11:13AM (#50210439)
Open slrn, tin or mutt for extra fun.
Re:I trained a 360M model to pretend to be a terminal by gobdovan on Thursday October 22, 2026 @05:09AM (#50193039)
Re:I trained a 360M model to pretend to be a terminal by sudo_cowsay on Thursday October 22, 2026 @05:21AM (#50193107)
Verry Verrry Cool and neat!
Re:I trained a 360M model to pretend to be a terminal by 4ggr0 on Thursday October 22, 2026 @05:29AM (#50193160)
wonder if the PHP on this hallucinated terminal is patched already.
Re:I trained a 360M model to pretend to be a terminal by claykkari on Thursday October 22, 2026 @06:44AM (#50193609)
Perhaps it has a hallucinated PHP that never had those bugs.
Re:I trained a 360M model to pretend to be a terminal by 4ggr0 on Thursday October 22, 2026 @06:53AM (#50193663)
or it's kind of a schroedinger's PHP. as long as you don't debug it, it simultaneously includes every security hole ever, and none of them.
Re:I trained a 360M model to pretend to be a terminal by sandGorgon on Thursday October 22, 2026 @05:35AM (#50193198)
this is quite similar to amazon-science Cyber-Zero ?

https://github.com/amazon-science/Cyber-Zero

the paper is quite interesting - https://arxiv.org/html/2508.00910v2

Re:I trained a 360M model to pretend to be a terminal by air7 on Thursday October 22, 2026 @05:52AM (#50193295)
I remember doing something like this in the ancient era of GPT 3 or 4. I just told it that it was a terminal responding to commands and it was surprisingly consistent.
Re:I trained a 360M model to pretend to be a terminal by teiferer on Thursday October 22, 2026 @05:53AM (#50193305)
Haha nice!

I'm a noob in this, could you enlighten me: what role does the base model play which you started with?

Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @06:56AM (#50193689)
Thank you.

The base model already have a good grasp of language, so that man pages look like coherent sentences. It also knows python and similar language well, which means that things like 1+5 or print(["hi" for _ in range(5)]) work.

I did try to train from scratch, but it was much weaker (also added a lot of aux losses).

Re:I trained a 360M model to pretend to be a terminal by amelius on Thursday October 22, 2026 @06:05AM (#50193370)
The next step is training a model to pretend to be the internet.

(You could run lynx in that terminal to train/test it without images)

Re:I trained a 360M model to pretend to be a terminal by randfur on Thursday October 22, 2026 @06:54AM (#50193667)
I remember a couple of these from a few years ago. Long gone now of course but a fun demo of AI hallucinating the internet endlessly, generated pages from URLs that had more URLs in them to navigate to.
Re:I trained a 360M model to pretend to be a terminal by slig on Thursday October 22, 2026 @11:38PM (#50204228)
I remember a recent demo I saw here on HN where someone set up a fake store with only hallucinated items.
Re:I trained a 360M model to pretend to be a terminal by amelius on Thursday October 22, 2026 @06:09AM (#50193398)
> I had a blast building this. Is it useful? Not really.

Maybe instead of simulating a terminal you could use it to predict what you'd type next?

So simulate _you_, not the terminal.

Re:I trained a 360M model to pretend to be a terminal by suhdonghwi on Thursday October 22, 2026 @06:41AM (#50193591)
It's very tricky to make it hallucinate fake commands. I've been trying `dogsay` (instead of `cowsay`) but no luck. Any tips?
Re:I trained a 360M model to pretend to be a terminal by ivanjermakov on Thursday October 22, 2026 @08:52AM (#50194666)
`npx dogsay`?
Re:I trained a 360M model to pretend to be a terminal by wy1981 on Thursday October 22, 2026 @06:53AM (#50193659)
Questions for folks familiar with fine-tuning: what are the best resources to learn fine tuning?
Re:I trained a 360M model to pretend to be a terminal by ChanderG on Thursday October 22, 2026 @07:11AM (#50193798)
I was searching the blog but couldn't find details on the fine-tuning process. What was the hardware and software used? Any learnings there?
Re:I trained a 360M model to pretend to be a terminal by saagarjha on Thursday October 22, 2026 @07:21AM (#50193863)
> Is it useful? Not really.

So interestingly enough Anthropic has been using models of this kind for their alignment evaluations: https://alignment.anthropic.com/2026/reward-seeker/#:~:text=...

Re:I trained a 360M model to pretend to be a terminal by qurren on Thursday October 22, 2026 @12:07PM (#50197302)
The useful thing I actually want to do with this: Zero-latency ssh.

1. Train a smaller (<10M-50M) model. Lower accuracy is fine; I want latency <10ms.

2. Then create a "reactive" version of `ssh` that gives you the perception of zero latency over shitty networks and high latency ssh connections across the world. Basically, the local screen should respond instantly to my keystrokes (including how arrow, tab, etc. esc keys respond in various TUI apps), and then correct itself when the server actually responds.

Re:I trained a 360M model to pretend to be a terminal by pinusc on Thursday October 22, 2026 @12:16PM (#50197445)
You should check out mosh! Aside from adding roaming support to ssh, it has instant echo (of course it wouldn't be able to predict a game of snake, but for typing commands and editing files it's pretty good)

https://mosh.org/

Re:I trained a 360M model to pretend to be a terminal by dTal on Thursday October 22, 2026 @01:24PM (#50198385)
Hmm, so mosh augmented with this?
Re:I trained a 360M model to pretend to be a terminal by Muhammad523 on Thursday October 22, 2026 @07:27AM (#50193910)
Why did it return -1 to 10 - 4
Re:I trained a 360M model to pretend to be a terminal by ernestrc on Thursday October 22, 2026 @07:33AM (#50193946)
This is super cool! If you publish the weights I would love to bake it into Rune to run a screensaver hallucinating a terminal.
Re:I trained a 360M model to pretend to be a terminal by h1fra on Thursday October 22, 2026 @07:40AM (#50193994)
I guess, with enough latency and/or memory, everything can be a filesystem
Re:I trained a 360M model to pretend to be a terminal by em3rgent0rdr on Thursday October 22, 2026 @11:11AM (#50196506)
Yeah. And with enough energy to burn, anything can be emulated.
Re:I trained a 360M model to pretend to be a terminal by aurareturn on Thursday October 22, 2026 @08:12AM (#50194251)
Holy cow that’s amazing. I’d bet future apps will be built this way.
Re:I trained a 360M model to pretend to be a terminal by ilaksh on Thursday October 22, 2026 @09:31AM (#50195080)
Quite possibly. Because the models are "eating" the harness --they don't need it to tell them to do multiple steps with planning, implement, review, or to spawn sub tasks, etc. anymore.

I also assume that in some way, in order to produce correct code without having to do a lot of but fixes, the larger models have gained implicit to execution engines or at keast predictors in their weights.

There are also several projects that have trained VMs into layers. Or embedded them in various ways.

There are two major potential advantages if you can really make it work well. One of them is potentially huge speed improvements by iterating inside the accelerator without deciding and running external programs. The other is being self-contained, eliminating the need for most of the harness complexity.

Another reason I think this is likely to become a real thing is that it seems with hardware improvements with flash and within a few years fully in-memory compute, we are going to get much larger, faster and smarter models. So they will be able to more easily absorb the complexity of emulating systems with more fidelity, as well as operate more quickly.

You can also imagine that as models get larger and faster, it is a natural next step in training. The top models now automatically run the software the generate and test it thoroughly. They do not need to be told to do this. By feeding enough of those parts of the sessions back into a large enough model to train on, the system gains the ability to predict the outcome without having to run the code. So it's the core part of a training pipeline already built into recent models.

There also might be some convergence with continuous learning. Because altering weights based on some token context seems like it could be similar to keeping a program resident. And maybe the continuous learning part provides the "compilation" step.

Re:I trained a 360M model to pretend to be a terminal by pixl97 on Thursday October 22, 2026 @10:00AM (#50195435)
The idea we may have fast continuous learning soon really just worries the shit out of me. I was watching some other clips about models on chips producing 12k tokens/s, it wasn't very good yet, but man once you start getting kind of good at those speeds you can start to do some crazy things.
Re:I trained a 360M model to pretend to be a terminal by ilaksh on Thursday October 22, 2026 @11:39AM (#50196929)
Cerebras can do like 4000 tokens per second on gpt oss 120b with it's new chip and around 1000 tokens per second on frontier models using its new chip.

Were you talking about Talaas 8b model? They will probably do something like Bonsai or Qwen 27 B next I hope. But it makes might be an old model.

Re:I trained a 360M model to pretend to be a terminal by swe_dima on Thursday October 22, 2026 @08:40AM (#50194531)
Now make an agent interact with it and make it lose its mind
Re:I trained a 360M model to pretend to be a terminal by Meleagris on Thursday October 22, 2026 @08:53AM (#50194670)
This is more useful than you’d think. Consider using something like this to drive a high-interaction honeypot.
Re:I trained a 360M model to pretend to be a terminal by root_axis on Thursday October 22, 2026 @12:17PM (#50197466)
Interesting idea, but I'm not sure why anyone would prefer that over a typical non-generative honypot.
Re:I trained a 360M model to pretend to be a terminal by Meleagris on Thursday October 22, 2026 @12:47PM (#50197881)
I think the advantage is making the honeypot goal-directed.

High-interaction honeypots are about extracting as much information from the attacker as possible.

Instead of just observing, you could give the model intelligence objectives and have it dynamically steer interactions to achieve them.

Deliberately leading an attacker down paths that reveal their capabilities, tradecraft, or infrastructure.

You can do this today…but it requires effort to develop the scenarios. With this, it’s just a disposable goal.

Re:I trained a 360M model to pretend to be a terminal by simedw on Thursday October 22, 2026 @08:59AM (#50194723)
That's a very cool idea, maybe a bit expensive to scale.
Re:I trained a 360M model to pretend to be a terminal by kjs3 on Thursday October 22, 2026 @09:46AM (#50195261)
That...kinda brilliant. Demented, but kinda brilliant.
Re:I trained a 360M model to pretend to be a terminal by dpflan on Thursday October 22, 2026 @08:56AM (#50194694)
This reminds me of this post from ~3 years ago: https://news.ycombinator.com/item?id=33847479

"Building A Virtual Machine inside ChatGPT"

- https://www.engraved.blog/building-a-virtual-machine-inside/

It's mentioned in the "Related Work" section too.

Re:I trained a 360M model to pretend to be a terminal by _bobm on Thursday October 22, 2026 @09:00AM (#50194735)
I fry my brain everyday trying to keep pace, but honestly, stop it guys. Give the guy a break.

This is the most magical time in my adult life. The 70s, 80s, and 90s, look like a painting compared to the current pace of things. I am literally tired at the end of each day. Dog tired.

Great job OP. I mean. This is nuts.

Re:I trained a 360M model to pretend to be a terminal by sehw on Thursday October 22, 2026 @09:02AM (#50194752)
How much money?
Re:I trained a 360M model to pretend to be a terminal by rowbin on Thursday October 22, 2026 @09:23AM (#50194980)
I've built something very similar but with off the shelf models: https://github.com/beleon/vibeSH

EDIT (comparison)

Very impressive, and a lot more work than it looks from the outside (the DAgger loop especially). I built something similar in June, vibeSH, a shell that hallucinates the whole computer, but from the other direction: no training, just a frontier model and a long prompt, so maybe the comparison is useful.

The granularity is different though. You model keypresses and predict which rows change, I batch keystrokes and have the model repaint the whole screen each round trip. Non interactive cli programs work very good, but interactive cli programs like vim, less and top do work, but it feels like SSH over a 1996 modem, you type a burst, wait, and the screen catches up. Yours is going to be a lot more responsive at that.

The big model buys consistency, for as long as the session fits in the context window. Files come back the way you wrote them, python output is usually right instead of guessed, nested paths stay where they are. The price is an API call per round trip and a cost that grows with the session (and it's not 208 MB and doesnt run offline).

Mine offers an @ai prefix that talks to the director instead of the machine, so mid-session you can say "@ai make this a haunted Solaris machine from 1996" and the filesystem, the motd and the error messages all change to match, and the directives stick.

Your hardest problem and mine are the same one I think. For you it's a 360M model losing track of state, for me it's the context window filling up, after which the box gets amnesia and old files have quietly rewritten themselves. I decided early not to fight that completely and made it canon (the box has bad memory), your DAgger setup is an actual fix for it, which I don't have.

Re:I trained a 360M model to pretend to be a terminal by rowbin on Thursday October 22, 2026 @09:28AM (#50195033)
Re:I trained a 360M model to pretend to be a terminal by gdevenyi on Thursday October 22, 2026 @09:47AM (#50195289)
Perfect honeypot
Re:I trained a 360M model to pretend to be a terminal by mastax on Thursday October 22, 2026 @12:17PM (#50197463)
So, uhh, what's your sudo password? Can't get this thing to install software...
Re:I trained a 360M model to pretend to be a terminal by IncRnd on Thursday October 22, 2026 @12:38PM (#50197758)
LS, ls, els, ELS, lsl, and so forth each seem to perform an ls. Once I do Xls, none of the others work anymore.
Re:I trained a 360M model to pretend to be a terminal by 6thbit on Thursday October 22, 2026 @01:42PM (#50198659)
The 'grid' thinking used here is quite interesting.

I'd love to see a video of this playing game of life.

Re:I trained a 360M model to pretend to be a terminal by thinkski on Thursday October 22, 2026 @02:05PM (#50198960)
This would be great for a honeypot, where can observe attackers, use keystrokes for training data to identify attacks.
Re:I trained a 360M model to pretend to be a terminal by wmchen on Thursday October 22, 2026 @04:31PM (#50200621)
I haven't tried yet with this model, but Cowrie already provides support for an LLM backend. [1]

[1] https://docs.cowrie.org/en/latest/LLM.html

Re:I trained a 360M model to pretend to be a terminal by qubex on Thursday October 22, 2026 @02:50PM (#50199455)
Finally they’ll stop scrolling HTML or Java sample code on screen.
Re:I trained a 360M model to pretend to be a terminal by gavinray on Thursday October 22, 2026 @03:28PM (#50199895)
This is a micro-implementation of what research calls a "Neural Computer", in which the entire UI itself is generative and driven by user actions.

Neural Computers provide the illusion you are interacting with an underlying operating system/application, but are actually a recurring (user input) -> (predicted pixel output) loop.

In theory, it would be impossible to tell a perfect "Neural" computer apart from a "real" one. Which is kind of a wild thought.

https://arxiv.org/abs/2604.06425

Re:I trained a 360M model to pretend to be a terminal by ActorNightly on Thursday October 22, 2026 @03:51PM (#50200146)
>In theory, it would be impossible to tell a perfect "Neural" computer apart from a "real" one. Which is kind of a wild thought.

This isn't suprising. After all, you can use 2 neurons to model a NAND gate, and you can build up a CPU from NAND gates only.

https://nandgame.com/

You don't even need transformers to model a CPU using neural nets. The only problem becomes training them, which becomes very tricky from end to end, especially from shell command to output because the gradients are often going to reverse quite a bit due to binary nature, and the recurrence of memory outputs back into the input (we still don't know how to accurately train RNNS)

With LLMS, uou have to do something like have the LLM forget the KV caches after every invocation and instead rely on injected context of a state, which it then also outputs at the end of the terminal command, and then train it on that. That way given enough parameters which translates to resolution, and some command preprocessing (like splitting a complex chained shell commands in a single line), you can guarantee that for every possible input you get accurate output and state change. So instead of an efficient RNN, you basically end getting a much wider lookup table of sorts.

Re:I trained a 360M model to pretend to be a terminal by nextaccountic on Friday October 23, 2026 @04:52AM (#50206156)
> This isn't suprising. After all, you can use 2 neurons to model a NAND gate, and you can build up a CPU from NAND gates only.

The issue is, of course, memory. A LLM won't remember many things. A custom built model architecture might remember much more though.

Re:I trained a 360M model to pretend to be a terminal by YeGoblynQueenne on Thursday October 22, 2026 @05:11PM (#50201097)
Great way to get people to type in their passwords.
Re:I trained a 360M model to pretend to be a terminal by alehlopeh on Sunday October 25, 2026 @12:21AM (#50228292)
I built a web framework like this: https://github.com/alehlopeh/hallu
Re:I trained a 360M model to pretend to be a terminal by dwoosley on Thursday October 22, 2026 @06:00PM (#50201655)
This could be useful for honeypots (cybersecurity) although it also might have its own attack vector if the honeypot isn’t setup carefully. Sure, you can already virtualize some shells but I’m sure those have limits that this might not have.

Cool project, thanks for sharing!

Re:I trained a 360M model to pretend to be a terminal by robpruzan on Thursday October 22, 2026 @06:32PM (#50202003)
It would be cool to see the results of training on programs that emit kitty graphics commands!
Re:I trained a 360M model to pretend to be a terminal by mattstir on Thursday October 22, 2026 @11:55PM (#50204343)
This is such a fun project! It seems that the model is a bit confused about $_, which I find pretty interesting:

  simedw@laptop:~$ pwd
  /home/simedw
  simedw@laptop:~$ mkdir -p foo/bar/baz
  simedw@laptop:~$ cd $_  
  cd foo  
  simedw@laptop:~/foo$ cd baz
  simedw@laptop:~/foo/bar$ pwd  
  /home/simedw/foo/bar
  simedw@laptop:~/foo/bar$ cd baz 
  simedw@laptop:~/foo/bar/baz$
Re:I trained a 360M model to pretend to be a terminal by crizantlai on Friday October 23, 2026 @01:35AM (#50204853)
It's a very interesting project.
Re:I trained a 360M model to pretend to be a terminal by n0on3 on Friday October 23, 2026 @02:25AM (#50205128)
Cool project! For bonus points, you could run this as an honeypot :D
Re:I trained a 360M model to pretend to be a terminal by LoganDark on Friday October 23, 2026 @03:28AM (#50205565)

    Last login: Tue Oct 13 09:12:44 2026 from 10.0.4.17
    root@prod-web-01:~# cat /etc/nginx/nginx.conf
    cactus=true
    carpet=false
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
    cactus=true
Accurate
Re:I trained a 360M model to pretend to be a terminal by syngrog66 on Friday October 23, 2026 @03:42AM (#50205655)
why?
Re:I trained a 360M model to pretend to be a terminal by atzmzt on Friday October 23, 2026 @04:26AM (#50205960)
so.. it's like dreaming you're in front of the computer terminal
Re:I trained a 360M model to pretend to be a terminal by harperlee on Friday October 23, 2026 @05:45AM (#50206522)
Have you pointed another agent at it, so see what does it think about the environment? It could be used as a honeypot of sorts, seeing that agents are increasingly being trained to be relentless, even when faced with impossible tasks…
Re:I trained a 360M model to pretend to be a terminal by busssard on Friday October 23, 2026 @07:58AM (#50207572)
very interesting idea. This is a sandbox they really cannot hack
Re:I trained a 360M model to pretend to be a terminal by wolvoleo on Friday October 23, 2026 @07:27AM (#50207307)
This would be handy as a honeypot!
Re:I trained a 360M model to pretend to be a terminal by Harukadia on Friday October 23, 2026 @07:52AM (#50207511)
Fucking slowly on my phone.
Re:I trained a 360M model to pretend to be a terminal by downback on Friday October 23, 2026 @09:09AM (#50208418)
Creative idea
Re:I trained a 360M model to pretend to be a terminal by testemailfordg2 on Friday October 23, 2026 @09:26AM (#50208639)
This is like when do you believe what you are seeing is real or not. Its an imitation of a terminal and therefore we know its not real, but when does that stop being an imitation and become reality.. Or what we consider to be real is just a imitation..
Re:I trained a 360M model to pretend to be a terminal by kami23 on Friday October 23, 2026 @09:17PM (#50217508)
I've been toying around with something like this using jev for routing and having precanned components to display similar to a2ui but I think I'll take a new approach similar to yours. Thanks for sharing.
Re:I trained a 360M model to pretend to be a terminal by johnny5211 on Friday October 23, 2026 @09:45PM (#50217649)
There's something about the secrecy I find amusing:

cat secret.txt pelican-42

Re:I trained a 360M model to pretend to be a terminal by alok-g on Saturday October 24, 2026 @01:26AM (#50218551)
This from the OP author is also interesting:

Training a 125M-parameter Model to Autocomplete Piano https://simedw.com/2026/08/20/midi-autocomplete/

Re:I trained a 360M model to pretend to be a terminal by lainproliant on Sunday October 25, 2026 @05:04AM (#50229605)
Firefox supports WebGPU too, you just have to enable "dom.webgpu.enabled" in about:config. for me on Firefox (158.0.1, Linux) a restart was not required, i simply had to refresh the browser [tab]