Better HN
topnewbestaskshowjobs
Log inSign up

mickeyp

2,331 karma · joined Dec 9, 2011 (14y ago) · 575 submissions

Python and Emacs afficionado.

I built dreamcoder.ai, it's a coding harness for people tired of squinting at terminal windows and want a real UI without any compromises. It runs in your browser on your hardware. It has a tiling window manager, proper keyboard support, and oodles of quality of life features for those of us who runs dozens or hundreds of agents!

I am also the author of "Mastering Emacs" book and blog - see masteringemacs.org

I write a lot of (mostly emacs lisp) open source here:

http://github.com/mickeynp/

You can email me on mickey at semantical.co.uk.

Submissions

comment 2d ago · link · parent

Hm that is curious. For that particular line does work for me; odd. Might be an OS thing.

comment 3d ago · link · parent

Correct. Just mount stuff you want into the container.

comment 3d ago · link · parent

I don't know about proxying, to be honest, but honestly I'd just be careful given the table stakes of Google nuking from orbit anything tied to it.

comment 3d ago · link · parent

Thank you so much for the bug report.

Copilot: note I only support "Enterprise" copilot plans at the moment. If you have a normal Github Copilot (sigh why can't they give these things unique names...) it's unlikely to work. Last I checked they had very low context windows on the "Classic Copilot" subscription but that may have changed? That is why I did not support it. But I will have a look though.

Muse: Another inference engine with its own takes on tool_choice setting required. Thanks for that. That's a legit bug. Will go reproduce now.

comment 3d ago · link · parent

The default copy-pasta on the site has the callback port forwarded back in using the localhost trick like so: `... -p 127.0.0.1:1455:1455 ...`.

If that does not work (and an AI can't figure it out for you either) -- do email me and I'll try and help.

comment 3d ago · link · parent

It will not run in Emacs. Emacs is great, but it's fundamentally unsuited, today, in its current shape -- and by Emacs I mean GNU Emacs specifically -- to a high-fidelity, asynchronous and highly parallel agent workflow engine.

I wish it did fit the mould --- it does not. Not for what I want.

By all means avail yourself of DreamCoder's features and port them yourself though.

comment 3d ago · link · parent

It has a keyboard-driven UI with avy-embark style combos for the chat panes, and general keyboard-friendly driving for many other things.

I don't have issues with terminals; but they are a terrible fit for the future of coding. If people prefer terminals, great! We have many wonderful tools that fill that role, so everybody can have their cake and eat it.

I do not share that view though!

comment 3d ago · link · parent

It is compiled. It's compiled with nuitka. So you're technically not right about that.

I tested all the importers and I have subscriptions for all 3: Copilot Enterprise, Codex, OpenCode + a Go Sub. And they import just fine.

I would like to try and help you -- can you email me please?

comment 3d ago · link · parent

That's not a bad idea for a blog post, actually. The answer, in brief, is it took a very long time with a lot of iteration.

Yes the moon was one of those... happenstance ideas. I'd been noodling around (as I like to do when I'm feeling creative) with MidJourney which is hard to steer but does generate beautiful art. And the rest just fell out of that primary hero image on dreamcoder.ai over time.

The irony of course is without AI most of these ideas would just remain that. Before I'd design all manner of creative stuff and then immediately scrap them because they never lived up to the design aesthetic I wanted. Now that still happens, but it takes seconds instead of hours or days to redo.

comment 3d ago · link · parent

DreamCoder reads skills. I'll improve the help to make it clearer where it looks for them, but it is documented in "How to use and create Agent skills." It looks inside `.skills` in a project root or your home directory. Importing them is not a bad idea either. I hadn't thought of that. I have never used 'omp' before; but if it has its own settings, I will try to get that running also.

As for hooks. There are two: shell command and new chat. Former triggers when a shell command is about to be executed; the latter when there is a new chat. If you need more, drop me an email and I can try to support it.

As for supporting people's pet workflows: DreamCoder is its own thing. I will endeavour to support a wide range of things, but it has its own rhythm, and that means adjusting to it.

"Open in studio" opens the designated primary agent. You can create another if you wish to control tool and prompts for your main chat agent.

comment 3d ago · link · parent

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?

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

Auto tab: sorry about that. I got lots of feedback saying it should open a tab. You can't win :-)

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.)

comment 3d ago · link · parent

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!

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.)

comment 3d ago · link · parent

Thank you for your kind words :)

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.

comment 3d ago · link · parent

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.

comment 1w ago · link · parent

Most distillery bottlings use caramel to maintain colour across batches. They also chill-filter to remove sediment. I don't agree with either, but a lot of whisky drinkers are "regular" drinkers who may wonder why the colour of their whisky changes from month to month and if a lighter-coloured one is a mark of a lesser whisky.

As for Glengoyne: they're fine. Their sherry cask whiskies are probably the better ones. If you can get your hands on single cask ones, they can be quite wonderful.

comment 1w ago · link · parent

Ah, I think I misunderstood you. Sorry about that.

You can use any model you like with dreamcoder. The harness steers the models well, and they'll turn out the same quality code as the other frontier harnesses.

I use several: Qwen 3.8 27B for local, which is a cracked little model; a Codex sub (Astra, Sol); and the free monthly credits I get with my claude sub for UI/visual stuff.

comment 1w ago · link · parent

I'll definitely take a look at Tauri. Thanks for turning me on to it.

comment 1w ago · link · parent

That it's on the same, level playing field as your favourite harness.

That's not so easy to achieve as you might think. Like all good software you can get 80% of the way to something quite quickly; it's the remaining 20% that takes a long time.

As for code generation, I'm not sure what you mean precisely?

12345
20