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.

Atlassian lays off 1,600 workers ahead of AI push

https://www.theguardian.com/technology/2026/mar/12/atlassian-layoffs-software-technology-ai-push-...
1•voxadam•9s ago•0 comments

Why Physical AI Is Hard

https://dexterity.ai/blog/why-physical-ai-is-hard
1•devy•6m ago•1 comments

Hex1b, the .NET Terminal Application Stack

https://hex1b.dev/
2•bladeee•7m ago•0 comments

Postman: predicting spatial protein expression from pathology slides

https://strandai.com/blog/postman-early-access
1•odedfalik•8m ago•1 comments

Is AI the end of software engineering or the next step in its evolution?

https://www.theverge.com/ai-artificial-intelligence/767973/vibe-coding-ai-future-end-evolution
1•ianrahman•8m ago•0 comments

I built a protocol to catch LLMs mid-thought, before they commit to an answer

https://github.com/IvY-Rsearch/wire
1•IvY-Rsearch•9m ago•1 comments

An agent that starts learning from zero state

https://github.com/ChangweiZhou/digitalbaby
1•Pencilbard•10m ago•0 comments

Startup Idea: Make geography irrelevant when browsing the internet

1•mowcirclular•10m ago•0 comments

Mac Neo and my afternoon of reflection and melancholy

https://twitter.com/stevesi/status/2031842797838614548
1•cebert•11m ago•1 comments

'Convincing' AI scams drove UK fraud cases to record 444,000 last year

https://www.theguardian.com/money/2026/mar/12/ai-scams-uk-fraud-artificial-intelligence-mobile-ba...
1•chrisjj•11m ago•0 comments

Show HN: Gitingest for Jupyter Notebook Accessibility

https://jupycheck.vercel.app/
1•deviscold•13m ago•1 comments

David Foster Wallace: This Is Water (2005)

https://fs.blog/david-foster-wallace-this-is-water/
2•vermilingua•14m ago•0 comments

Plan to Unblock Strait of Hormuz Collides with Realities of Global Insurance

https://www.wsj.com/finance/u-s-plan-to-unblock-strait-of-hormuz-collides-with-realities-of-globa...
3•petethomas•16m ago•0 comments

One of Grammarly's 'experts' is suing the company over its AI feature

https://www.theverge.com/ai-artificial-intelligence/893451/grammarly-ai-lawsuit-julia-angwin
3•october8140•24m ago•0 comments

MiniGTD: GTD but Smol

https://nekolucifer.substack.com/p/minigtd-gtd-but-smol
2•andai•28m ago•1 comments

Show HN: Nonna – code slop detector that runs in the browser

http://www.babush.me/nonna/
2•babush•30m ago•0 comments

The future of social media is about you not an app

https://eurosky.leaflet.pub/3mgnjewfva22q
3•doener•33m ago•0 comments

He Tried to Stop Adobe from Training Its AI on His Photo Library – He Lost

https://petapixel.com/2026/03/11/he-tried-to-stop-adobe-from-training-its-ai-on-his-photo-library...
2•jonah•35m ago•0 comments

Iran-linked group claims responsibility for Stryker (medical) cyberattack

https://www.detroitnews.com/story/business/2026/03/11/stryker-hit-by-suspected-iran-link-cyberatt...
2•cebert•36m ago•1 comments

Agent Failures Don't Start Where They Appear

https://www.vichoiglesias.com/writing/agent-failures-dont-start-where-they-appear
1•vichoiglesias•36m ago•0 comments

Gathering Structures (2024)

https://maggieappleton.com/gathering-structures
1•Sir_Twist•37m ago•0 comments

EuroSky Issue with Posts and Reactions

https://bsky.app/profile/eurosky.social/post/3mgszz2tisk2a
1•doener•38m ago•0 comments

The $38.9T national debt is costing you extra dollars per year on your mortgage

https://fortune.com/2026/03/11/national-debt-costs-homeowners-trump-tax-cuts-mortgage-rates/
4•loveseekintruth•41m ago•0 comments

Interface Hall of Shame (2000)

http://hallofshame.gp.co.at/shame.htm
2•GaryBluto•42m ago•0 comments

Atlassian cuts another 1,600 jobs amid AI shakeup

https://www.forbes.com.au/news/investing/atlassian-cuts-another-1600-jobs-amid-ai-shakeup/
2•Cub3•44m ago•2 comments

Google Antigravity IDE rug pulls its quotas

https://old.reddit.com/r/google_antigravity/comments/1rr7vr4/did_the_quotas_change_again/
6•cft•45m ago•2 comments

Show HN: NowPages – Free "now page" generator, no sign-up, pure HTML output

https://nowpages.github.io
1•vipinkashyap•45m ago•0 comments

Your 401(k) could shrink due to climate risks, a new lawsuit argues

https://www.fastcompany.com/91503468/your-401k-could-shrink-due-to-climate-risks-a-lawsuit-argues...
2•fermier•46m ago•0 comments

Ask HN: How do we build a new Human First online community in the LLM age?

3•bluefirebrand•47m ago•1 comments

30k Tok/S (Allegedly)

https://www.percepta.ai/blog/can-llms-be-computers
1•E-Reverance•47m ago•1 comments