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: Podvoice – Local-first CLI to turn Markdown into multi-speaker audio

https://github.com/aman179102/podvoice
1•aman179102•18s ago•0 comments

How Taalas "prints" LLM onto a chip?

https://www.anuragk.com/blog/posts/Taalas.html
1•beAroundHere•49s ago•0 comments

Cloudflare outage on February 20, 2026

https://blog.cloudflare.com/cloudflare-outage-february-20-2026/
1•nomaxx117•2m ago•0 comments

From chickens to humans, animals think "bouba" sounds round

https://arstechnica.com/science/2026/02/newly-hatched-chickens-form-the-same-sound-association-we...
1•rbanffy•3m ago•0 comments

Cubans fight blackouts with solar as US extends oil chokehold

https://www.reuters.com/business/energy/cubans-fight-blackouts-with-solar-us-extends-oil-chokehol...
1•geox•4m ago•0 comments

Show HN: Connect to Your Mac Terminal from iPhone

https://macky.dev
1•Sayuj01•7m ago•0 comments

Block Distracting Websites in a Pinch

https://chromewebstore.google.com/detail/slate/hommcpclmadlnidpkcomcchfajmdaobc
1•descartonofeggs•8m ago•0 comments

Show HN: CogmemAi – Persistent memory and compaction recovery for Claude Code

https://github.com/hifriendbot/cogmemai-mcp
1•hifriendbot•9m ago•0 comments

Human and AI. How to Modernize Your Consciousness in 10 Minutes

1•kokhanserhii•10m ago•0 comments

Greenland ice melt surges unprecedentedly amid warming

https://phys.org/news/2026-02-greenland-ice-surges-unprecedentedly.html
4•bikenaga•10m ago•0 comments

An AI coding bot took down Amazon Web Services

https://arstechnica.com/ai/2026/02/an-ai-coding-bot-took-down-amazon-web-services/
2•rbanffy•14m ago•0 comments

Valve breaks silence on Steam Deck OLED scarcity – yes, it's because of the RAM

https://www.pcgamer.com/gaming-industry/valve-breaks-its-silence-on-steam-deck-oled-scarcity-and-...
1•ashitlerferad•14m ago•0 comments

Show HN: InferShield – open-source security proxy for LLM inference

https://github.com/InferShield/infershield
1•Alex-Hosein•14m ago•0 comments

Pebble Time 2 and Round 2 delayed

https://www.notebookcheck.net/Pebble-Time-2-and-Round-2-delayed-as-smartwatch-maker-reveals-produ...
1•ashitlerferad•15m ago•0 comments

Sensei – Open-source linter for AI agent skill files

https://github.com/spboyer/sensei
1•spboyer•16m ago•1 comments

Canvas_ity: A tiny, single-header <canvas>-like 2D rasterizer for C++

https://github.com/a-e-k/canvas_ity
2•PaulHoule•17m ago•0 comments

Every AI App Data Breach Since January 2025: 20 Incidents, Same Root Causes

https://blog.barrack.ai/every-ai-app-data-breach-2025-2026/
1•dhayabaran•20m ago•0 comments

Moore's Law vs Cost of Sequencing a Whole Human Genome 2000-2026

https://bsky.app/profile/erictopol.bsky.social/post/3mff6jsnr4c2b
1•ck2•20m ago•1 comments

AI Hype and the Search for Meaning

https://www.infinitescroll.us/p/ai-hype-and-the-search-for-meaning
1•paulpauper•23m ago•0 comments

Why aren't smart people happier?

https://www.experimental-history.com/p/why-arent-smart-people-happier
1•paulpauper•24m ago•0 comments

The Luol Deng Law

https://freddiedeboer.substack.com/p/the-luol-deng-law
1•paulpauper•24m ago•0 comments

Ubuntu 26.04 Begins Its Feature Freeze

https://www.phoronix.com/news/Ubuntu-26.04-Feature-Freeze
1•snowhale•24m ago•0 comments

Meta and Apple face serious questions about child safety and privacy

https://www.cnbc.com/2026/02/20/meta-apple-child-safety-zuckerberg-cook.html
1•1vuio0pswjnm7•25m ago•0 comments

Compendium: An strace-like x86 Linux syscall tracer in Rust

https://pker.xyz/posts/compendium
2•fanf2•26m ago•0 comments

The Software Development Lifecycle Is Dead

https://boristane.com/blog/the-software-development-lifecycle-is-dead/
4•zenon_paradox•27m ago•1 comments

Our Modern Mistake

https://www.overcomingbias.com/p/our-modern-mistake
1•jger15•28m ago•0 comments

I Donut believe, third party validation [video]

https://www.youtube.com/watch?v=uiOma6v_EZY
2•Phenomenit•29m ago•0 comments

EVs Coming in 2026

https://www.wired.com/story/the-16-best-evs-coming-in-2026/
1•tromp•29m ago•1 comments

Show HN: Vending Mocha – A lightweight SSG blogging framework

https://vendingmocha.com/
2•kc10•30m ago•0 comments

_ Considered Harmful

https://campedersen.com/183x
1•ecto•30m ago•0 comments