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: Sayou: Open-source agent workspace with versioned files and MCP tools

https://github.com/pixell-global/sayou
1•syumpx•2m ago•0 comments

Elon Musk posted about race almost every day in January

https://www.theguardian.com/technology/2026/feb/12/elon-musk-posts-january-white-supremacists
5•tastyface•5m ago•0 comments

AI-recorded meetings can go horribly wrong

https://www.afr.com/world/europe/this-is-how-ai-recorded-meetings-can-go-horribly-wrong-20260223-...
2•KnuthIsGod•6m ago•0 comments

Bug Traceability: Translating Bugs to Business Impact

https://docs.testchimp.io/blog/ux_bug_traceability/
1•nsamarasekera•8m ago•0 comments

Show HN: Clocktopussheets generated from your Git commits

https://clocktopus.app
1•allanclempe•8m ago•0 comments

How close are we to a vision for 2010?

https://shkspr.mobi/blog/2026/02/how-close-are-we-to-a-vision-for-2010/
2•ColinWright•10m ago•1 comments

WebSR: Real-time AI Upscaling of videos and images on the web

https://github.com/sb2702/websr
1•avaer•13m ago•0 comments

Worldmonitor: Real-time global intelligence dashboard

https://github.com/koala73/worldmonitor
1•nreece•14m ago•0 comments

Ari Emanuel

https://en.wikipedia.org/wiki/Ari_Emanuel
1•barrister•16m ago•0 comments

Manage Git Worktrees with Ease

https://grove.safia.sh/
1•doomroot13•20m ago•0 comments

Show HN: Openslack – An open source version of Slack

https://github.com/BilalG1/openslack
2•bgwmj•21m ago•0 comments

The A.I. Evangelists on a Mission to Shake Up Japan

https://www.nytimes.com/2026/02/22/world/asia/japan-ai-politics-election.html
1•JumpCrisscross•21m ago•0 comments

Pinterest is drowning in a sea of AI slop and auto-moderation

https://www.404media.co/pinterest-is-drowning-in-a-sea-of-ai-slop-and-auto-moderation/
5•trinsic2•22m ago•1 comments

What I learned designing a barebones UI engine

https://madebymohammed.com/miniui
2•teleforce•24m ago•0 comments

Prompt Injection = 100% Unbeatable – Try for Yourself

https://memorylight.org
1•ed-aylward•24m ago•0 comments

Show HN: Tandem is a CLI to assist in reading Latin texts

https://github.com/TeamDei/tandem
2•anoncatholic3•25m ago•1 comments

Windows93.net

https://www.windows93.net/
1•mistat•25m ago•0 comments

Show HN: MeterFlow – Usage-based billing engine with fraud detection

https://github.com/ajithmanmu/meterflow
1•ajithmanmu•25m ago•1 comments

Crawling a billion web pages in just over 24 hours, in 2025

https://andrewkchan.dev/posts/crawler.html
2•pseudolus•31m ago•0 comments

Show HN: Goxe – Fast log clustering on an i5 (Reduced to 1 alloc/log, road to 0)

1•nxus_dev•33m ago•0 comments

Social media companies face legal reckoning over mental health harms to children

https://apnews.com/article/social-media-trials-meta-zuckerberg-youtube-tiktok-addiction-85c4d813c...
4•1vuio0pswjnm7•34m ago•0 comments

AI Assistant instructs staff to ignore fire alarm and keep working

https://mastodon.online/@tagir_valeev/116057271527521893
2•serial_dev•34m ago•0 comments

Show HN: Sprime – weather, crypto, news, forex all normalized to one JSON schema

https://sprime.us/
1•mario0318•40m ago•0 comments

EmberOT Releases OT PCAP Analyzer v2.0.4 with Major Asset Fidelity Enhancements

https://www.emberot.com/newsroom/emberot-introduces-ot-pcap-analyzer-v2-0-4/
1•TheWiggles•42m ago•0 comments

Videos from the Royal Society

https://royalsociety.org/videos/
2•gurjeet•43m ago•0 comments

RuBisCO

https://en.wikipedia.org/wiki/RuBisCO
3•handfuloflight•46m ago•0 comments

Wendy's franchise database allegedly exposed in data breach

https://databreach.io/breaches/wendys-data-breach-allegedly-exposes-franchise-database/
4•dbio•48m ago•0 comments

Linked List Basics

http://cslibrary.stanford.edu/103/
1•teleforce•50m ago•0 comments

What was Phil Spencer's plan to save Xbox?

https://ravi64.com/phil-spencer-xbox-farewell/
5•merlioncity•50m ago•3 comments

Freemediaheckyeah

https://fmhy.net/
17•con•50m ago•2 comments