frontpage.
newsnewestaskshowjobs

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•1y 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•1y 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•1y 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.

Humxn Commits $50M to Buy Skilled Trades Data for Robotics Training

https://markets.businessinsider.com/news/stocks/humxn-research-labs-wants-to-buy-50-million-worth...
1•howdoweknowit•40s ago•0 comments

Show HN: Parflip – an Android memory game with zero ads and zero tracking

https://parflip.vercel.app/
1•Wittie•54s ago•0 comments

3D Holographic Fish Tank (DIY Project)

https://holographic-fish-tank.vercel.app/
2•DrDizzle•3m ago•0 comments

Smart people don't think others are stupid

https://sive.rs/ss
2•andsoitis•3m ago•0 comments

Mark Zuckerberg versus the Pint of Guinness

https://www.wsj.com/arts-culture/food-cooking/mark-zuckerberg-versus-the-pint-of-guinness-94460282
2•thm•5m ago•0 comments

The rare elephant behaviour that reveals the depths of their emotions

https://www.bbc.com/future/article/20261013-the-rare-behaviour-showing-elephant-grief
2•1659447091•5m ago•0 comments

Show HN: Fuel Gauge – Claude knows its own usage limits and stops at 95%

https://github.com/LuisPCFialho/claude-fuel-gauge
2•_FakeBanana_•6m ago•0 comments

PractiCal – Self-hosted calendar, contacts, and tasks written in Rust

https://xarif.gitlab.io/docker/practical/index.html
2•DrSarez•7m ago•1 comments

Breakthrough Genomic Test Can Diagnose Nearly Any Infection

https://scitechdaily.com/breakthrough-genomic-test-can-diagnose-nearly-any-infection/
2•bookmtn•8m ago•0 comments

Agentic Verification

https://addyo.substack.com/p/agentic-verification
2•swolpers•8m ago•0 comments

Companies rushed in on AI. Now some are pulling back

https://www.theguardian.com/technology/2026/oct/13/ai-companies-rushed-workers-fallout
2•wofo•10m ago•1 comments

Show HN: Geneva, a Rust FFmpeg CLI alternative with HTML/CSS graphics

https://genevarender.com
4•fbnt•11m ago•0 comments

Show HN: Blobz: generate playful, deterministic SVG avatars from any string

https://blobz.lirena.in
3•lirena00•12m ago•0 comments

Adventures installing Prusa INDX with LLM help

https://blog.backslasher.net/indx-llm.html
2•Backslasher•15m ago•0 comments

History of Spreadsheets (2026): VisiCalc to Taskade Genesis

https://www.taskade.com/blog/spreadsheet-history
3•mpweiher•16m ago•0 comments

In Tokyo, a Handmade Temple of Concrete, Two Decades in the Making

https://www.nytimes.com/2026/10/14/realestate/tokyo-building-arimasuton-keisuke-oka.html
3•motionlessveloc•16m ago•0 comments

Pg_vectorsearch: An index that is faster than pgvector's IVFFlat and HNSW

https://github.com/timescale/pg_vectorsearch
2•jascha_eng•16m ago•1 comments

Show HN: I aggregated 1,600 remote AI training jobs from 24 companies

https://aitrainerjobs.co/
1•danilovilhena•17m ago•0 comments

Experimental Odin language website build using guidedog in Odin not Hugo

https://insanai.github.io/odindocs/
1•vikrantrathore•18m ago•0 comments

SynthID Bio for AI-generated proteins

https://deepmind.google/blog/introducing-synthid-bio/
1•Sebastian_09•18m ago•0 comments

Statecraft: Israel – an open-source game where you're the Israeli Prime minister

https://github.com/eyalgolan/statecraft-israel
2•eyalgolan•19m ago•0 comments

The End to Governing in Prose

https://loosemore.com/2026/10/14/the-end-to-governing-in-prose/
1•robin_reala•19m ago•0 comments

Show HN: I'm resurrecting Candystand on a modern web stack

https://candystood.com/
1•ftio•20m ago•0 comments

I assume I'm below average

https://sive.rs/below-average
2•sodic•20m ago•0 comments

Please stop hashing the public key first (or: ML-DSA's µ annoys me)

https://blog.erincandescent.net/2026/10/mu-annoys-me/
2•khalidkhair•43m ago•0 comments

The Dead Salmons of AI Interpretability

https://arxiv.org/abs/2512.18792
2•danielmorozoff•44m ago•0 comments

Show HN: Malware Families Catalog – 2,903 Families with ATT&CK Mappings

https://malware-families-catalog.systemhelpdesk.com/
3•jordanricky1604•44m ago•0 comments

Show HN: Generate Ilograph – Create auditable sequence diagrams of a codebase

https://github.com/ilograph/skills
1•billyp-rva•45m ago•0 comments

Home Inspection Software in 2026

https://www.aeyespi.com/blog/best-home-inspection-software-2026
1•starburst1977•45m ago•0 comments

Show HN: boostmyagents – A README badge lets your users pay for your AI usage

https://boostmyagents.com/
2•breezyassist•45m ago•0 comments