hey HN, it's first time posting something here.<p>I’m building Kastor: Go CLI/declarative language/config for AI agents.<p>the motivation: agent definitions often end up spread across framework code, prompt files, tool files/mcps, platform UI settings, and env vars. that makes them hard to review, diff, reproduce or move.<p>Kastor is an attempt to put a source-of-truth layer above that.<p>right now the working proof of concept is narrow:<p>- .agent / .tool / .prompt files
- HCL parser + validation
- dependency/reference checks
- LangGraph codegen
- runnable weather example
- runnable content scheduler example<p>the long-term direction is Terraform-ish:<p>- build: compile to framework code
- plan/apply: reconcile hosted platform agents
- state: track remote resources and detect drift<p>I’m deliberately not trying to build another agent runtime. the thing I’m trying to validate is whether agents need something closer to IaC: versionable, reviewable, declarative source of truth.<p>would appreciate any kind of feedback, especially on the language/design.