# Show HN: A Coding Agent from Scratch

> Source: <https://blog.softwarewrighter.com/2026/09/16/ai-tools-coding-agent-in-mlpl/>
> Published: 2026-09-16 16:30:10+00:00

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.

Comments URL: [https://news.ycombinator.com/item?id=49729456](https://news.ycombinator.com/item?id=49729456)

Points: 1

# Comments: 0
