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.

Most Indians don't read for pleasure – so why are there 100 literature fests?

https://www.theguardian.com/global-development/2026/feb/09/books-india-literature-festivals-readers
1•thunderbong•1m ago•0 comments

Show HN: Nao Open Source Analytics Agent – build context agent as a file system

https://github.com/getnao/nao
2•ClaireGz•1m ago•0 comments

Hypersonica tests Europe's sovereign hypersonic missile prototype

https://www.hypersonica.com/en/news/hypersonica-successful-test/
1•davedx•7m ago•1 comments

ImageJ: Workhorse of Scientific Imaging

https://imagej.net/software/imagej2/
1•jFriedensreich•7m ago•0 comments

PhysLean: Formalising Physics into Lean 4

https://github.com/lean-phys-community/PhysLean
1•leanexplorer•8m ago•0 comments

Telstra to cut 209 jobs from AI joint venture, offshoring work to India

https://www.smh.com.au/business/workplace/telstra-to-cut-209-jobs-from-ai-joint-venture-offshorin...
1•KnuthIsGod•9m ago•0 comments

Nullfs has been merged for Linux 7.0

https://www.phoronix.com/news/Linux-7.0-NULLFS-Namespace
1•jtlebigot•10m ago•1 comments

Show HN: A framework that makes your AI coding agent learn from every session

https://github.com/KaimingWan/oh-my-claude-code
2•QuantumLeapOG•14m ago•1 comments

How the GNU C Compiler became the Clippy of cryptography

https://www.theregister.com/2026/02/09/compilers_undermine_encryption/
1•pjmlp•14m ago•0 comments

I guess we're doing Moon factories now

https://caseyhandmer.wordpress.com/2026/02/10/i-guess-were-doing-moon-factories-now/
1•Klaster_1•15m ago•0 comments

What is this and why do people do it?

1•Lukem121•18m ago•0 comments

Show HN: Running a public CORS proxy on the open internet for 4 years

https://corsproxy.io/
1•mariusbolik•18m ago•0 comments

Tell HN: Increased 403's on the Cloudflare Dashboard

2•TimCTRL•20m ago•1 comments

Fluorite, Toyota's Upcoming New Game Engine in Flutter [video]

https://fosdem.org/2026/schedule/event/7ZJJWW-fluorite-game-engine-flutter/
4•birdculture•22m ago•0 comments

Entertainment Computer System

https://en.wikipedia.org/wiki/Entertainment_Computer_System
1•SinePost•26m ago•0 comments

Someone's attacking SolarWinds WHD to steal credentials – but we don't know how

https://www.theregister.com/2026/02/09/solarwinds_mystery_whd_attack/
1•beardyw•27m ago•0 comments

Show HN: MCP App Template designed for coding agents

https://github.com/sebderhy/mcp-app-template
1•sebderhy•28m ago•0 comments

My Thoughts on AI

https://sarah.engineer/posts/thoughts-on-ai/
2•cod1r•37m ago•0 comments

Show HN: Seedance2 – Stop "prompt guessing" and start directing AI video

https://seedancevideo.app/
1•echoadam•38m ago•0 comments

Scientists Found a Mysterious Cave Full of Million-Year-Old Fossils

https://www.popularmechanics.com/science/archaeology/a70190789/island-fossils-new-zealand/
1•naves•38m ago•0 comments

Show HN: Business card scanner with frame selection, dedupe, and vCard export

https://github.com/vassiliylakhonin/bizcard-ai-scanner
1•vassilbek•41m ago•0 comments

LightRag / GraphRag Implementation in Rust

https://github.com/raphaelmansuy/edgequake
1•raphaelmansuy•44m ago•0 comments

Show HN: Claude Meter – macOS menu bar app to track your Claude Code usage limit

https://github.com/puq-ai/claude-meter
6•aliyilmaz-co•50m ago•2 comments

MechaEpstein-8000

https://huggingface.co/ortegaalfredo/MechaEpstein-8000-GGUF
1•aortega•53m ago•1 comments

Europe's 'painful' realisation it must be bolder with US: security report

https://www.theguardian.com/world/2026/feb/09/europe-us-munich-security-conference-report
3•saubeidl•55m ago•0 comments

Show HN: Konform Browser v140.7.0-108

https://codeberg.org/konform-browser/source/releases/tag/140.7.0.108
2•konform•57m ago•0 comments

Structure Beats Prose: Specs for Coding Agents That Work

https://medium.com/@stefanvanegmond/structure-beats-prose-specs-for-coding-agents-that-actually-w...
1•stefanve•1h ago•0 comments

Design is dead, it's all evolution now

https://ilyabirman.net/meanwhile/all/design-vs-evolution/
1•rozboris•1h ago•0 comments

Mistral.rs – Fast, zero-config multimodal LLM inference for a variety of models

https://github.com/EricLBuehler/mistral.rs
2•Curiositry•1h ago•2 comments

Benchmarking Claude C Compiler

https://dineshgdk.substack.com/p/benchmarking-claude-c-compiler
1•dinesh_gdk•1h ago•1 comments