cd /news/ai-agents/show-hn-a-coding-agent-from-scratch · home topics ai-agents article
[ARTICLE · art-131716] src=blog.softwarewrighter.com ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: A Coding Agent from Scratch

A developer released a coding agent built from scratch using a custom Rust-based ML DSL, publishing the implementation under an MIT license with a demo video, sample code, and an Emacs org-mode literate programming document. The git repository runs the agent locally on a system with Ollama and a coding LLM, and it does not yet connect to cloud LLMs. The project was inspired by, but not ported from, OpenCode.

read1 min views1 publishedSep 16, 2026

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

── more in #ai-agents 4 stories · sorted by recency
── more on @ollama 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-a-coding-age…] indexed:0 read:1min 2026-09-16 ·