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.

The Foundation for Science and AI Research

https://sair.foundation/
1•gballan•55s ago•0 comments

Show HN: Koala Diff – High-performance local data comparison (Rust and Polars)

https://github.com/godalida/koala-diff
1•godalida•1m ago•0 comments

Show HN: Vanilla JavaScript Mandelbrot Explorer

https://bryanhoffman.xyz/mandelbrot_explorer.html
1•krasotkin•2m ago•0 comments

The S-Tier Rust Web Framework and the Priest Who Created It [video]

https://www.youtube.com/watch?v=X_VWAhVhmhc
1•weinzierl•2m ago•0 comments

Pentagon Used Anthropic's Claude in Maduro Venezuela Raid

https://www.wsj.com/politics/national-security/pentagon-used-anthropics-claude-in-maduro-venezuel...
1•2OEH8eoCRo0•3m ago•0 comments

Spotify says its best developers haven't written code since Dec, thanks to AI

https://techcrunch.com/2026/02/12/spotify-says-its-best-developers-havent-written-a-line-of-code-...
1•samspenc•3m ago•0 comments

Is your website ready for GTM

https://docsalot.dev/tools/gtm-audit
1•fazkan•4m ago•0 comments

Show HN: Claw Patrol – so that's where the quota went

https://finds.one/clawpatrol
1•frankbyte•6m ago•0 comments

OK, so Anthropic's AI built a C compiler. That don't impress me much

https://www.theregister.com/2026/02/13/anthropic_c_compiler/
3•nickorlow•7m ago•0 comments

A Climate Supercomputer Is Getting New Bosses. It's Not Clear Who.

https://www.nytimes.com/2026/02/13/climate/derecho-supercomputer-ncar.html
1•mitchbob•8m ago•1 comments

A Survey on Federated Fine-Tuning of Large Language Models

https://openreview.net/forum?id=rnCqbuIWnn
1•mldev_exe•11m ago•0 comments

Tackling the problem of "naturalness" in voice AI [video]

https://www.youtube.com/watch?v=7zIEC8tmWkA
1•underfox•12m ago•1 comments

What Happened to Amazon. How Founders Become Day Two, Take Company with Them

https://markatwood.substack.com/p/what-what-happened-to-amazon-or-dont
1•slyall•13m ago•0 comments

Show HN: API-pilot – deterministic API key resolution with runtime validation

https://github.com/Avichay1977/api-pilot
1•avi7777•14m ago•1 comments

The wonder of modern drywall

https://www.worksinprogress.news/p/the-wonder-of-modern-drywall
30•jger15•19h ago•57 comments

Something Big Is Happening. Here's What It Is

https://medium.com/@vishalmisra/something-big-is-happening-heres-what-it-actually-is-9523482c4e00
1•rfonseca•15m ago•0 comments

Thousands of Amateur Gamblers Are Beating Wall Street PhDs

https://www.nytimes.com/2026/02/11/business/economy/forecasts-prediction-markets-economy.html
2•bookofjoe•19m ago•2 comments

Ontologies are all you need

https://lexifina.com/blog/ontologies-are-all-you-need
2•alansaber•21m ago•0 comments

Show HN: We open-sourced MusePro, a Metal-based realtime AI drawing app for iOS

https://github.com/StyleOf/MusePro
1•okaris•26m ago•0 comments

Launching Interop 2026

https://hacks.mozilla.org/2026/02/launching-interop-2026/
1•linolevan•27m ago•1 comments

Show HN: Create a clean tree graph of your projects with my App on iOS

https://apps.apple.com/us/app/motive-project-visualiser/id6754777255
1•Seth_k•29m ago•0 comments

Seven Billion Reasons for Facebook to Abandon Its Face Recognition Plans

https://www.eff.org/deeplinks/2026/02/seven-billion-reasons-facebook-abandon-its-face-recognition...
3•hn_acker•30m ago•0 comments

Andreessen vs. Thiel

https://web.archive.org/web/20200318115004/https://allenleein.github.io/2019/06/12/games2.html
1•eamag•33m ago•0 comments

Show HN: Infoseclist.com – Compare 90 cybersecurity tools ranked by practition

https://infoseclist.com/
1•aleks5678•34m ago•0 comments

Show HN: Clonar – A Node.js RAG pipeline with 8-stage multihop reasoning

https://github.com/clonar714-jpg/clonar
1•sowmith-tsrc•34m ago•1 comments

Grub 2.0

https://grubcrawler.dev
3•kordlessagain•35m ago•0 comments

Cmux: Tmux for Claude Code

https://github.com/craigsc/cmux
3•Soupy•36m ago•1 comments

Trump FTC wants Apple News to promote more Fox News and Breitbart stories

https://arstechnica.com/tech-policy/2026/02/trump-ftc-denies-being-speech-police-but-says-apple-n...
9•pseudalopex•36m ago•0 comments

Posteo and Mailbox.org: Many authorities do not create encrypted requests

https://www.heise.de/en/news/Posteo-and-Mailbox-org-Many-authorities-do-not-create-encrypted-requ...
2•doener•36m ago•0 comments

Google Might Think Your Website Is Down

https://codeinput.com/blog/google-seo
2•janpio•38m ago•0 comments