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.

Mailbox.org Currently Down

https://status.mailbox.org
1•twtran•1m ago•1 comments

Sports Betting Is Everywhere, Especially on Credit Reports

https://libertystreeteconomics.newyorkfed.org/2026/03/sports-betting-is-everywhere-especially-on-...
1•m-hodges•1m ago•0 comments

A calorie counting app built with Preact

https://github.com/caloryapp/caloryapp.github.io
1•GonzaloCV•2m ago•0 comments

Samsung still glued to its bad habits with Galaxy S26 Ultra

https://www.theregister.com/2026/03/25/galaxy_s26_ultra_ifixit/
1•Brajeshwar•3m ago•0 comments

The scammer, the fixer and the cop: Inside LA's world of millionaire crypto kids

https://www.latimes.com/california/story/2026-03-24/los-angeles-crypto-kids-trial
1•koolba•4m ago•0 comments

The Resonance Web – a living network engine where death strengthens the web

https://github.com/Dosage2AG/resonance-web
1•Dosage2ag•4m ago•0 comments

OpenAI shutters AI video generator Sora in abrupt announcement

https://www.theguardian.com/technology/2026/mar/24/openai-ai-video-sora
1•beardyw•5m ago•0 comments

Meta Targets $9T Valuation with New Executive Incentive Program

https://www.wsj.com/tech/meta-targets-9-trillion-valuation-with-new-executive-incentive-program-6...
1•pera•5m ago•0 comments

AI Daemons: A new category of AI for engineering teams

https://twitter.com/rileytomasek/status/2035042454483714317
1•mrbbk•7m ago•0 comments

Show HN: Kide – A CMS built inside Astro 6

https://github.com/mhernesniemi/kide-cms
1•zernobilly•7m ago•0 comments

Tell HN: Slow Down

1•jacquesm•8m ago•0 comments

Johnston, surrounding counties to receive broadband funding

https://www.johnstoniannews.com/news/johnston-surrounding-counties-to-receive-broadband-funding-b...
1•01-_-•9m ago•0 comments

Show HN: Refrain – Generate browser automations with AI, replay them without AI

https://therefrain.ai/
2•timakin•9m ago•0 comments

Agentic commerce runs on truth and context

https://www.technologyreview.com/2026/03/25/1134516/agentic-commerce-runs-on-truth-and-context/
1•joozio•10m ago•0 comments

Quantum Computing Is Today's Manhattan Project

https://www.wsj.com/opinion/quantum-computing-is-todays-manhattan-project-9746be3b
1•mathgenius•13m ago•0 comments

Open source isn't a tip jar – it's time to charge for access

https://www.theregister.com/2026/03/25/open_source_bill_opinion/
3•beardyw•13m ago•0 comments

Ask HN: Early stage Founders – How do you acquire early beta users?

1•KhushaliT•13m ago•0 comments

Losing my email account locked me out of my Digital Life

https://appsec.space/posts/email-lockout/
1•_zeta•13m ago•0 comments

Show HN: AgentPass – The credit check for AI agents

https://agentpass.co.uk
1•AskCarX•16m ago•0 comments

Ask HN: What are some ways you have limited AI slop

1•grahammccain•16m ago•0 comments

Spent too much on ads, so built an AI that makes converting product videos

https://instant-ugc.com/?red=abdelk
1•Locas•16m ago•2 comments

Native macOS/iOS eBook Reader

https://getbookshelves.app
1•carlosjobim•17m ago•1 comments

Rust reflection and a multi-array list

https://fnordig.de/2026/03/25/rust-reflection-and-a-multi-array-list/
1•hasheddan•18m ago•0 comments

VTAM: Video-Tactile-Action Models for Complex Physical Interaction Beyond VLAs

https://arxiv.org/abs/2603.23481
1•chrsw•18m ago•0 comments

Show HN: Anneal – model-agnostic; makes LLMs remember, obey, and stay private

https://annealit.ai/
1•cdbattags•19m ago•0 comments

A man who coined Metaverse now says Meta's glasses are creepy

https://www.theverge.com/tech/899797/metaverse-neal-stephenson-headsets-goggles-glasses-creepy-no...
1•speckx•19m ago•0 comments

Esp-IDF v6

https://developer.espressif.com/blog/2026/03/idf-v6-0-release/
2•hasheddan•20m ago•0 comments

Designing a Slider for Feeling

https://rajavijayaraman.com/writing/designing-slider-for-feeling/
1•rajavijayaraman•25m ago•0 comments

MolmoWeb: Give it a task, it clicks, types, and navigates the web itself

https://github.com/allenai/molmoweb/
1•steveharing1•25m ago•0 comments

The Missing OS for AI-Driven Development: From Hallucinations to High-Governance

https://www.haniweiss.com/the-missing-os-for-ai-driven-development-from-hallucinations-to-high-go...
1•BorrowBrain•26m ago•0 comments