For hosted agents only, a Terraform provider probably makes sense.
The reason I didn’t start there is that Kastor has two paths:
1 - build: compile the spec into framework code, e.g. LangGraph
2 - plan/apply for agents hosted on platforms
Terraform is great for the second path, but awkward as the primary tool for the first one. I want the same agent spec to be able to produce code or manage a remote agent.
So I can imagine a Terraform provider being one target later, but I don’t think Terraform itself is the right tool/place for the whole thing.
Vercel's eve made a similar bet btw (files as source of truth, durable execution built in), except it's a runtime with its own platform underneath. With Kastor I want to stay one layer above and emit code for whatever runtime you pick.
Anyways, would love any kind of help to shape the direction, repo discussions and codebase is open :)
Thank you for showing those things!