Skip to content
Tech News
← Back to articles

Show HN: Kastor – Terraform-style specs for AI agents

read original get AI Agent Management Toolkit → more articles

Kastor

Kastor is "Terraform for AI agents." Agents today are defined imperatively inside frameworks (LangGraph, CrewAI) or clicked together in platform UIs (OpenAI Assistants, Bedrock Agents) — there is no vendor-neutral, versionable, reviewable source of truth. Kastor provides one: a typed, declarative spec ( .agent , .tool , .prompt files in HCL) and a Go toolchain with two paths — kastor build generates runnable projects for target frameworks, and kastor plan / kastor apply reconcile agents as long-lived resources on hosted platforms, with state, diffs, and drift detection.

The full design lives in SPEC.md.

Status

Kastor is an early proof of concept.

Working today:

parse .agent , .tool , .prompt , and kastor.hcl

, , , and validate references and prompt variables

build runnable LangGraph projects

examples: weather agent, content scheduler agent

... continue reading