frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Build Rules for Claude Code, Cursor, and Codex

https://kastra.ai/
1•carlosjimenez1•54m ago
Hi HN, Fernando and I built Kastra. Kastra intercepts AI agent tool calls and evaluates them against deterministic policies before they execute. We built this product to control pre- and post-inference workloads. This is aimed at developers using coding agents like Claude Code, Codex, Cursor, and OpenClaw.

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 at sub 1ms at a scale of billions of interceptions per day. 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 also 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 or sandboxing every agent and limiting its capabilities, you trust the deterministic rules that govern its actions.

One problem we are still working on is improving the memory and context of the workspace to optimize behaviors and cost reductions for the LLM usage. In order to start building policy packs around LLM cost optimization. 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

Coding with GLM 5.2 on OpenCode for a flat $20/month

https://meshintelligence.substack.com/p/how-to-glm-52-on-opencode
1•meshintel•47s ago•0 comments

RecoverFlow – recovers failed Stripe payments, you pay only on recovery

https://recoverflow.org
1•BruceM2007•1m ago•0 comments

FCC approves orbital space mirrors, first test satellites will launch this year

https://www.tomshardware.com/tech-industry/fcc-approves-orbital-space-mirrors-first-test-satellit...
1•rbanffy•1m ago•0 comments

From Eurovision to NATO, Canada Edges Closer to Europe

https://www.newsweek.com/eurovision-nato-canada-edges-closer-europe-12181443
1•doener•2m ago•0 comments

GLP-1 implant is the latest bet to help patients maintain their weight loss

https://www.cnbc.com/2026/07/11/glp-1-implant-from-vivani-medical-aims-to-help-patients-stay-on-t...
1•gscott•5m ago•0 comments

Woodruff: You shouldn't trust trusted publishing

https://lwn.net/Articles/1081690/
2•jruohonen•5m ago•1 comments

Extension that replaces clickbait YouTube thumbs and titles via transcript

https://chromewebstore.google.com/detail/face-value/kogpodijhdpkdnahicgmnncdibiagkge
1•victor805•7m ago•0 comments

Trump says the US controls the Strait of Hormuz and should get paid for it

https://www.reuters.com/world/middle-east/trump-says-us-will-control-strait-hormuz-get-paid-it-20...
2•justacrow•7m ago•0 comments

From A.I To The Deep State, Michel Foucault foresaw it all

https://www.nytimes.com/2026/07/10/books/review/michel-foucault-ai-tech-power.html
1•bryanrasmussen•8m ago•1 comments

There Are Databases Everywhere for Those with the Eyes to See

https://buttondown.com/jaffray/archive/there-are-databases-everywhere-for-those-with-the/
1•ibobev•8m ago•0 comments

Build email automation in n8n that works – MailKite

https://mailkite.dev/blog/n8n-email-automation-webhook/
3•gabe_karina•9m ago•0 comments

The art and engineering of Sega CD Silpheed

https://fabiensanglard.net/silpheed/index.html
4•ibobev•9m ago•0 comments

Auth and Curl

https://taonaw.com/2026/07/10/auth-and-curl.html
2•speckx•10m ago•0 comments

Joys of cancelling a TBB task group

https://aras-p.info/blog/2026/06/28/Joys-of-cancelling-a-TBB-task-group/
2•ibobev•11m ago•0 comments

Show HN: Harpist – convert any website into a refined and documented API

https://harpist.site
2•sarreph•11m ago•0 comments

Omarchy 4 concerns, am I the only one?

3•shivc•11m ago•0 comments

Codex GPT 5.6 Sol Reduced to 258K Context Window

https://github.com/openai/codex/issues/32806
3•ex1box•11m ago•0 comments

Dell sued by Finnish company over $70M price increase for data centre servers

https://www.irishtimes.com/crime-law/courts/2026/06/15/finnish-company-sues-dell-over-70m-price-i...
6•Hamuko•11m ago•0 comments

Software freezes and energy powers on as US PE deal value falls 38% in Q2 2026

https://pitchbook.com/news/reports/q2-2026-us-pe-breakdown
2•toomuchtodo•13m ago•0 comments

LLM Honeypots: The Perfect Use for LLMs

https://alec.is/posts/llm-honeypots-the-perfect-use-for-llms/
2•arm32•13m ago•0 comments

Z.ai founder backs open-source AI as global security debate intensifies

https://www.business-standard.com/technology/tech-news/zhipu-founder-backs-open-source-ai-as-glob...
3•theanonymousone•14m ago•0 comments

Sysdig documents the first ransomware attack run end to end by an AI agent

https://www.yacnews.com/sysdig-documents-the-first-ransomware-attack-run-end-to-end-by-an-ai-agent/
2•ortr•14m ago•0 comments

Show HN: Hackney – Compare Uber, Lyft, Waymo, and Robotaxi Prices

https://hackney.app/
2•griffinli•14m ago•0 comments

Salience-Driven Development

https://www.wespiser.com/posts/2026-07-13-salience-driven-development.html
2•wespiser_2018•15m ago•0 comments

Tikos – Turn any study material into a question bank (local-first, open-source)

https://github.com/Dawnfz-Lenfeng/tikos
2•Dawnfz•20m ago•0 comments

The Death of Open Channels

https://doerpmund.com/musings/death-of-open-channels
2•felixdoerp•21m ago•0 comments

Precursor

https://blog.cloudflare.com/introducing-precursor/
12•AznHisoka•22m ago•2 comments

Indian scientists are mapping the brain's last frontier

https://www.bbc.com/news/articles/cg53l737v1qo
2•akbarnama•24m ago•0 comments

Sydney MP pushes to bring human composting to Australia as burial costs rise

https://www.abc.net.au/news/2026-06-25/sydney-mp-alex-greenwich-human-composting-bill-explained/1...
2•speckx•24m ago•0 comments

LinkedIn, a mass grave of ghost jobs, is now becoming a dating app

https://www.sfgate.com/tech/article/linkedin-dating-app-22340622.php
9•bookofjoe•24m ago•3 comments