frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Policy enforcement for Claude Code, Cursor, and Codex

https://kastra.ai/
4•carlosjimenez1•5h ago
Show HN: Runtime authorization for Claude Code, Cursor, and Codex

Hi HN, Fernando and I built Kastra. Kastra intercepts AI agent tool calls and evaluates them against deterministic policies before they execute. This is aimed at developers using coding agents like Claude Code, Codex, Cursor, and OpenClaw.

We built Kastra after one of our Cursor agents almost executed DELETE FROM customers WHERE status='test' against a production database. We caught it before it ran, but it made us realize that nothing in our stack actually decided what the agent was allowed to do. What mattered for us wasn't the mistake; it was realizing nothing in our setup would have stopped it if we weren't actively on top of it. LLMs are probabilistic, and prompts influence behavior, but they don't deterministically decide what an agent is allowed to do. Without a deterministic policy system, nothing could have decided what it was allowed to do.

Kastra pushes an allow, hold, and deny decision before the action runs. You can build these policies in plain English from the web app. The interception engine evaluates the tools, targets, and parameters of every action. We also shipped many policy packs covering common high-risk scenarios, and every decision is recorded in an immutable audit trail. The desktop app, CLI, dashboard, and Recon scan are free to use for developers.

If you often use Claude, Codex, Openclaw, and Cursor, Kastra can run a scan command on which risky actions your agents have already taken and automatically build rules to avoid them from happening again. Recon is a feature of Kastra that scans your local agent history. In order to run this scan, execute the commands below in your coding agent.

brew install kastra-labs/tap/kastra-edge

kastra-edge scan

The scan reads your local agent session history, and it shows all the risky actions your agent has already taken before, the secrets written to tracked files, production databases touched, force pushes, curl-to-shell, and more. This runs on your machine, and secrets never leave. In our own use cases, we kept finding things we'd forgotten or didnt know agents had done.

Each finding can be converted into a runtime policy, letting you delegate more work to AI without trusting the model itself. Kastra intercepts all workloads at runtime and makes sure these policy evaluations typically complete in under a millisecond. Instead of trusting the model, you trust the deterministic rules that govern its actions.

One problem we are still working on to improve the stack is how to manage teams of agents with conflicting policies. We would love feedback from anyone building multi-agent systems. Fernando and I will be reviewing the comments. We are super curious what your first scan finds. Please post results below so we can see what the most common patterns are and adjust policy packs for our users based on your feedback.

Documentation: https://kastra.ai/docs

Download for MacOS Kastra Edge: https://kastra.ai/edge/download.html

Check Kastra in action today: https://www.youtube.com/watch?v=6TUETu5lb3Q&feature=youtu.be

GPT-5.6

https://openai.com/index/gpt-5-6/
784•logickkk1•4h ago•574 comments

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
58•vforno•13h ago•11 comments

EU Parliament greenlights Chat Control 1.0

https://www.patrick-breyer.de/en/eu-parliament-greenlights-chat-control-1-0-breyer-our-children-l...
791•rapnie•10h ago•390 comments

Show HN: 18 Words

https://18words.com/
711•pompomsheep•8h ago•259 comments

Buried Apple feature turns an iPhone into the perfect kids' dumb phone

https://www.wired.com/story/this-buried-apple-feature-turns-an-iphone-into-the-perfect-kids-dumb-...
164•PotatoNinja•3d ago•112 comments

Hy3

https://hy.tencent.com/research/hy3
280•andai•5h ago•63 comments

Train SIM Created by Just One Person Is Being Called the Best Ever Made

https://kotaku.com/a-train-sim-created-by-just-one-person-is-being-called-the-best-ever-made-2000...
89•oumua_don17•4d ago•28 comments

No leap second will be introduced at the end of December 2026

https://datacenter.iers.org/data/latestVersion/bulletinC.txt
189•ChrisArchitect•6h ago•154 comments

GLM 5.2 is nearly as accurate as a human book keeper

https://toot-books.pages.dev/blog/glm-5-2-vat-benchmark
132•adamkurkiewicz•2h ago•79 comments

Girls just wanna have fast MPMC queues with bounded waiting

https://nahla.dev/blog/waitfree_queue/
90•EvgeniyZh•3d ago•16 comments

A possible future for Damn Interesting

https://www.damninteresting.com/a-possible-future/
167•mzur•5h ago•14 comments

A road to Lisp: Why Lisp

https://scotto.me/blog/2026-07-09-why-lisp/
59•silcoon•7h ago•57 comments

The glass backbone: Why the Army's logistics will break in the next war

https://mwi.westpoint.edu/the-glass-backbone-why-the-armys-logistics-will-break-in-the-next-war/
226•baud147258•7h ago•290 comments

Wildcard (YC W25) Is Hiring a Founding Engineer

https://www.ycombinator.com/companies/wildcard/jobs/ZSLVaaU-founding-engineer
1•kaushikmahorker•4h ago

ChatGPT Work

https://openai.com/index/chatgpt-for-your-most-ambitious-work/
280•Tiberium•4h ago•123 comments

TLS certificates for internal services done right

https://tuxnet.dev/posts/tls-for-internal-services/
103•mrl5•6h ago•68 comments

Postgres rewritten in Rust, now passing 100% of the Postgres regression tests

https://github.com/malisper/pgrust
183•SweetSoftPillow•14h ago•235 comments

Why the Next Era of AI Is About Infrastructure, Not Just Models

https://blog.mozilla.ai/the-control-layer-why-the-next-era-of-ai-is-about-infrastructure-not-just...
21•royapakzad•6h ago•7 comments

Muse Spark 1.1

https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/
273•ot•6h ago•155 comments

How to Start a Ruby Meetup

https://guides.rubyevents.org/meetups/
37•mooreds•2h ago•10 comments

Launch HN: Context.dev (YC S26) – API to get structured data from any website

https://www.context.dev
56•TheYahiaBakour•5h ago•40 comments

Opinionated and Easy Pi.dev Configuration

https://lazypi.org/
82•lwhsiao•5h ago•52 comments

AI content is everywhere on social media, especially LinkedIn

https://www.pangram.com/blog/ai-in-your-feed
127•mukmuk•5h ago•108 comments

I Changed My Name

https://robida.net/entries/2026/07/01/i-changed-my-name
6•surprisetalk•3d ago•0 comments

Show HN: RandoFont, a browser for Google Fonts

https://randofont.alesh.com
5•aleshh•19m ago•2 comments

How to Follow a Drummer

https://drummate.app/blog/how-to-follow-a-drummer
27•sashyo•3d ago•20 comments

Show HN: I mapped 8.5M research papers into an interactive atlas

https://tomesphere.com/atlas
47•leonickson•18h ago•13 comments

Meta reuses old RAM in new servers with custom bridge chip

https://www.networkworld.com/article/4192827/meta-reuses-old-ram-in-new-servers-with-custom-bridg...
270•ihsw•6d ago•186 comments

Show HN: Analog Watch

https://analog.watch
81•ezekg•6h ago•70 comments

AI changes the economics of software rewrites

https://thetruthasiseeitnow.com/ai-slop-starts-with-the-codebase-itself/
92•cinooo•15h ago•103 comments