frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: AgentShield SDK – Runtime security for agentic AI applications

https://pypi.org/project/agentshield-sdk/
2•iamsanjayk•10mo ago
Hi HN,

We built AgentShield, a Python SDK and CLI to add a security checkpoint for AI agents before they perform potentially risky actions like external API calls or executing generated code.

Problem: Agents calling arbitrary URLs or running unchecked code can lead to data leaks, SSRF, system damage, etc.

Solution: AgentShield intercepts these actions:

- guarded_get(url=...): Checks URL against policies (block internal IPs, HTTP, etc.) before making the request.

- safe_execute(code_snippet=...): Checks code for risky patterns (os import, eval, file access, etc.) before execution.

It works via a simple API call to evaluate the action against configurable security policies. It includes default policies for common risks.

Get Started:

Install: pip install agentshield-sdk

Get API Key (CLI): agentshield keys create

Use in Python: from agentshield_sdk import AgentShield # shield = AgentShield(api_key=...) # await shield.guarded_get(url=...) # await shield.safe_execute(code_snippet=...)

Full details, documentation, and the complete README are at <https://pypi.org/project/agentshield-sdk/>

We built this because securing agent interactions felt crucial as they become more capable. It's still early days, and we'd love to get your feedback on the approach, usability, and policies.

Comments

subhampramanik•10mo ago
Looks interesting -- Does it work like a wrapper on top of OpenAI specs? Like, can we just replace the OpenAI package with this, and it's fully integrated?
iamsanjayk•10mo ago
Hey, thanks for asking! Good question.

AgentShield isn't a wrapper around the OpenAI package, so you wouldn't replace openai with it. Think of AgentShield as a separate safety check you call just before your agent actually tries to run a specific risky action.

So, you'd still use the openai library as normal to get your response (like a URL to call or code to run). Then, before you actually use httpx/requests to call that URL, or exec() to run the code, you'd quickly check it with shield.guarded_get(the_url) or shield.safe_execute(the_code).

Currently, It focuses on securing the action itself (the URL, the code snippet) rather than wrapping the LLM call that generated it.

Claude Skill Collection

https://github.com/GetBindu/awesome-claude-code-and-skills
1•raahul_rahl•49s ago•0 comments

I wish Bluesky's streaming thing was better

https://mat.leaflet.pub/3mciryxlovs2n
2•mooreds•4m ago•0 comments

I self-taught MIT math

https://www.scotthyoung.com/blog/2023/02/21/diego-vera-mit-challenge-math-physics/
1•DiegoVera•4m ago•0 comments

Show HN: F1 Data – 100 resources across 11 racing series

https://github.com/subinium/awesome-f1
1•subinium•4m ago•0 comments

Liveness Checks as a Captcha Replacement

https://ciamweekly.substack.com/p/liveness-checks-as-a-captcha-replacement
1•mooreds•5m ago•0 comments

Tiny Kit Carson County has grown into a green energy giant

https://coloradosun.com/2026/03/29/kit-carson-county-colorado-renewable-energy-boom-xcel/
1•mooreds•6m ago•0 comments

Taipower submits plans to restart Pingtung nuclear plant

https://www.taipeitimes.com/News/taiwan/archives/2026/03/27/2003854583
1•mpweiher•6m ago•0 comments

Show HN: Amgix – Hybrid Search System, glue included

https://amgix.io/
1•kvasserman•8m ago•1 comments

At 50, Apple confronts its next big challenge: AI

https://techxplore.com/news/2026-03-apple-big-ai.html
1•Brajeshwar•8m ago•0 comments

Show HN: PyNear – exact and approximate KNN, faster than Faiss

1•pcael•10m ago•0 comments

AltClaw – A secure scripting layer for AI agents with a module marketplace

https://github.com/altlimit/altclaw
1•altlimit•14m ago•0 comments

Hadak – a location-based word search connecting users to nearby providers

https://github.com/MTeef/hadak
1•mteef•15m ago•1 comments

Nucleus – A minimalist container engine written in Rust

https://github.com/sumant1122/Nucleus
2•paperplaneflyr•19m ago•0 comments

Redefining Location Privacy: New Tools and Improvements for Android 17

https://android-developers.googleblog.com/2026/03/location-privacy.html
1•hasheddan•20m ago•0 comments

Show HN: HTML/React/Tailwind snippet preview, annotation and secure sharing tool

https://easyanalytica.com/tools/html-playground/
1•pdyc•20m ago•0 comments

The Cloud: The dystopian book that changed Germany (2022)

https://www.bbc.com/culture/article/20221101-the-cloud-the-nuclear-novel-that-shaped-germany
7•leonidasrup•24m ago•2 comments

Repair of 2 Agilent 54831 Oscilloscopes

https://tomverbeure.github.io/2026/03/28/Repair-of-Two-Agilent-54831-Oscilloscopes.html
1•hasheddan•26m ago•0 comments

A data platform for a new user: agents

https://clickhouse.com/blog/building-a-data-platform-for-agents
1•tosh•28m ago•0 comments

China turns barren hills into solar power plant in Guizhou [video]

https://www.youtube.com/watch?v=7zlEolYt630
2•thelastgallon•28m ago•0 comments

Show HN: I built a Git extension to capture AI-code context and tied to commits

https://gitwhy.dev/
3•quannguyen028•33m ago•1 comments

Show HN: Run Claude Code using ChatGPT subscription

https://www.npmjs.com/package/hijackclaw
2•yungookim•38m ago•1 comments

A School District Tried to Help Train Waymos to Stop for School Buses

https://www.wired.com/story/a-school-district-tried-to-help-train-waymos-to-stop-for-school-buses...
2•phlummox•40m ago•0 comments

The True Shape of Io's Steeple Mountain

https://www.weareinquisitive.com/news/hidden-in-the-shadow
1•carlosjobim•41m ago•0 comments

Show HN: Agent Orchestrator, a local-first Harness Engineering control plane

3•gpgkd906•43m ago•0 comments

The features of orality: collective involvement–you'll never walk alone

https://www.andreymir.com/p/the-features-of-orality-collective
1•jger15•44m ago•0 comments

Glaxnimate vector graphics editor now part of KDE

https://glaxnimate.org/news/releases/0.6.0/
2•firasd•44m ago•0 comments

Musical puzzle made by Julian Assange for the university quest

https://wondrousnet.blogspot.com/2025/04/solution-to-puzzle-cacophony.html
1•dpivchik•45m ago•0 comments

Operator23: Describe Your Workflow in English, Deploy Everywhere

2•Mrakermo•48m ago•0 comments

How Autonomous Drone Warfare Is Emerging in Ukraine

https://spectrum.ieee.org/autonomous-drone-warfare
1•rbanffy•48m ago•0 comments

Causality optional? Testing the "indefinite causal order" superposition

https://arstechnica.com/science/2026/03/getting-formal-about-quantum-mechanics-lack-of-causality/
3•rbanffy•49m ago•0 comments