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.

Show HN: AgentScore – Lighthouse for AI Agents

https://github.com/xiongallen40-design/agentscore
1•agentscore•55s ago•0 comments

Show HN: PlanOpticon – Extract structured knowledge from video recordings

https://github.com/ConflictHQ/PlanOpticon
1•ragelink•3m ago•0 comments

Discord Distances Itself from Peter Thiel's Palantir Age Verification Firm

https://kotaku.com/discord-palantir-peter-thiel-persona-age-verification-2000668951
2•thisislife2•13m ago•0 comments

Flashpoint Archive – Over 200k web games and animations preserved

https://flashpointarchive.org
1•helloplanets•30m ago•0 comments

The AGI gap might be epistemological, not technical

https://executelater.substack.com/p/we-dont-know-what-were-looking-for
1•NarratorTD•30m ago•0 comments

Show HN: Remote-OpenCode – Run your AI coding agent from your phone via Discord

https://github.com/RoundTable02/remote-opencode
1•remocode•32m ago•1 comments

Stop Saying Boredom Is Good for Kids

https://www.fast.ai/posts/2025-12-03-boredom/
1•tkazec•33m ago•0 comments

Understanding Std:Shared_mutex from C++17

https://www.cppstories.com/2026/shared_mutex/
2•jandeboevrie•34m ago•0 comments

I gave my AI drugs

https://github.com/nich2533/just_say_no
1•nich2533•41m ago•1 comments

America Isn't Ready for What AI Will Do to Jobs

https://www.theatlantic.com/magazine/2026/03/ai-economy-labor-market-transformation/685731/
7•helloplanets•52m ago•0 comments

Show HN: Bond – Persistent memory and governance framework for Claude AI

https://github.com/moneyjarrod/BOND
1•J-Dub•52m ago•1 comments

You do not need an ORM [video]

https://fosdem.org/2026/schedule/event/F9Y7ZY-you-do-not-need-an-orm/
2•0x54MUR41•55m ago•0 comments

Show HN: Nucleus MCP – Forensic deep-dive into agent resource locking

https://www.loom.com/share/843a719cbcc2419b8e483784ffd1e8c8
1•NucleusOS•56m ago•0 comments

Anime text-to-image generator (2 free tries, no login)

https://www.radanimegenerator.com/
1•changttt•1h ago•2 comments

Distillation, Experimentation, and Integration of AI for Adversarial Use

https://cloud.google.com/blog/topics/threat-intelligence/distillation-experimentation-integration...
2•nsoonhui•1h ago•0 comments

Jikipedia: The encyclopedia of people, places, and events from the Epstein files

https://jmail.world/wiki
2•0x54MUR41•1h ago•0 comments

Watch Men

https://worksinprogress.co/issue/watch-men/
3•trojanalert•1h ago•2 comments

How actor Edward Norton is related to Pocahontas

https://www.bbc.com/news/world-us-canada-64158055
1•thunderbong•1h ago•0 comments

What Lies Beneath

https://newhumanist.org.uk/articles/6505/what-lies-beneath
3•kawera•1h ago•0 comments

DeepWiki and Increasing Malleability of Software

https://twitter.com/karpathy/status/2021633574089416993
1•sabareesh•1h ago•0 comments

AI Soap (the bar, not the API)

https://github.com/mikewolfd/soap-calc
2•mikewolfd•1h ago•1 comments

Show HN: Snaprookies a unified orchestrated layer for 27 generative AI workflow

https://snaprookies.org/
1•RichardOdds•1h ago•1 comments

OpenClaw Partners with VirusTotal for Skill Security

https://openclaw.ai/blog/virustotal-partnership
1•coonr•1h ago•1 comments

"I built a site to explore and analyze all 18,500 Pitchfork reviews"

https://old.reddit.com/r/indieheads/comments/1r4watg/i_built_a_site_to_explore_and_analyze_all_18...
1•surprisetalk•1h ago•0 comments

Token Anxiety

https://writing.nikunjk.com/p/token-anxiety
5•sshh12•1h ago•0 comments

Show HN: I got tired of applying to ghost jobs, so I built a BS detector

https://www.thesubspace.io/
1•viveknar•1h ago•0 comments

Show HN: Repy – Terminal ePub reader with built-in TTS and dictionary lookup

https://github.com/newptcai/repy
3•dawdler-purge•1h ago•0 comments

India doubles down on state-backed venture capital, approving $1.1B fund

https://techcrunch.com/2026/02/14/india-doubles-down-on-state-backed-venture-capital-approving-1-...
4•vednig•1h ago•0 comments

Show HN: Google Maps in Your Terminal

https://github.com/Luthiraa/ascii-map
1•luthiraabeykoon•1h ago•0 comments

The allegations against a San Francisco social climber accused of sex crimes

https://sfstandard.com/2026/02/12/mickey-gerold-sex-crimes-investigation/
2•_delirium•1h ago•0 comments