ClawDOS – An AI coding agent for DOS

(ricapar.net)

66 points | by Ricapar 5 hours ago ago

21 comments

  • linzhangrun 3 hours ago

    Seriously speaking, I feel the market is sorely lacking an Agent for the large number of existing devices running WinXP, Win7, and the like. Not for developing on them, but for all kinds of debugging work it would be very useful; nowadays I'm used to just directing an Agent for everything.

    • xmeadow an hour ago

      https://github.com/xmeadow/igor runs on react OS but was tested on XP and win7. Works flawlessly.

      • keyle 35 minutes ago

        I wonder what kind of sandboxing you'd get on those machines though. Likely nought.

    • egeozcan 2 hours ago

      Couldn't agents just Remote Desktop or ssh into them?

      For seriously older stuff, I'd run the disk image in a VM.

      If they interact with legacy systems and/or virtualizing is no option and/or they have no internet access, a simple USB-to-COM adapter can create wonders. I remeber doing that on a win3.1 machine using TERMINAL.EXE many many years ago.

      • ulrikrasmussen 43 minutes ago

        In general, I've wondered whymost (all?) harnesses perform the API calls to the provider from the same machine that runs the tools. Why not have a client/server architecture? Then one session could talk to as many tool harnesses as it wanted to and you wouldn't have this kind of arbitrary limit of the session being tied to one specific workspace.

      • linzhangrun an hour ago

        A typical scenario is that you walk into a small company and find they're still using Windows 7 or an early version of Windows 10. Then you have to help them deal with all sorts of problems.

    • kristopolous 2 hours ago

      I've got an agent that just uses legacy perl 5.0001 ... close but there's no perl by default on windows (although it's easy enough to get on there)

      https://github.com/kristopolous/old-agent

      I've used it on plenty of old things.

      I'd probably do a pure .vbs version if it was windows or a static pure win32 exe.

    • linzhangrun 3 hours ago

      Almost all agents require Windows 10 1809 or later. Debugging issues on older devices often turns out to be a real headache, and the only option is to get SSH working.

      • anthk 21 minutes ago

        There are Golang ports for WXP and up (check the Reticulum-go GH repo and the users), and there's MIn-C as a port of core OBSD tools for XP (Unix tools, compiler, vi, openssh and a bunch more).

      • shevy-java 2 hours ago

        But should not AI be able to solve all these mentioned problems? Why can they not solve that?

        It would not make a whole lot of sense to me.

        • linzhangrun an hour ago

          For old Windows, "setting up an SSH tunnel" itself takes quite a bit of fiddling. Especially when the device you need to deal with is on a distant external network, and you can't even remote in—you're limited to video calls and the like.

    • shevy-java 2 hours ago

      Agreed. Kind of strange how AI promises everything but the old platforms are still ignored and neglected.

  • Tiberium 4 hours ago

    It feels very cute and mischievous to start agents in unusual environments (DOS, Linux running on a feature phone, Windows 95, etc) and see how they react :)

    • unleaded 3 hours ago

      Yep, I've made one in win32 earlier this month for that exact reason. It's always amusing seeing DeepSeek's CoT realise it's running inside NT 4.0 once it does a directory listing. It handles it pretty well too, I gave it a intentionally broad prompt to "write a 3d shooter game" pretty much, and it went and found the DirectX SDK that comes with VS6 and oneshotted it.

      • egeozcan 2 hours ago

        DeepSeek is also wonderful for salvaging old phones for creating personal dashboard or silly handheld gaming machines.

    • xhevahir 2 hours ago

      Put one inside Red Star OS and watch it take out the power grid!

  • netnchen 2 hours ago

    I have to say this is really creative to try create a coding agent on DOS!

  • sans_souse 5 hours ago

    I love what I see!

  • jaredsohn 2 hours ago

    This can maybe optimize config.sys/autoexec.bat memory usage

  • Othrya 3 hours ago

    prob. many people dont even know what DOS is anymore :D

  • shevy-java 2 hours ago

    Making DOS great again!

    Finally it can outperform TempleOS.

    Someone should rewrite the old Lemmings game with AI as well.