Comments

Hacker News

hey HN, it's first time posting something here.

I’m building Kastor: Go CLI/declarative language/config for AI agents.

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.

Kastor is an attempt to put a source-of-truth layer above that.

right now the working proof of concept is narrow:

- .agent / .tool / .prompt files - HCL parser + validation - dependency/reference checks - LangGraph codegen - runnable weather example - runnable content scheduler example

the long-term direction is Terraform-ish:

- build: compile to framework code - plan/apply: reconcile hosted platform agents - state: track remote resources and detect drift

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.

would appreciate any kind of feedback, especially on the language/design.

by weirdguy

works for me. terraform for agents? neat

by Leewen

The problem right now with something like this is you're trying to nail jello to a wall. People haven't figured out what an agent is yet, and trying to crystalize what people happen to be doing right now means in a few months, you're going to be obsolete.

by empath75

Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • hey HN, it's first time posting something here.

    I’m building Kastor: Go CLI/declarative language/config for AI agents.

    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.

    Kastor is an attempt to put a source-of-truth layer above that.

    right now the working proof of concept is narrow:

    - .agent / .tool / .prompt files - HCL parser + validation - dependency/reference checks - LangGraph codegen - runnable weather example - runnable content scheduler example

    the long-term direction is Terraform-ish:

    - build: compile to framework code - plan/apply: reconcile hosted platform agents - state: track remote resources and detect drift

    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.

    would appreciate any kind of feedback, especially on the language/design.

  • works for me. terraform for agents? neat
  • The website is down?
  • Why not just make an actual terraform module?
  • The problem right now with something like this is you're trying to nail jello to a wall. People haven't figured out what an agent is yet, and trying to crystalize what people happen to be doing right now means in a few months, you're going to be obsolete.
Kastor – Terraform-style specs for AI agents · Birbla