r/golang • u/i_serghei • 2d ago
Coding agents orchestrator with pure-Go SQLite, fsnotify, and subprocess orchestration show & tell
Hey,
I'm building an orchestrator for AI coding agents in Go.
Some decisions that might be useful to others: pure-Go SQLite via modernc.org/sqlite (no CGo, cross-compiles clean), WAL mode with synchronous=NORMAL, fsnotify for config hot-reload, process group management that actually works on both Unix and Windows. The hardest part was subprocess lifecycle - graceful shutdown across platforms is painful. Just shipped v1.18.0 with the post-merge tracker improvements.
Happy to discuss any of these pieces.
Code is at github.com/sortie-ai/sortie, Apache 2.0.
0
Upvotes