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•35m ago
The website is down?
weirdguy•30m ago
oh, it's not, just root domain (non-www) without redirect
handfuloflight•21m ago
That's not working either.
weirdguy•15m ago
try with www, should work, the apex zone still did not propagate for whatever reason
Leewen•27m ago
works for me. terraform for agents? neat
weirdguy•23m 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•7m ago
GL
empath75•23m 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•12m 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•12m ago
You mean Claude…

RAG-redteam, red-team your RAG pipeline for injection and leakage in CI

https://github.com/Srivatsa03/rag-redteam
1•Srivatsa_2003•19s ago•0 comments

Show HN: InterviewWatch – Detect AI Assistance During Live Technical Interviews

https://www.interviewwatch.com/
1•bhuvanbk007•1m ago•0 comments

The future of governing AI agents

https://www.elastic.co/blog/the-future-of-governing-ai-agents
1•ilreb•2m ago•0 comments

Infoblox collects Kentik for network observability out of the box

https://www.sdxcentral.com/news/infoblox-collects-kentik-for-network-observability-out-of-the-box/
1•oavioklein•2m ago•0 comments

The robotaxi law that could ban Tesla

https://www.theverge.com/transportation/962309/new-jersey-robotaxi-bill-lidar-tesla
1•Brajeshwar•3m ago•0 comments

Surprisingly large number of people may have marker for tick-linked meat allergy

https://arstechnica.com/health/2026/07/surprisingly-large-number-of-people-may-have-marker-for-ti...
1•pseudolus•4m ago•0 comments

Freeport – a P2P ride-hailing marketplace I built on Nostr

https://ptrinh.github.io/freeport/
1•ptrinh•5m ago•1 comments

Top 10 Prompts for Your Monitoring Tool

https://blog.appsignal.com/2026/06/08/top-10-prompts-for-your-monitoring-tool.html
1•andreigaspar•8m ago•0 comments

It's officially the end of an era for Adobe

https://www.makeuseof.com/end-of-an-era-for-adobe-creative-software/
1•Stratoscope•9m ago•1 comments

How to Set Up a BIMI Record

https://dmarcguard.io/blog/bimi-record-setup/
1•meysamazad•9m ago•1 comments

ADHD and Masking

https://gomakethings.com/guides/adhd-masking/
2•meysamazad•10m ago•0 comments

How Polymarket plans to try to win back trust after 4 years in exile

https://www.fastcompany.com/91570591/how-polymarket-plans-win-back-americas-trust-after-4-years-e...
2•1vuio0pswjnm7•10m ago•0 comments

Additional Checkbox-Types in Obsidian

https://zerokspot.com/weblog/2026/07/05/additional-checkbox-styles-in-obsidian/
1•meysamazad•11m ago•0 comments

Show HN: Free plugin that finds where your code overpays for LLM APIs

https://tokendiet.dev/
1•eMoka•11m ago•0 comments

Node.js platform/arch possible values

https://jcbhmr.com/2025/12/19/node-platform-arch-values/
2•jcbhmr•11m ago•0 comments

EU court hands Brussels win over Apple on Big Tech rules

https://www.politico.eu/article/eu-court-knocks-down-apple-challenge-big-tech-rules/
2•1vuio0pswjnm7•12m ago•0 comments

Kentik Acquired by Infoblox

https://www.kentik.com/blog/kentik-is-joining-infoblox/
1•i314159•12m ago•0 comments

Vasily Grossman: The Unlikely Journalist Who Looked into the Heart of War

https://www.newyorker.com/books/page-turner/the-unlikely-journalist-who-looked-into-the-heart-of-war
2•mitchbob•12m ago•1 comments

Show HN: FPGA-SIM – interactive virtual boards to help teach Verilog

https://github.com/TheHarmonicRealm/fpga-sim
2•theharmonic•13m ago•1 comments

SWE-1.7 Reach Near GPT 5.5 and Opus Intelligence

https://cognition.com/blog/swe-1-7
7•mekpro•13m ago•0 comments

The most, and least, liveable cities in 2026

https://www.economist.com/graphic-detail/2026/07/06/the-worlds-most-and-least-liveable-cities-in-...
2•donbox•13m ago•0 comments

GitHub Is Down (Again)

https://us.githubstatus.com/posts/dashboard
3•lacoolj•13m ago•0 comments

The Price of Palantir's Politics

https://www.ft.com/content/21038b20-646e-4773-a473-110c2d62ab15
4•JumpCrisscross•15m ago•0 comments

Show HN: Open-source web monitoring software

https://webdog.ai/
2•ICodeSometimes•15m ago•0 comments

AI Language Tutor That Answers a Phone Call

https://github.com/team-telnyx/telnyx-code-examples/tree/main/ai-language-learning-phone-tutor-py...
1•harpreetseehra•15m ago•0 comments

I Need a Job, Anything

3•tolani_somoye•16m ago•1 comments

Biohacker seeking immortality afflicted with incurable 'stomach eating' disease

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

Show HN: Respect the Oracle – An agent skill that stops agents from overfitting

https://github.com/chris-short/respect-the-oracle
1•oaf357•18m ago•0 comments

Show HN: envapt, typed env config for decoupled TS codebases (Node to edge)

https://github.com/materwelonDhruv/envapt
1•materwelon•18m ago•0 comments

The male wellness guide to peptides

https://www.ft.com/content/4417cf18-d8cd-4ccc-9745-e728e8d69348
1•bookofjoe•18m ago•1 comments