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: GitHub Action to list merged OSS PRs in your README

https://github.com/marketplace/actions/oss-contributions-generator
1•sanyam-khurana•2m ago•0 comments

Modeling Cycles of Grift with Evolutionary Game Theory

https://www.oranlooney.com/post/grifters-skeptics-marks/
2•ibobev•2m ago•0 comments

Zephyr

https://en.wikipedia.org/wiki/Zephyr_(operating_system)
1•tosh•2m ago•0 comments

Story time real quick – > Getting Reviews

https://thalendr.com/
1•TsepoMkwebu•3m ago•1 comments

Show HN: A triple store based Firebase alternative

https://linkedrecords.com/facts-and-triples/
1•WolfOliver•3m ago•0 comments

Dear researchers: Is AI all you've got?

https://austinhenley.com/blog/dearresearchers.html
1•ibobev•3m ago•0 comments

Expectation Again

https://buttondown.com/jaffray/archive/expectation-again/
1•ibobev•4m ago•0 comments

Let Developers Cook

https://jaylol.com/2026/02/23/ai-and-software-engineering-productivity/
2•turnwrighthere•5m ago•0 comments

Hornbeam. WSGI/ASGI HTTP Server and Application Server for Python on Erlang

https://hornbeam.dev/
1•mwheeler•5m ago•0 comments

Spotify Unwrapped

https://banjohans.github.io/Spotify-Unwrapped/
1•chha•5m ago•1 comments

Robinhood Ventures: Invest in private companies

https://robinhood.com/us/en/ventures/
1•wslh•6m ago•0 comments

Show HN: A Hacker News–style site focused on European tech

https://techposts.eu
2•davedx•6m ago•0 comments

Ask HN: Should CompSci Education Change

1•NoNameHaveI•6m ago•0 comments

Building a vehicle sandbox based on Magnum and Bullet with Google Gemini

https://www.hydrogen18.com/blog/google-gemini-magnum-bullet-3d-game-generation.html
1•sidewndr46•6m ago•0 comments

Show HN: ClankerRank – Vibe coding is a real skill, I built a way to prove it

https://clankerrank.xyz
1•PGSave•7m ago•0 comments

Dissecting the CPU-Memory Relationship in Garbage Collection (OpenJDK 26)

https://norlinder.nu/posts/GC-Cost-CPU-vs-Memory/
1•jonasn•7m ago•0 comments

Google the AI Company (2025, Acquired Podcast)

https://open.spotify.com/episode/1WICjyeivPI7KqGFq4zFKe
1•wslh•8m ago•0 comments

Everyone Is Betting on Bigger LLMs. She's Betting They're Fundamentally Wrong

https://www.generalist.com/p/everyone-is-betting-on-bigger-llms
1•jbredeche•9m ago•0 comments

Economic Friday – Interpreting Tariff, GDP and Inflation News

https://www.nominalnews.com/p/tariffs-gdp-inflation
1•NomNew•9m ago•0 comments

Building your own blogging tools is a fun journey

https://andregarzia.com/2026/02/building-your-own-blogging-tools-is-a-fun-journey.html
2•soapdog•11m ago•0 comments

Misfits Market

https://www.misfitsmarket.com
1•bookofjoe•11m ago•0 comments

OpenClaw and Agent Execution Firewall

https://github.com/sundarsub/sentra
1•sentra•12m ago•1 comments

Intel preps CPUs with 'Unified Core' architecture

https://www.tomshardware.com/pc-components/cpus/intel-preps-cpus-with-unified-core-architecture-j...
1•MaximilianEmel•12m ago•0 comments

Meta Employee Deleted 9TB of Torrented Files, Adult Film Producers Claim

https://torrentfreak.com/meta-employee-deleted-9tb-of-torrented-files-adult-film-producers-claim/
1•askl•12m ago•0 comments

Rustfinity Cloud (Deploys Rust Apps)

https://www.rustfinity.com/cloud
1•dcodes•12m ago•1 comments

Reddit fined £14.5M in UK over use of under-13s' data

https://www.theguardian.com/technology/2026/feb/24/reddit-fined-uk-children-under-13-data
1•chrisjj•13m ago•0 comments

BlackRock Backs Dutch Chipmaker Axelera AI in $250M Round

https://www.bloomberg.com/news/articles/2026-02-24/blackrock-backs-dutch-chipmaker-axelera-ai-in-...
1•muxamilian•13m ago•0 comments

LadybugDB: DuckDB for Graphs

https://ladybugdb.com
1•pretext•13m ago•0 comments

Show HN: Ambulatory glucose profile analysis tool

https://github.com/daedalus/agp_tool
1•dclavijo•14m ago•0 comments

How to make more People who make Things

https://stephenkinsella.substack.com/p/how-to-make-more-people-who-make
2•RickJWagner•15m ago•0 comments