frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://github.com/weirdGuy/kastor
10•weirdguy•1h ago

Comments

weirdguy•1h ago
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.

handfuloflight•51m ago
The website is down?
weirdguy•45m ago
oh, it's not, just root domain (non-www) without redirect
handfuloflight•37m ago
That's not working either.
weirdguy•30m ago
try with www, should work, the apex zone still did not propagate for whatever reason
Leewen•43m ago
works for me. terraform for agents? neat
weirdguy•39m ago
thanks — that’s the direction. current version is still just validate + LangGraph codegen, but plan/apply/state is the part I’m trying to get to next
Leewen•22m ago
GL
empath75•38m ago
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.
weirdguy•28m ago
I agree with you

don't think the "agent" abstraction is stable enough to standardize the behavior/runtime layer yet.

thing I'm trying to test is smaller: is that possible to standardize the outer contract around agents?

what inputs does it accept? what outputs does it promise? what model does it use? what prompt/template does it depend on? what tools can it call? what target should it be built or applied to?

so here it is intentionally not trying to describe the full control loop or become a runtime. it's more like a source-of-truth layer for the parts that are already showing up everywhere, even if the runtime patterns keep changing underneath.

I might be wrong, but my bet is that the runtime layer will keep changing, while the need for reviewable/diffable agent contracts will not.

reactordev•27m ago
You mean Claude…

Chatto is now Open Source

https://www.hmans.dev/blog/chatto-is-open-source
151•speckx•1h ago•25 comments

Mistral's Robostral Navigate: a state of the art robotics navigation model

https://mistral.ai/news/robostral-navigate/
196•ottomengis•2h ago•48 comments

Decoding the obfuscated bash script on a Uniqlo t-shirt

https://tris.sherliker.net/blog/obfuscated-self-evaluating-bash-script-by-cdn-akamai-being-suppli...
981•speerer•8h ago•173 comments

SWE-1.7 Reach Near GPT 5.5 and Opus Intelligence

https://cognition.com/blog/swe-1-7
24•mekpro•29m ago•9 comments

Cloudflare Meerkat - Globally distributed consensus

https://blog.cloudflare.com/meerkat-introduction/
113•bobnamob•3h ago•17 comments

GitLost: We Tricked GitHub's AI Agent into Leaking Private Repos

https://noma.security/blog/gitlost-how-we-tricked-githubs-ai-agent-into-leaking-private-repos/
416•ColinEberhardt•11h ago•160 comments

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

https://github.com/weirdGuy/kastor
14•weirdguy•1h ago•12 comments

Show HN: Follow London Trains in 3D

https://ride.nexttrain.london/
51•mgranados•4d ago•25 comments

Apple to increase spend with Broadcom to produce billions more U.S. chips

https://www.apple.com/newsroom/2026/07/apple-to-increase-spend-with-broadcom-to-produce-billions-...
212•soheilpro•5h ago•163 comments

EVE Online's Carbon engine is now open source: Fenris Creations explains why

https://www.gamesindustry.biz/eve-onlines-carbon-engine-is-now-open-source-fenris-creations-expla...
253•Stevvo•4d ago•82 comments

OpenBSD has a use-after-free allowing local privilege escalation to root

https://nvd.nist.gov/vuln/detail/cve-2026-57589
113•linggen•3h ago•51 comments

Japan's Hayabusa2 probe to conduct flyby of Torifune asteroid

https://www3.nhk.or.jp/nhkworld/en/news/20260705_01/
99•dvh•3d ago•11 comments

NoiseLang: Where N = 5 is a Dirac delta

https://manualmeida.dev/articles/noiselang/
71•manucorporat•2d ago•33 comments

How to Build a Minimal ZFS NAS Without Synology, QNAP, TrueNAS (2024)

https://neil.computer/notes/how-to-setup-minimal-zfs-nas-without-truenas/
283•4diii•12h ago•200 comments

Catastrophe theory; geniuses and maniacs (2011)

http://glassbottomblog.blogspot.com/2011/01/catastrophe-theory-geniuses-and-maniacs.html
7•mbustamanter•3d ago•0 comments

Geosql: A Claude/Codex skill for geospatial data

https://github.com/dekart-xyz/geosql
87•rzk•8h ago•11 comments

Tenda firmware (multiple versions) contains hidden authentication backdoor

https://kb.cert.org/vuls/id/213560
304•miniBill•16h ago•105 comments

Chat Control 1.0 and 2.0 Explained

https://fightchatcontrol.eu/chat-control-overview
835•gasull•1d ago•318 comments

Every postcard tells a story

https://observer.co.uk/style/features/article/every-postcard-tells-a-story
20•NaOH•2d ago•17 comments

Structure and Interpretation of Computer Programs Video Lectures (1986)

https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/v...
280•gjvc•16h ago•37 comments

Copy That Floppy – Cambridge guide for preserving data from fragile floppy disks

https://www.digipres.org/the-floppy-guide/
147•whiteblossom•13h ago•55 comments

Ants: Who looks after the injured in a colony?

https://www.uni-wuerzburg.de/en/news-and-events/news/detail/news/ameisen-kolonie-verletzte-pflegt/
78•hhs•4d ago•35 comments

Biohacker seeking immortality afflicted with incurable 'stomach eating' disease

https://www.lifesitenews.com/news/biohacker-seeking-immortality-afflicted-with-incurable-stomach-...
9•ferryth•32m ago•0 comments

GAO: DOE Is Prematurely Excluding Less Expensive Options for Nuclear Cleanup

https://www.gao.gov/products/gao-26-108193
251•Jimmc414•18h ago•135 comments

It seems that the age of reading might be a short anomaly in human history

https://www.theatlantic.com/magazine/2026/08/reading-crisis-postliterate-age/687618/
90•0in•4h ago•192 comments

Canada's only watchmaking school still ticking after 80 years

https://www.cbc.ca/news/canada/montreal/canada-s-only-watchmaking-school-9.7254211
209•throw0101a•4d ago•124 comments

Home made GPU escalated quickly [video]

https://www.youtube.com/watch?v=qMR3IXF2sWw
141•erichocean•3d ago•43 comments

Local, CPU-Friendly, High-Quality TTS (Text-to-Speech) with Kokoro

https://ariya.io/2026/03/local-cpu-friendly-high-quality-tts-text-to-speech-with-kokoro/
480•speckx•22h ago•90 comments

The difference between "today's task" and "accretive work"

https://pluralistic.net/2026/07/02/canonization/
114•hn_acker•6d ago•61 comments

LineageOS Statistics

https://stats.lineageos.org
170•pentagrama•15h ago•94 comments