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•9mo 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•9mo 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•9mo 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.

How AI slop is causing a crisis in computer science

https://www.nature.com/articles/d41586-025-03967-9
1•gnabgib•32s ago•0 comments

Show HN: AuraSpend " Voice-first expense tracker using Gemini for NLU

https://play.google.com/store/apps/details?id=com.intrepid.auraspend&hl=en_US
1•subhanzg•3m ago•0 comments

Every App Needs Auth / Ory Helps / This Template Fixes It

https://github.com/Samuelk0nrad/docker-ory
1•samuel_kx0•4m ago•0 comments

Show HN: DryCast – Never run outside to save your laundry from rain again

https://drycast.app/
1•AwkwardPanda•4m ago•0 comments

Manage, freeze and restore GPU processes quickly

https://github.com/shayonj/gpusched
1•shayonj•4m ago•0 comments

Show HN: Tilth v0.3 – 17% cheaper AI code navigation (279 runs, 3 Claude models)

1•jahala•6m ago•0 comments

Tech leaders pour $50M into super PAC to elect AI-friendly candidates

https://www.latimes.com/business/story/2026-02-13/tech-titans-pour-50-million-into-super-pac-to-e...
2•geox•7m ago•0 comments

How Head Works in Git

https://jvns.ca/blog/2024/03/08/how-head-works-in-git/
1•b-man•7m ago•0 comments

I Visited the Future of AI Engineering – and Returned with a Warning

https://igor718185.substack.com/p/i-visited-the-future-of-ai-engineering
1•iggori•10m ago•2 comments

Dr. Oz pushes AI avatars as a fix for rural health care

https://www.npr.org/2026/02/14/nx-s1-5704189/dr-oz-ai-avatars-replace-rural-health-workers
1•toomuchtodo•10m ago•1 comments

TikTok

https://www.tiktok.com/explore
1•Hackersing•11m ago•0 comments

Bloom-Filter Art: Encode words in a heart; Send it to someone special

https://improbable-heart.com/
1•nait•11m ago•1 comments

Clawsec: Open-source plugin for OpenClaw.ai that blocks dangerous actions

https://www.clawsec.bot
1•subho007•15m ago•1 comments

The crucial first step for designing a successful enterprise AI system

https://www.technologyreview.com/2026/02/02/1131822/the-crucial-first-step-for-designing-a-succes...
1•gnabgib•15m ago•0 comments

Stop Drowning in Your Thoughts

https://curiositysink.substack.com/p/stop-drowning-in-your-thoughts
1•raptisj•15m ago•1 comments

Show HN: Solscan-CLI – Scan Solana wallets and audit DeFi from terminal

https://github.com/contactn8n410-del/solscan-cli
1•solscan_dev•16m ago•0 comments

Mozilla Readability

https://github.com/mozilla/readability
1•blenderob•16m ago•0 comments

ParipueiraBeberibeceara

http://ParipueiraBeberibeceara.com
1•Hackersing•16m ago•0 comments

Musk fires up SpaceX,Bezos pushes Blue Origin as billionaires race China to moon

https://www.reuters.com/business/aerospace-defense/musk-fires-up-spacex-bezos-pushes-blue-origin-...
1•tartoran•16m ago•0 comments

SnapLLM: Switch between local LLM in under 1ms Multi-model&-modal serving engine

https://github.com/snapllm/snapllm
1•maheshvaikri99•17m ago•1 comments

Challenges of revision control in the LLM era

https://gist.github.com/gritzko/77b2e9ff9c2c377a18ccf8ce363e18eb
1•gritzko•17m ago•0 comments

Condom Crisis Hits Milano Games on Valentine's Day

https://www.reuters.com/sports/condom-crisis-hits-milano-games-valentines-day-2026-02-14/
2•tartoran•18m ago•1 comments

Textpattern CMS 4.9.1 released: security fixes, patches and tweaks

https://textpattern.com/weblog/textpattern-491-released-security-fixes-patches-and-tweaks
1•petecooper•23m ago•0 comments

Show HN: Aurora-OS.js – High fidelity hacking simulator pre-alpha

https://github.com/mental-os/Aurora-OS.js
1•mentalos•27m ago•0 comments

Visions of America

https://www.lrb.co.uk/the-paper/v48/n02/adam-shatz/another-country
1•mitchbob•27m ago•1 comments

Show HN: Managing dotfiles without complex tools – just symlinks and Makefiles

https://github.com/Thysrael/dotfiles
1•gg_equal_G•29m ago•0 comments

AI Twitter's favourite lie: everyone wants to be a developer

https://www.joanwestenberg.com/ai-twitters-favourite-lie-everyone-wants-to-be-a-developer/
4•theowenyoung•32m ago•0 comments

Elvish as She Is Spoke [pdf]

https://www.elvish.org/articles/EASIS.pdf
1•BerislavLopac•32m ago•0 comments

Dutch House of Representatives advances controversial 36% tax law

https://www.tradingview.com/news/cointelegraph:e4ef95715094b:0-dutch-house-of-representatives-adv...
3•janandonly•33m ago•0 comments

Instruction decoding in the Intel 8087 floating-point chip

https://www.righto.com/2026/02/8087-instruction-decoding.html
2•pwg•37m ago•1 comments