A Coding Agent from Scratch
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 cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Bestie, a coding agent that respects you
Bailout – The coding agent meant to be deleted
Premortem, a coding-agent-powered airplane blackbox
MeshCore – Why do I have to build every agent from scratch?
Nested VMs from Scratch in C
A debugger from scratch – part 1
Javadoc Rewritten from Scratch
MMOBomb 4.0 – I rebuild it from scratch
GCounter CRDT Implemented from Scratch in Golang
An itch that I can't quite scratch.