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: Ucpify – JSON config to UCP-compliant commerce server

https://github.com/hemanth/ucpify
1•init0•1m ago•0 comments

An economist explains why he's still 'bullish on America' – AI and all

https://www.washingtonpost.com/podcasts/impromptu/an-economist-explains-why-hes-still-bullish-on-...
1•paulpauper•1m ago•0 comments

Submissions to Journals, by Terence Tao

https://www.math.ucla.edu/~tao/submissions_old.html
1•paulpauper•2m ago•0 comments

Publishing a Simple Paper as an Undergraduate

https://mathoverflow.net/questions/313961/publishing-a-simple-paper-as-an-undergraduate
1•paulpauper•3m ago•0 comments

SvarDOS – an open-source DOS distribution

http://svardos.org/
2•d_silin•10m ago•0 comments

Show HN: Agent Forge – Persistent memory and desktop automation for Claude Code

https://github.com/WeberG619/agent-forge
1•WeberG619•13m ago•0 comments

Fujitsu AI-Driven Software Development Platform

https://global.fujitsu/en-global/pr/news/2026/02/17-01
1•linguae•14m ago•1 comments

'Like a Virgin' songwriter Billy Steinberg dies at 74

1•poojagill•14m ago•1 comments

Anderson Cooper Reportedly Steps Away from 60 Minutes After Nearly 20 Years

1•poojagill•15m ago•0 comments

How Michael Abrash doubled Quake framerate

https://fabiensanglard.net/quake_asm_optimizations/
1•guiambros•16m ago•0 comments

Show HN: Alexa-like voice interface for OpenClaw

https://github.com/sachaabot/openclaw-voice-agent
1•sachaa•27m ago•0 comments

Xbox UI Portfolio Site

https://gabrielcabrera.co/
2•valgaze•35m ago•0 comments

The AI productivity take-off is finally visible (Erik Brynjolfsson)

https://www.ft.com/content/4b51d0b4-bbfe-4f05-b50a-1d485d419dc5
1•ryan_j_naughton•36m ago•0 comments

mirror.hoobly.com

http://209.126.127.252
1•1vuio0pswjnm7•37m ago•0 comments

AI Agents and the Rise of Judgment-Powered Software

https://www.digitvibe.com/ai-agents-and-the-rise-of-judgment-powered-software/
1•keyhanimo•38m ago•0 comments

My first blog post: On the Conversational AI Audio Pipeline

https://www.wallacecorp.ai/content
1•financypants•39m ago•2 comments

Ask HN: How does the cost of CPU-bound computations scale in cloud computing?

1•jason_s•40m ago•0 comments

Epicurrents – an open-source web browser application for scientific research

https://www.sciencedirect.com/science/article/pii/S2467981X26000107
1•XzetaU8•42m ago•0 comments

Grug Meets His Match – Or – Grug, Claude, and Big Snap Man

https://robertkarl.net/blog/articles/grug-meets-his-match-or-grug-claude-and-big-snap-man/index.html
1•robertkarl•44m ago•0 comments

China's CXMT and YMTC to expand memory output amid global crunch

https://kr-asia.com/chinas-cxmt-and-ymtc-to-massively-expand-memory-output-amid-global-crunch
1•walterbell•50m ago•1 comments

Smart-KNN: A production-focused, feature-weighted KNN optimized for CPU

1•Jashwanth01•51m ago•3 comments

Hidden Epstien videos list 2600 links

https://pastebin.com/fUP7PdMF
4•applestone•53m ago•1 comments

The AI Trilemma

https://www.foreignaffairs.com/united-states/ai-trilemma
4•ph4rsikal•54m ago•1 comments

Confect: Use Effect with Convex

https://confect.dev/getting-started/introduction
1•handfuloflight•55m ago•0 comments

Show HN: Come check out my game I'm live testing

https://hovertag.io/
1•petersonh•55m ago•0 comments

Show HN: AI ID Photo – Generate passport/ID photos from selfies

https://apps.apple.com/kr/app/%EB%AC%B4%EB%A3%8C-%EC%A6%9D%EB%AA%85%EC%82%AC%EC%A7%84-%EC%83%9D%E...
1•yanggadev•55m ago•5 comments

Show HN: CoolWulf AI – A personal AI assistant built in Go, optimized for macOS

http://coolwulfAI.com
1•coolwulf•57m ago•1 comments

Show HN: Python UI-Me – Turn functions into web forms with one decorator

https://github.com/livetheoogway/python-uime
1•tusharnaik•58m ago•0 comments

Hunterizer: Hunting layer intelligence for season,zone and land-status awareness

https://hunterizer.com/apps/seasons/
1•vladpowerman•59m ago•1 comments

Choose Boring Technology

https://boringtechnology.club/
1•ValentineC•1h ago•2 comments