A

A Coding Agent from Scratch

Hacker News

A Coding Agent from Scratch

I saw a post about building a coding agent from "first principles" and that inspired me to create my own. I used my own custom Rust-based ML DSL to implement this. The blog post includes link to the repos (MIT Licensed), a video of the agent in action, sample code produced, and an Emacs org-mode literate programming document explaining the implementation and tests. There are links to an interactive playground for the sw-MLPL language. The git repo can be used to run this agent locally on a system with Ollama and a coding LLM. Does not yet connect to cloud LLMs. I hope this helps someone learn how a coding agent can be built. Inspired by (but not ported from) OpenCode.

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, agent, coding · Missing: agents, macos, cursor
93%93% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: llama, ide, io · Missing: https docs, excited, just released
65%65% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
61%61% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video · Missing: mobile apps, ios, personal
34%34% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
30%30% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Strong signals: active · Missing: arr, mrr, revenue
21%21% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Be
Bestie, a coding agent that respects you59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bestie, a coding agent that respects you

Hacker News5
Ba
Bailout – The coding agent meant to be deleted53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Bailout – The coding agent meant to be deleted

Hacker News2
Pr
Premortem, a coding-agent-powered airplane blackbox70%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Premortem, a coding-agent-powered airplane blackbox

Hacker News3
Me
MeshCore – Why do I have to build every agent from scratch?31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MeshCore – Why do I have to build every agent from scratch?

Hacker News1
Ne
Nested VMs from Scratch in C66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Nested VMs from Scratch in C

Hacker News4
A
A debugger from scratch – part 166%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A debugger from scratch – part 1

Hacker News3
Ja
Javadoc Rewritten from Scratch61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Javadoc Rewritten from Scratch

Hacker News9
MM
MMOBomb 4.0 – I rebuild it from scratch61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MMOBomb 4.0 – I rebuild it from scratch

Hacker News1
GC
GCounter CRDT Implemented from Scratch in Golang56%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GCounter CRDT Implemented from Scratch in Golang

Hacker News1
The CEO's Brainpan
The CEO's Brainpan27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An itch that I can't quite scratch.

Indie Hackers24communication