{"slug": "show-hn-a-coding-agent-from-scratch", "title": "Show HN: A Coding Agent from Scratch", "summary": "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.", "body_md": "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.\n\nThe 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.\n\nThe 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.\n\nI hope this helps someone learn how a coding agent can be built. Inspired by (but not ported from) OpenCode.\n\nComments URL: [https://news.ycombinator.com/item?id=49729456](https://news.ycombinator.com/item?id=49729456)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-a-coding-agent-from-scratch", "canonical_source": "https://blog.softwarewrighter.com/2026/09/16/ai-tools-coding-agent-in-mlpl/", "published_at": "2026-09-16 16:30:10+00:00", "updated_at": "2026-09-16 16:45:03.388308+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Ollama", "OpenCode", "Rust", "sw-MLPL", "Emacs"], "alternates": {"html": "https://wpnews.pro/news/show-hn-a-coding-agent-from-scratch", "markdown": "https://wpnews.pro/news/show-hn-a-coding-agent-from-scratch.md", "text": "https://wpnews.pro/news/show-hn-a-coding-agent-from-scratch.txt", "jsonld": "https://wpnews.pro/news/show-hn-a-coding-agent-from-scratch.jsonld"}}