Preview of Coding Agent from ScratchOpen blog.softwarewrighter.com

blog.softwarewrighter.com/2026/09/16/ai-tools-coding-agent-in-mlpl

Coding Agent from Scratch

A coding agent built from first principles using a custom Rust-based ML DSL, with MIT-licensed repos, interactive playground, and Emacs literate programming documentation.

Visit project

Show me a random project

First shared
Sep 16, 2026
HN activity
20

Show HN@softwarewrightSep 16, 2026

Show HN: 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.

Community

Hacker News discussion

Loading the thread…