# Kastor - Terraform-style declarative specs for AI agents

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

> Hacker News story 48833183 · language: en · submitted 2026-07-08
> Web version: https://zeli.app/story/48833183
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 10 · by [weirdguy](<https://news.ycombinator.com/user?id=weirdguy>) · 💬 7
[original](<https://github.com/weirdGuy/kastor>) · [HN discussion](<https://news.ycombinator.com/item?id=48833183>)

## Summary

Kastor brings infrastructure-as-code principles to AI agent development, acting as a vendor-neutral source of truth. Instead of defining agents imperatively within frameworks like LangGraph or CrewAI, users write typed, declarative specifications in HCL. The toolchain compiles these specs into runnable projects or manages agents on hosted platforms with plan and apply semantics. This approach enables version control, code reviews, and drift detection for AI workflows, ensuring reproducibility and eliminating the chaos of UI-based or framework-locked agent definitions.

## Key quote

> Agents today are defined imperatively inside frameworks or clicked together in platform UIs — there is no vendor-neutral, versionable, reviewable source of truth. Kastor provides one.

## HN discussion (7 comments)

### [empath75](<https://news.ycombinator.com/item?id=48833744>)

> 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.

### [whattheheckheck](<https://news.ycombinator.com/item?id=48835784>)

> Why not just make an actual terraform module?

### [handfuloflight](<https://news.ycombinator.com/item?id=48833603>)

> The website is down?

---

## Cite

- Page: https://zeli.app/story/48833183
- Date: 2026-07-08
- Source: github.com (https://github.com/weirdGuy/kastor)
- Hacker News: https://news.ycombinator.com/item?id=48833183

## Other languages

- zh: https://zeli.app/zh/story/48833183 · markdown: https://zeli.app/zh/story/48833183.md
- ja: https://zeli.app/ja/story/48833183 · markdown: https://zeli.app/ja/story/48833183.md
- ko: https://zeli.app/ko/story/48833183 · markdown: https://zeli.app/ko/story/48833183.md
- de: https://zeli.app/de/story/48833183 · markdown: https://zeli.app/de/story/48833183.md
- es: https://zeli.app/es/story/48833183 · markdown: https://zeli.app/es/story/48833183.md
