We built Sgai to experiment with a different model of AI-assisted development.
Instead of prompting step-by-step, you define an outcome in GOAL.md (what should be built, not how), and Sgai runs a coordinated set of AI agents to execute it.
- It decomposes the goal into a DAG of roles (developer → reviewer → safety analyst, etc.) - It asks clarifying questions when needed - It writes code, runs tests, and iterates - Completion gates (e.g. make test) determine when it's actually done
Everything runs locally in your repo. There’s a web dashboard showing real-time execution of the agent graph. Nothing auto-pushes to GitHub.
We’ve used it internally for prototyping small apps and internal tooling. It’s still early and rough in places, but functional enough to share.
Demo (4 min): https://youtu.be/NYmjhwLUg8Q GitHub: https://github.com/sandgardenhq/sgai
Open source (Go). Works with Anthropic, OpenAI, or local models via opencode.
Curious what people think about DAG-based multi-agent workflows for coding. Has anyone here experimented with similar approaches?
ucirello•1h ago
I have been working on this for my own use until recently, when I shared with the rest of the team, and we thought it would be nice to let the world see it.
I have been interested in autonomous code development for quite some time (at least since March/April 2025) - and summer '25 is when I felt the models were good enough to be pushed to autonomy.
I wrote a bit about it[0], and sgai is the incarnation of my take on AI autonomous coding.
sgai is not even v0 yet, a lot of work to be done to improve its implementation - but I think it should be usable enough for those willing to give it a try.
0: https://cirello.org/aifactory.html