27 comments

  • everforward 13 hours ago
    It's interesting (and probably correct) how much this focuses on the UI.

    I also looked (/am looking) at Lisp and AI, but I went with Clojure and zero-ed in on the REPL driven development. The high level idea is that a session maps to a namespace in Clojure. When you create a new session, it makes a new namespace, injects tools that are bound to that session into it, and then swaps you into that namespace. So I can do something like:

        (new!)
        (prompt! "Write me a script that does ....")
    
    The agent configuration, tools it has, etc, etc are all bound to the namespace so you can drop a tool or change the model just for the session.

    The agent also has a tool (that I've tried to encourage it to use almost exclusively) to execute code in the session's namespace (via nREPL, so same JVM as yours is connected to), so you have full access to any variables it declares, functions it makes, etc.

    The idea was to be able to work collaboratively with the agent. I can e.g. load API data into a variable, point the agent at the variable, and it does stuff. It's also capable of modifying its own code. I semi-routinely poke it by asking it to add features to the harness and then use them ("add support for subagents in this workspace, and then invoke a separate agent to handle each of these tasks"). I've also had it add support for a new inference provider, swap the session to that provider and then start doing some other task.

    It's very neat, and it's wildly insecure. E.g. prompt injection could theoretically make the LLM change itself to hide messages from you, there's nothing to prevent that. I'm actually not sure how you'd even go about trying to secure that, which is why it's probably a terrible idea. Fun, though.

    • maxwelljoslyn 7 hours ago
      > The high level idea is that a session maps to a namespace in Clojure. When you create a new session, it makes a new namespace, injects tools that are bound to that session into it, and then swaps you into that namespace.

      Oh, that's a fascinating idea. Well done.

  • unj 51 minutes ago
    I really wanted to love this. I had so high hopes...

    For context, I am a long time emacs user. I am pi (eventually ohmypi) user. I feel like with each of these, you can start fast, on a very entry level, gradually extend it to your needs while you learn. They feel similar to what you're used to, until you customize the heck out of them, and they no longer do...

    DreamCoder unfortunately made me feel dumb from the get go. Like I landed on another planet. Maybe I am old and too used to the terminal, filesystem, etc to learn new tricks, but honestly I do not even where to start with something I would know, like gsd-core, or any other established plugin from a marketplace, to hit the ground running... (not even mentioning to transfer anything I have customized in omp so far).

    Or maybe it's just a complete lack of docs. Dunno.

    • mickeyp 23 minutes ago
      Sorry to hear about the onboarding experience. That's on me. It has manuals, interactive tutorials, popup context help, and a model setup wizard.

      If you use Pi, click "Import from Pi" in the model setup wizard. The next version will have an interactive butler you can use that can call DreamCoder itself. I wanted it in this version, but... then that's also why it took me 15 months to ship this because I keep adding more :-)

      I don't know what "gsd-core" is --- is it an essential feature to you?

  • spockz 4 hours ago
    I just read the whole announcement and boy I wish more text was written like this. Full of history, facts, and reasoning. Beautifully written. (I recognise it is a tad long of you just want to get cracking with it.) A very nice refresher in this age.

    I’ll be trying it out soon. Hopefully it does sandboxing and dealing with antigravity and codex well.

    • mickeyp 2 hours ago
      Thank you for your feedback. It took me weeks to write this; dozens of hours. Yes it is a bit long: my achilles' heel.

      It can sandbox if you run it in docker; you can hook shell commands and `bwrap` them but there is no built-in sandboxing. It works great with a codex sub.

      Antigravity's TOS prohibit third-party harnesses, and the last thing I want is to get people's google accounts banned, so that sadly does not work. (But I hear scuttlebutt on Twitter from the Gemini team they're trying to loosen that restriction.)

  • FailMore 5 hours ago
    I built https://smalldocs.org / https://github.com/espressoplease/smalldocs to handle some of the problems Mickey is trying to solve. It's a cli your agent can call to open up a markdown file in the browser with richer-than-normal formatting options.

    Here's an example SmallDoc that has a few formatting examples (mermaid diagrams, charts, etc.): https://smalldocs.org/s/bLV9Fe2RemM7ipvCy01NXo#k=U9yFaCKp1on...

    I'm a so-so programmer, and often the agent can come up with ideas which I need to be broken down to fully grasp. I ask my agent "produce a sdoc on this [architecture/bug/flow]", or "walk me through every db interaction with sample tables as we save this record given our approach to permissions in a sdoc", etc. And then the agent can pop me open a document in the browser for me to understand in a richer visual space.

    The current version on my site is cloud based (I've been experimenting with turning it into a business), but there is also a local first verion where the document lives in the url fragment. If you want that, point your agent at my codebase and they will sort that out for you.

  • julienchastang 13 hours ago
    Relatedly, I have installed my customized emacs inside a container that also has codex and a bunch of other niceties. In short, having Codex and emacs side-by-side super-charges the concept of emacs. Why? Because you can ask AI to write emacs lisp quickly molding the coding environment you want for whatever task you are trying to achieve. And the container aspect makes the whole development environment portable. Despite its age, in the AI era, emacs is the gift that keeps on giving.
  • pimeys 2 hours ago
    Very interesting. I'll give it a go. I found out that just running a multiplexer with agents in separate workspaces is not enough to do my work, and I very often need to start a separate editor to read and investigate changes. I like to use Gram to read and navigate the code. Now if you have multiple things going on, switching the editor to a different project is a mental context switch that takes too much time and is not very easy to do anymore with more than three projects.

    So I've been using just Gram, with a remote session to our development server, and keep multiple windows open.

    DreamCoder could really be the best harness for me, if it keeps the whole context easy to navigate, but also provides me excellent code navigation and diffing tools. My way of working is to read and iterate on code with the agent, I'm never only vibecoding. So if I can open the code and the diff in the workspace that would simplify my work a lot.

    Another important part would be to forward local ports. If I start the system I'm implementing in DreamCoder, and I could then access the page I'm developing from the harness or if the harness could forward a port or path for me, this would remove the step of remembering to open ssh port forwards in another terminal. Now split the workspaces to separate paths maybe and you can open the different projects in your browser without needing to turn off and on the stacks all the time.

    If you could make switching the mental context easy with this, I'd start to pay for you immediately for the product.

    Edit: oh, and nix derivation and AUR package are probably just a matter of time. But very much needed :)

    • mickeyp 2 hours ago
      I have a Browser pane in Dreamcoder but I disabled it behind a flag because 'forwarding' things not localhost'ed is... very very challenging due to security risks. But maybe I can bring it back for localhost only? It works reasonably well.

      DreamCoder does not have code navigation tools per se. I would spread myself a bit too thin to do that right now also, but if you tell me more about your user story maybe I can build something reasonably helpful? Maybe AI-directed navigation where it builds up charts and slides? That is very doable.

      Keen to hear your thoughts!

      • pimeys 1 hour ago
        So basically I always want to monitor the changes the agent does, so git/jj changed files and diff view is really important. Refer the agent the parts you don't like and ask it to change. Sometimes you also want to jump in to the code, jump to definition and understand why it calls some APIs like it does in the diff.

        So this is kind of like three tricky components already: VCS, LSP, and code navigation.

        Then sharing the stack. At work we have a shared development server. So what we do is we use process-compose and split the network space with netns. Do a pipe to the right stack and load the website in your local browser. Now, if DreamCode could juggle multiple workspaces as it does already, but each workspace could have a view to the website it's working on. Very powerful.

        In general I love the DX. Nice work.

        • mickeyp 1 hour ago
          I think a lot of this can be done in a Terminal pane for terminal-shaped things, but it won't do for UI stuff. The other approach is to 'adopt' a site through a proxy which is kind-of what the browser pane does. I've resisted it because it's a serious attack vector for baddies.

          As for the website: yeah I'll re-enable the panel, but add some disclaimers so people don't try to do their online banking through it where random things won't load due to iframe sandboxing.

          • pimeys 1 hour ago
            Terminal of course would do. But the graphical diff of Gram editor is so good, and if you combine it with tighter integration with the agent this might be a great feature. Right click a part of the diff, ask the agent a question or ask it to make changes...

            There are people who say that reading code is not needed anymore. After a year in a company who kind of stopped that at some point, we all learned it's a horrible idea and now we carefully review and craft every change.

            • mickeyp 1 hour ago
              Right now if you click "Review" (on an assistant message, so in effect a reply to an email almost) or after it's stopped and click the purple review button, you can edit inline like MS Word track changes. "Commit" then sends the hunks back to the AI on your next turn to review. Works quite well. Caveat is it uses DC's own tools to track changes to files (because I want the system to be source control agnostic) - so YMMV if your AI goes blundering around making big changes in shell commands.

              The next step I need to do is to let users (or the AI help you) set up version control command to do that work instead of DreamCoder if you prefer that.

  • Kon5ole 46 minutes ago
    Very inspirational!

    My optimistic hope for the AI revolution is that people with good ideas can realize them into spectacular products in ways that were impossible before, and this seems like a good example of that.

    Consider the classic old scope-effort-time triangle. I think "Slop" is the result of locking the scope and reducing the time and effort. "I made this in a weekend!"

    A much more interesting approach is to lock the time and effort, and see what happens to the scope! "I spent a year working with AI on my idea, here's the result."

    I think us pre-ai devs are limited by experience, in a way. Our minds already eliminates ideas before we really consider them because we have a instinctive feel for what is even meaningful to consider. "Yah, I'm gonna make my own IDE, solo? Go to bed, brain you're drunk!"

    We'll need time to learn where we can go in a year now. Great post, OP!

  • doginasuit 11 hours ago
    How is this so beautiful? Both the article and the IDE. Really refreshing design.
    • ctippett 5 hours ago
      The visuals really stand out. It's actually the main reason why I decided to download it and give it a go.
    • mickeyp 6 hours ago
      Thank you for your kind words :)
    • philip-b 4 hours ago
      I actually hate the design because it looks like Claude-slop, even though I understand that that doesn't actually make the design bad. I just dislike it by association.
  • f2hex 2 hours ago
    There is no enough clarity about the telemetry. Which data is collected? Can telemetry be disabled? The harness sees everything I write so I want full control about what would be collected (and implicitly shared)

    Overall it seems innovative, however on my Mac M3 Max has some problems, sometimes hangs up...

  • 2001zhaozhao 12 hours ago
    FINALLY someone else made an orchestrator with a built-in desktop. This is the right direction for managing agents for sure.
    • Kon5ole 0 minutes ago
      The market for such tools is really crowded, but a solo dev doesn't need to find that many other users who "click" with the idea they have realized to make a living from it. I think this tool stands out and like the author's chances.

      Personally I try to avoid additional layers of abstraction when possible. Building muscle memory around the shortcuts in the actual OS and a good terminal app with tabs and panes has so far been enough. Even things like tmux feel like a level too deep for what I do. I run out of ideas long before I lose track of the agents!

    • brabel 2 hours ago
      I have been using ThinkRail from JetBrains and it also does that. It is based on the Pi harness but it is a GUI (built on ElectronBun which seems lightweight enough compared to Electron itself). It is moving fast! So download the Canary version which you can easily update daily.

      Though there is also IntelliJ latest release which can embed any harness into the IDE seamlessly. And the harness is given tools that the IDE provides which are very useful for agents! No more grepping for types like it’s 1986.

      I have been using ThinkRail and the harness in IntelliJ lately, but my main driver is still the Claude Desktop app just because it’s good at keeping agents working in git worktrees (a mandatory feature) and lets me use Claude via the subscription plan, rather than API billing the other harnesses require.

      Anyway, DreamCoder seems similar to ThinkRail so I will give it a try as well, the author seems to have put a lot of thought to the design.

    • gmmachine 10 hours ago
      Agreed.
  • esFran 6 hours ago
    Very interesting, in deed.

    I think it is one of the correct ways to harness all the power of AI. A set of workers doing your job in a very clear way.

  • rthimian 14 hours ago
    That really looks interesting. Both in terms of functionality and in terms of the visual design. Refreshingly different.
  • hasbot 13 hours ago
    Should have linked to the actual harness and not some incredibly long article: https://www.dreamcoder.ai/
    • atrus 13 hours ago
      I liked the article, it provided contest to everything, as opposed to a rather bland homepage. I won't even call it a AI generated since it looks like...every other bland tool homepage from the past 15 years lol.
      • hasbot 12 hours ago
        On the article I kept scrolling and scrolling to see a description of the harness and what it does. The "bland" homepage does exactly that.
        • disgruntledphd2 4 hours ago
          Yeah, the article is almost entirely context. I think for most of his readers, that was the right approach but it's not ideal for HN (unless you're already an Emacs nerd).
  • hobo123 3 hours ago
    minor nitpick: Huge font, tiny videos on mobile Firefox, but the content is great.
    • globular-toast 2 hours ago
      You should be in control of the font and video size. Blame your browser. Surely we could fix all this with vibe coding.

      "<Anthropomorphised LLM harness>, sometimes the text is too big on websites I read, fix it."

  • noir_lord 1 hour ago
    > So in May 2025 I decreed that I would build a better harness, and surely now that I have AI this should not take more than 2 or 3 months to build.

    > And so, after 15 months of work

    That got a genuine chuckle, so many times in my career I've done the "shouldn't take more than X, it's not that <whatever" and it's been 2-8 * X in the end.

  • metroholografix 53 minutes ago
    I don't see how this survives, it's not open source and is way too limited compared to a custom harness that one can ask an LLM to iterate on. The barrier-to-entry for such work keeps getting lower and it won't be long now that bespoke software tailored to each individual's preferences will be the order of the day.

    The power users that live in Emacs will of course do even better by building on top of Emacs (which is really close to an optimal substrate for agent coordination work).

    Ironically, it seems "the author of Mastering Emacs" (which overpromises and underdelivers, if you really want to master Emacs, go read the more-than-excellent official documentation and skip this) didn't internalize the most important lesson that Emacs teaches: end-user empowerment.

  • croes 24 minutes ago
    I‘ll wait for the open source clean room clone
  • chilicuil 11 hours ago
    it seems it doesnt work with the antrophic suscription model, nice project to try later
    • mickeyp 6 hours ago
      Anthropic won't allow harnesses other than Claude Code for their subscribers. That is why. You can still use their free monthly credits or API keys with DreamCoder.
      • mitjam 5 hours ago
        Thank you for your beautiful project and article. Thery’re very close to me, haven’t felt that excited about programming since my early days on the Amiga.

        I was already on the fence of halfing my Claude ultra to put some coins into OpenAI’s subscription. DreamCoder might pull me over.

        • mickeyp 5 hours ago
          Glad to hear it. It was hard writing the post. I have programmed since I was a kid, and my identity is locked up in programming. But I also know that our industry keeps reinventing itself, and after 30 years most of the work I do is stuff I have seen before, and done many times.
      • rramon 5 hours ago
        They must have changed this because you can bring your CC sub into other ADEs like T3 or Amp and use the CC agent together with other agents.
        • rthimian 2 hours ago
          No, they didn't change it. All the requests you mentioned and also Opencode send them to Anthropics' own Claude Code via the Claude Agent SDK. So you have a harness in a harness.

          That's how I understand it at least.

        • mickeyp 5 hours ago
          I will check their TOS, but I am fairly certain they are using the Claude Agent SDK or just support API key only. (Which DreamCoder also does; you can use pay as you go with Ants' endpoints.)
      • punchmesan 4 hours ago
        They do, it just dips into "extra usage". And some of us on Claude Enterprise can trivially authenticate a harness via OAuth but are not empowered to create API keys.
        • mickeyp 4 hours ago
          Okay, I can add OAuth for Claude support for sure. I just have to be careful it does not violate the TOS. I would hate for someone to get into trouble because of DreamCoder.

          Thanks for clarifying.

    • intrasight 8 hours ago
      Really? That is problematic. And why?

      And while I'm here:

      > Browsers lock you out of some rather important Emacs button combinations.

      Which ones? I use emacs in the browser all day. I just had to disable all the keyboard shortcuts in the browser settings.

      This long article about lisp and emacs and then this lame and incorrect excuse for not supporting emacs keybindings? WTAF!

      • Uhhrrr 7 hours ago
        C-n gives you a new browser window instead of moving to the next line, that's a pretty big one.
  • moneybunny 4 hours ago
    your computer comes with mouse support, why not use it
    • defrost 4 hours ago
      not everyone's got time to waste
  • weavermarquez 14 hours ago
    Oh, that's exciting! I have been disappointed by Steve Yegge's attempts at emacs-inspired coding harnesses, and options like ECA using ACP have always felt a little too behind for me, so I honestly felt like an insistence on sticking with Emacs for coding / AI interfacing was actually holding me back. But I'm certainly excited to see what Mr. Mastering Emacs has to say about it.

    One request, which I'm emailing in for: arm64 builds for Linux, since I use Asahi.

    • ngai_aku 11 hours ago
      You mention ECA, but did you ever try agent-shell (which also uses ACP)?
      • weavermarquez 4 hours ago
        I had problems with agent-shell because background processes blocked user input, and a bunch of other papercuts e.g. AskUserQuestionTool; lack of multimedia inputs and outputs or other niceties like tool/skill search/attachments/image-copy-paste in user inputs; inconvenient buffer switching behaviour when handling tabs + windows + project views.

        Alternatively, claude-code.el had other issues like flickering on libvterm and EAT with evil mode; and edge cases with properly integrating libghostty with all keybindings in doom evil keybinds. I suppose I could fix those with coding agents now.

        • xenodium 1 hour ago
          agent-shell author here. Curious, how long since you last took it for a spin? Many of the features mentioned have been supported for a while now.
    • rootnod3 14 hours ago
      Can’t you just add it yourself with AI?
      • weavermarquez 7 hours ago
        I would normally fork it and submit a PR to support it if I had a github link!
  • jeffybefffy519 8 hours ago
    Mehhh i dunno, this seems like it missing a key point of actually make agent outputs reviewable.... thats whats missing.... and chatting to an agent to do tasks isnt the right input is what i feel.
    • mickeyp 6 hours ago
      I am the author. It has a review feature so you can see what the agent has done, provided it did it through the internal tools. In fact very little in the app is hidden.
      • jeffybefffy519 6 hours ago
        Hey,

        Thanks for replying! The thing I struggle with agentic coding is that code review has always been the worst part of the job - and now its basically 70% of the job. So to me, figuring out how to change that with agents helping build is a key area for improvement. So much of code understanding comes from the loop of running->watching->running->watching over and over, and thats kind of gone... I just dont know what replaces that so I can stay in the loop.

        Anyway, I applaud you for doing something different - I will definitely give it a try.

        • mickeyp 6 hours ago
          Yes we are still at the foot of the mountain, here.

          The Review feature works well enough, but it does not replace the fact the AI (especially the GPT models) wrote 20,000 LOC that you have to sift through.

          I think the longer term is a "local-only" CI-like system that has a million-mile long checklist it goes through; like tests and linting, of course, but more specific and tailored to what a human would flag. I've been playing around with that internally but it's a tricky way of solving the problem because coding has so many exceptions to the rule.

  • cmrdporcupine 11 hours ago
    Runs locally... but requires account registration to get a license and requires signing a EULA?

    Eh. This is a saturated market.

    • mattbis 8 hours ago
      No link to create_account or a link to website, I go to website I dont see how to make account... it also auto opens a new tab which is really annoying. Things I would make easily toggle via the tray - and fix UI.

      I will try it - since it looks decent. I am always weary of web ide since they used to have lags when typing... really like the look of it for sure.

      You have to make stuff - super easy to use and try... nobody has time!

      why not a try_it_out mode with guest login or equiv? A login has put me off also since now I wonder, what is it collecting. Hint: another thing to make very easy to see - " we don't collect anything except X, Y, Z "

      Great work all the same.

      • mickeyp 2 hours ago
        Auto tab: sorry about that. I got lots of feedback saying it should open a tab. You can't win :-)
    • dfish 3 hours ago
      [flagged]
    • komali2 10 hours ago
      Genuinely gobsmacked by your comment, I just assumed it was FOSS. https://www.dreamcoder.ai/pricing/ Nope!

      I remember ten years ago someone was showing me their cool jetbrains setup, my coworker came around the corner, looked over our shoulders, and said "imagine paying for an IDE." He was the local vimlord and later inspired me to get into building my own config for my own coding environment.

      That's all I can think now, about something like this. Imagine paying for an IDE... in 2026. Imagine running non FOSS code when you can just point Claude at a featureset and say "build this for me as GPL3. Don't make any mistakes."

      It also is strange to me that The Emacs Guy decided to keep this proprietary. Like, Emacs, as in GNU EMACS, as in made by that old wizard that won't even use a laptop with nonfree wifi drivers, as one of the ultimate expressions of his libre philosophy, that's where you cut your teeth, and you go and release a nonfree IDE?

      Edit: I mean just to show how futile it is to release non FOSS code these days: the "system prompt" (a collection of jinja templates, not one thing) instructs to adopt the tone of Benson Dubious but not tell anyone that's who you are. DeepSeek pulled it apart in about 10 minutes.

      • mickeyp 6 hours ago
        I am the author.

        You can literally see the system prompt in the app itself. You can configure it in the UI (Moon menu -> Agents -> PRIMARY).

        There are very few if any secrets from the user.

        As for pricing: I am not VC funded, nor a trillion-dollar AI company, so I cannot afford to give away the tool to businesses. It is, however, free for personal use.

        • nolist_policy 2 hours ago
          Quick question: are there docs for extensions/plugins?
          • mickeyp 2 hours ago
            That will come. I want AI-driven extension and plugin support. The backend can do it; the frontend can do it. It just needs to be built properly, which I am slowly ideating and architecting.

            What would you like to build?

            My vision is that you go "I'm trying to optimise a megakernel for my system, I'll need a dashboard that updates when you meet new goals" combined with the power of Jupyter/Mathematica's "notebook" design. That is what I am working towards.

      • aquariusDue 9 hours ago
        Eh, I think it's reasonable. From what I gather you'd only need to pay beyond 5 people using the application in the same business otherwise it's free for commercial and personal use.

        Also weirdly I believe the app will have more success with people who have picked up vibe coding rather than developers (the kind who'll reach for something like pi at least) though the marketing copy is all over the place and the blog post posits that the harness is aimed at everyone.

        What's really damning for me in the general sense is that regardless of harness used most people get pretty much the same result (visually at least). Which harness you use is pretty much up to preference or "taste".

      • cmrdporcupine 10 hours ago
        I actually pay for JetBrains. Or did until recently.

        This? I'd need a compelling argument.

        • gmmachine 10 hours ago
          I found JetBrains clunky, it feels like Macromedia only for today.
          • hobo123 2 hours ago
            Same. For Java coding I much prefer eclipse, it's ugly but very powerful and more convenient (and I've regularly tried Idea for a few weeks full time once per year in the past, so it's not like I haven't tried; stopped a few years back). For non Java VSCode does the job for me (edit: and I don't have to pay for the pro version to get JS support or something like that).
      • newsclues 9 hours ago
        Imagine paying for software
  • jiuge1926 11 hours ago
    [flagged]
  • wangguode 8 hours ago
    Owning the harness rather than treating the model as a magic black box is where all the real reliability gains come from. Two primitives that made the biggest difference in our own agent harness:

    1. Pre-tool AST/command boundary checks before execution rather than relying on system-prompt warnings. 2. Aggressive stdout/stderr truncation (capping tool output tokens before context bloat triggers silent instruction drift).

    Curious how DreamCoder handles long-running test output or background server logs inside the Emacs buffer loop without blowing up context.

    • mickeyp 6 hours ago
      I am the creator. It handles all that trivially. You can hook pre shell commands and decide waht to do with them with a shell script you write. It does not run in Emacs though. It is its own thing.
  • keyle 9 hours ago
    I read the whole thing and the argument is long to come as to why this is superior to other harnesses; and it appears to come down to "I have taste" therefor "this is better" because I said so.

    No actual metrics and something very much in the feels of Omarchy.

    Thank you for your closed contribution to humanity, I guess. Release the source.

  • Uptrenda 9 hours ago
    The aspergian obsession of making 1000 different versions of the same thing. "Bruhh this wheel is going to be more of a good wheel than all the other wheels bruhh. I consider it a good use of my time compared to working on original problems." Almost as heart warming as the people porting every code base between languages because of their strange religious / cult beliefs. I am angry.

    Before anyone says I'm hating for no reason: does anyone here have an issue with the existing tools? Does it not already do more than enough? Can the most basic interface that exists already do what you need? Did author ask anyone before building it?

  • chao86825 4 hours ago
    [flagged]