Prospero: A new coding harness for a more civilized age

(nullprogram.com)

107 points | by fovc 4 hours ago

25 comments

  • brainless 1 hour ago
    Nice to see a gui coding agent. I use tui agents all the time but I am building a gui one. I use Claude Code, Codex, opencode and a couple other but I do not like the DX/UX.

    I often want click a part of the wall of text (from agent) and search for related text, open them up on the side or so. I want to open a linked file. I want to answer multiple questions in an async manner, even come back and continue answering the next day.

    There are many prompt level features I want too - orchestrate with subagents, but only the tasks I select - how do I select when there is no checkbox. Or maybe delegate a subagent to dig into (read only) one portion of the chat response. Maybe codify (write) only one task in a list of tasks. So many many other small things.

    As a full-time user of coding agents, the TUI barely works for me. I think splitting text, searching in text, merging text are more important in agent driven development than ever before. It is all text, all the way. This is what I am building myself, with my own gui framework.

    • julesrms 1 hour ago
      You're not alone - I also revolted against the TUI crowd and created my own GUI-centric harness juggler (https://github.com/juggler-ai/juggler). Might be up your street. If you're not too involved in your own project, maybe help out on mine :)

      Honestly, I just don't get the TUI obsession, other than the fact that people are multiplexing many remote sessions over ssh. So my aim with juggler was to have an architecture that could do all the multi-client remote sessions with a GUI/websockets/Y.js sync etc.

      • brainless 1 hour ago
        Thanks Julian, I just checked it and it looks lovely and ticks quite a few of the boxes in my mental model. I will clone and dig in.

        Also, I don't remember how but I have heard of JUCE before and I immediately recognized it even though I have never used it. I think I spend too much time on github :D

      • natsucks 11 minutes ago
        Using TUI is also architecturally simpler. I don't want to rely upon third-party mappings of the CLI/MCP to the GUI, which are potentially incomplete or buggy.
    • 0xcafefood 39 minutes ago
      His GUI looks like it's inspired at least in part by Google's Antigravity 2 (https://antigravity.google/product/antigravity-2).
    • johnny5211 51 minutes ago
      I see the argument but personally I find LLMs to be a perfect TUI application because of their functionality. Text in -> text out is precisely how the models work so the interface doesn't need to go much beyond that.
      • brainless 42 minutes ago
        I would agree 100% with you if context was not an issue. But it is and a big one. In a chat, I have questions and investigations that should always branch off. I also make tiny test implementations from an ongoing idea (in the chat). Forking the idea, or even running parallel ideas. None of these are possible unless we can manipulate the text, split into smaller chunks and send off to agents.
  • keyle 1 hour ago
    Many make their own harness today anyway...

    I did mine as well and that takes 4% the resources of opencode and in a similar tui style.

    I think it's great and everyone should make their own.

  • OleksandrC 2 hours ago
    If you're looking for an agent implementation that is light on resources, but prefer to work in a terminal, consider also hax (https://usehax.dev/). Less than 2 MB fully static Linux binary, few MBs of RAM use in runtime. Works great with local models also (auto-detects config from running llama-server), besides the usual cloud providers.
    • vunderba 1 hour ago
      If you’re the creator of this harness, you should disclose that. I have nothing against self-promotion, it’s just considered good practice.

      Some feedback but it might be worth calling out how your harness differs from other relatively light-weight ones like Pi. I assume its got a much smaller memory footprint given yours is C versus Pi's. There are so many agentic harnesses out there that a comparison table might be a nice thing to have on the landind page.

      Note: Just to be clear, I'm not accusing you of trying to hide it, given that the GitHub account for Hax is basically identical to your HN account.

      • OleksandrC 1 hour ago
        I am the author of hax, yes.

        If you are familiar with pi, then some of the key features listed on the GitHub page (and website) already illustrate substantial differences: hax is much smaller in footprint (I wouldn't even call pi "light-weight", really - heavy js runtime with a lot of dependencies), hax preserves native terminal scrollback (pi uses alt-screen fullscreen, or clears in some cases in differential mode), hax uses normal XDG dirs (pi uses ~/.pi), hax is extended out-of-process (pi suggests in-process plugins).

        There are other differences in presentation, and in features (for example, hax has background bash invocation out-of-the-box). Not practical to list all of them.

        • vunderba 54 minutes ago
          Thanks I'll have to set aside some time later to try it out. It's kind of a sliding scale, but pi is definitely lighter-weight when compared to harnesses like Opencode and the all-batteries included "Oh-My-Pi".

          And of course, “lightweight” does have a lot of interpretations where harnesses are concerned (memory footprint, binary size, performance, system prompt, etc).

    • eleventen 1 hour ago
      I don't understand the value proposition. It “works great for local models” (they all do) so you’ve got more RAM than you possibly need for any TUI you might want to run. Are people really fretting over a few MB of memory rather than evaluating these tools on their ergonomics and features?

      Why would anyone aside from a C hobbiest want to use this? And what does terminal native even mean?

      • ithkuil 17 minutes ago
        I already found myself being limited by Memory used by Claude code, about 300MB per session. With 40 sessions that eats up quite a good chunk of my laptop's memory

        Not a big deal since most of my sessions were parked so I just found a way to have them exit without losing the screen content (I took a screen dump from herdr) and a simple wrapper script that waits until hit enter to resume the session.

        I don't _ have _ to switch to a lighter weight harness, but I'm not oblivious to memory usage

      • OleksandrC 58 minutes ago
        Typical coding agents of today consume hundreds of MBs of RAM. Once you add GUI into the mix, that could easily slip into GBs. You might feel the difference, when you're trying to fit a capable local model into small amount of local RAM.

        Even on 64 GB RAM machines you could easily get memory pressure on the system when trying to work with a chonky local model. Consider also resource-constrained cases like small VPS servers or SBC computers (like Raspberry Pi).

        Ergonomics and features are included too here. The point is that these can coexist with small resource footprint.

  • chiengineer3 5 minutes ago
    I created one as well with rust and tauri works great
  • julesrms 1 hour ago
    Great to see what you're doing there, but speaking as a 30-year hardcore C++ veteran (to the extent of creating my own C++ GUI framework: https://juce.com)... When I was writing a code agent (https://github.com/juggler-ai/juggler), there's no way I'd have used C++ for an agent GUI!

    Agent UIs are all markdown, HTML, big scrolling lists, text flow, unicode chars, and all the other stuff that C++ frameworks are terrible at, but which is a doddle in HTML/CSS/JS.. You are a brave man!

    • nico 1 hour ago
      > and all the other stuff that C++ frameworks are terrible at, but which is a doddle in HTML/CSS/JS

      This is very interesting. I know that coding string-related stuff with C/C++ can be incredibly tedious and error prone (even hard security-wise). But all the stuff in the web-related stacks/libraries in other languages, is either already somehow being transcompiled to C to execute, or could be relatively easily ported/reused by directing an LLM/agent to do it

      Do you think that could work to make C/C++ better at this? What things would you import/copy from elsewhere?

      • julesrms 25 minutes ago
        Strings are trivial in C++. Drawing 2D graphics is fine, many libraries do it. Creating old-fashioned component frameworks (like Qt, JUCE, etc) is easy. I implemented all those things on my own, decades before AI.

        The hard bit is when you have complex, responsive layouts involving text. (And styling it)

        Something seemingly trivial like an agent-style chat containing markdown text blocks, where it's expandable and smoothly scrollable is insanely difficult. The only frameworks that do this well are browsers, and the amount of horrible, horrible logic hidden inside them to make it look easy is hard to believe.

        And since in many agents you're also going to want to display actual HTML, unless you're going to embed a browser engine in your C++ library, that's just not doable.

    • joshheitzman 28 minutes ago
      I used the wxWidgets C++ GUI for my coding agent ( https://github.com/fluxmoot/fluximp ) not directly in C++ but in Python via wxPython. While wxWidgets doesn't have a full browser level implementation of HTML/CSS/JS it has enough HTML support for rendering markdown converted to HTML just fine. I'd imagine Qt would have no problem with markdown either.
  • bensyverson 1 hour ago
    There are so many cool harnesses I could use if I didn't have an outrageously subsidized Claude subscription
    • Rabbit504030201 54 minutes ago
      Try them anyway. Tell your employer about all the principles of freedoms that free, self hosted AI enable. It does not have to dwarf other costs.

      Do not worry about vendor lock-in. Standing against big corporations was never easier in this century.

      Do it. You know you can.

    • KetoManx64 29 minutes ago
      I just built my own tools and then just drive claude with 'claude -p' through them. Works great for controlling claude from my own android app.
      • rendaw 10 minutes ago
        Yes, write your own custom harness harness.

        This is what I'm doing too, and it's so much better. No more blocking copy/paste, no more stuck title bars, it actually sends notifications only when I need to give it input, it feels snappy, it doesn't destroy the scrollback buffer, messages are timestamped, I can copy my prompt out without spaces being added, it automatically bumps the agent to check when background processes run too long, and I added a sandbox that actually provides a modicum of security.

    • thekuanysh 1 hour ago
      so what's the point? you can use claude sub.
      • mapontosevenths 1 hour ago
        Claude doesn't allow third party harnesses unless you pay the full API price. Attempting to avoid that by pretending to be Claude code gets your account banned. Google is the same and will ban your entire Google account.

        AFAIK - Of the big three only OpenAI explicitly allows third party harnesses without paying exorbitant API rates. It's one of the primary reasons I still use them.

        To avoid these problems some folks use tools like herdr which operate like tmux or via the SDK to drive the official harness, rather than speaking directly to the API routes.

        • brandonhorst 1 hour ago
          This was true but no longer is
        • NorthSouthNorth 1 hour ago
          They apparently rolled this decision back.
          • rbehrends 1 hour ago
            What they rolled back was charging claude -p "..." and use of Claude Code as an ACP agent at API rates. But the use of OAuth2 authentication with their subscription plans still feels at least risky: https://code.claude.com/docs/en/legal-and-compliance#authent... (granted, the wording is anything but clear).

            Whether and under what circumstances they actually enforce this these days, I do not know. Regardless, if your preferred harness does not support that authentication flow (which most don't), then it doesn't really help you even if you could. For what it's worth, I do not consider the Claude Code ACP adapter an adequate solution.

  • saejox 35 minutes ago
    i believe a harness is a personalized thing. everyone should develop their own. doesn't take long to have a working prototype, after that you can extend it as you use it.
  • gapo 1 hour ago
    As a counterpoint to a lot of the comments on this now portraying this as dated and questioning the stack behind - this is has the guts of great enterprise level software. Once you’ve serious data being thrown at something built on JS and run into OOMs, that’s when good old C(rust in the future maybe) stack shows these up.

    Love to see such a strong tasteful take on software heralding back to the age of solid desktop apps.

    • ggsp 1 hour ago
      Rust in the future? Excuse the flippancy but what is missing nowadays?
  • zzunkie 1 hour ago
    A year ago I never felt my MacBook was short on resources, but these days I find myself thinking a lot about the performance of harnesses and agent tools.
  • thehamkercat 2 hours ago
    So much efficient use of space though, would love to have this UI on top of opencode/codex

    App-server protocol: https://learn.chatgpt.com/docs/app-server

    Opencode: https://opencode.ai/docs/server/

  • stickfigure 1 hour ago
    There are so many Prosperos already. Why choose a name that is so heavily overloaded?
  • Rabbit504030201 51 minutes ago
    I'd really like to see a comprehensive test of all of those 100s of agentic harnesses. Get a billionaire to give a million to crunch through them all within a week or so.
  • eric15342335 2 hours ago
    How does this compare with Zed though?
  • BewareTheYiga 2 hours ago
    I like how this is laid out. Will have to give it a try.
  • post-it 2 hours ago
    > (You can’t use your Claude subscription.)

    How come?

    • smashed 1 hour ago
      Anthropic only authorizes their own Claude code to be used with a subsidized subscription.

      They want you to use and get accustomed to only their own tools. If other coding harnesses were allowed, it's far too easy to switch providers.

      They can't allow that, because they only have a few months of head start.

      So everyone accepts Claude code which is required for these sweet subsidized tokens.

      • well_ackshually 1 hour ago
        That is old. Every harness (herdr, paseo, pi, etc) uses claude through the Agent SDK, and this draws from your subscription, not API pricing. If you're thinking of going with the "but Anthropic could ban every user doing this", if it's good enough for Google to slap it in Android Studio for everyone to use, it's good enough for you in literally any other harness.
        • smashed 1 hour ago
          Google has an agreement with Anthropic for the usage inside Android Studio.

          > Unless previously approved, Anthropic does not allow third party developers to offer claude.ai login [..] for their products.

          ref: https://code.claude.com/docs/en/agent-sdk.md

          Yes there is a huge gray area. Yes people are getting away with it. That does not mean it's allowed. Anthropic could clarify their terms any day and they don't, on purpose.

          • post-it 52 minutes ago
            Harnesses don't use claude.ai login, they use your `claude` binary.
        • Zambyte 43 minutes ago
          Herdr is a harness aware terminal multiplexer, not a harness itself.
        • bendowlingdev 1 hour ago
          I dont think you know what a harness is.
    • indymike 2 hours ago
      The Claude subscription does not include Claude API usage.

      Claude behaves in Claude Code somewhat differently vs other coding harnesses (sometimes it's a remarkable improvement) connected directly via api. Also, it cost more than the subscription. There's quite a bit of baked in tooling and assumptions in Claude code that may be good for you, or unhelpful based on what you are doing.

      • neuronexmachina 1 hour ago
        Minor correction: the $20 Claude subscription doesn't include API usage, but the $100 and $200 subscriptions include a corresponding amount of monthly API credits.
    • thih9 2 hours ago
      You’d need to use Claude API pricing (pay as you go, not a subscription).
      • post-it 1 hour ago
        No you don't, Claude subscriptions allow headless use (either via claude -p or by wrapping the session) for personal use.

        T3 does it this way.

    • joeyoung111 1 hour ago
      [flagged]
  • devmor 2 hours ago
    What a beautiful and space efficient UI. I love Dear ImGUI and the people that build interfaces with it.

    Reading through the whole post, this sounds like an thoughtfully and intentionally designed product. One with strong opinions and the developer’s real lessons behind it. In the current era of slopware- especially around AI tooling - this is giving me damn near an emotional reaction. I am happy to see this.

  • brador 1 hour ago
    Prospero was the original code name for the ps5 console that is recently jailbroken. That’s why you’re seeing a lot of other unrelated projects with this name too.
  • lifeisloving 2 hours ago
    >Prospero is a native GUI application for Windows, macOS, and Linux

    But right above this statement, on the Professional Edition purchase page, it says its only for Windows and Mac..

  • khalic 1 hour ago
    magnus breaths heavily
  • neuroelectron 45 minutes ago
    JavaScript is just about the worst thing ever and why would you use that as middleware for anything if you didn't have to? I mean, I get using Visual Studio Code, if you don't care about your business processes, intellectual property or engineers and are just outsourcing everything, but imagine actually trusting it for your coding stack like some kind of middle manager who only cares about cutting costs to the bone? Or like, you're riding the AI bubble and want to release some minimal viable product as fast as possible, but it's 2026 now. Covid was 6 years ago.
    • nabeards 41 minutes ago
      Nothing but snark in this comment. You can and should do better.
  • msarda_23 1 hour ago
    [flagged]
  • arbor-group 2 hours ago
    [flagged]
  • sick_of_slop 2 hours ago
    [dead]
  • keepo404 2 hours ago
    Looks like shit and part with professional edition killed me. Bro are we in 2000?
    • jrm4 1 hour ago
      I had just about the opposite reaction. As in "hey are we in 2000? nice!" Like back when you couldn't much afford to have stupid bloat and there was much better attention paid to "just do the thing and nothing else?"

      Can't wait to try it.

  • smashed 2 hours ago
    First time I see a software licensed with the Unlicense.

    I thought it meant the license was missing on GitHub but, no, it's an actual license called the Unlicense.

    But then there is the Community and Pro edition so which is which on GitHub? Is the pro version hidden somewhere?

    Plus a c++ code base in 2026. I think modern c++ can be made quite safe but I need some claims that it's taken seriously which I don't see.

    I'm confused.

    edit: I'm getting down voted here and no-one is telling me what I said wrong. These are my first impressions on the project. I think it's valuable feedback. Please reply and explain why I'm wrong instead of just down voting.

    • Jtarii 1 hour ago
      I don't think this project is for you then.
      • smashed 1 hour ago
        I thought I was giving valuable feed back. There is something I'm missing here I guess.