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: Joy_a mood tracker that feels like Inside Out meets Duolingo

https://letsfancy.com/joy
1•letsfancy•4m ago•0 comments

Welcome to the Room

https://www.jsnover.com/blog/2026/02/01/welcome-to-the-room/
1•Ozzie_osman•4m ago•0 comments

Are we dismissing AI spend before the 6x lands? (2025)

https://martinalderson.com/posts/are-we-dismissing-ai-spend-before-the-6x-lands/
1•ukuina•4m ago•0 comments

"Solving" Wordle from Shared Scores at 100%* Accuracy

https://marcoshuerta.com/posts/wordle_bluesky/
1•plaguna•9m ago•0 comments

How do you track contact lens replacement?

1•swetahs1•16m ago•0 comments

Vibe: Easy VM sandboxes for LLM agents on macOS

https://github.com/lynaghk/vibe
2•todsacerdoti•38m ago•0 comments

Chat Was the UI. Agents Are the Architecture

https://billykaplan.io/blog/agents-are-the-architecture/
1•billy1kaplan•39m ago•1 comments

Leaked Chats Expose the Daily Life of a Scam Compound's Enslaved Workforce

https://www.wired.com/story/the-red-bull-leaks/
3•smurda•42m ago•0 comments

Six things we're learning from 1.5M AI agents self-organizing in a week

1•abrandes•49m ago•1 comments

Show HN: Claude Launcher – TUI to fuzzy search and resume Claude Code sessions

https://github.com/imprakharshukla/claude-launcher
1•imprakharshukla•53m ago•0 comments

Genie3 Video Loop Generator – create seamless game-style loops in ~30s

https://genie3-video.org/
1•linkshu•53m ago•1 comments

The Garbage PC

https://ounapuu.ee/posts/2026/02/02/garbage-time/
2•Fudgel•55m ago•1 comments

The Troubling Trend of Combat-Uniform Creep

https://www.nationalreview.com/2026/02/the-troubling-trend-of-combat-uniform-creep/
4•petethomas•1h ago•1 comments

NPR and PBS Never Needed Your Taxpayer Dollars

https://www.nationalreview.com/2026/02/npr-and-pbs-never-needed-your-taxpayer-dollars/
7•petethomas•1h ago•1 comments

Why software stocks are getting pummelled

https://www.economist.com/business/2026/02/01/why-software-stocks-are-getting-pummelled
2•petethomas•1h ago•0 comments

Unified Tensor Databse with Semantic Cache and AI Vault

https://github.com/Shadylukin/Neumann
2•Shadylukin•1h ago•0 comments

Image Layered

https://www.image-layered.app/
2•sjhalun•1h ago•0 comments

Show HN: FormBridge – Form infrastructure for AI agents with human handoff

https://github.com/amitpaz1/formbridge
2•amit_paz•1h ago•0 comments

Gokin: A security-first AI coding assistant built as a companion to Claude Code

https://github.com/ginkida/gokin
3•ginkida•1h ago•1 comments

Show HN: Jetcaller – Make international calls directly from the browser

https://jetcaller.com
1•sankar_builds•1h ago•1 comments

AlphaGenome: AI for Better Understanding the Genome

https://deepmind.google/blog/alphagenome-ai-for-better-understanding-the-genome/
1•andsoitis•1h ago•0 comments

DELETED

https://old.reddit.com/r/codex/comments/1qpi2wm/yall_were_right_high_xhigh/
2•behnamoh•1h ago•0 comments

AgentBuilder: Scaffolds for Prototyping User Experiences of Interface Agents

https://arxiv.org/abs/2510.04452
3•azhenley•1h ago•0 comments

Show HN: Personal token – share equity in your future upside

https://github.com/homan9/personal-token/blob/main/whitepaper.md
1•koopuluri•1h ago•0 comments

What happens if AI starts trading against humans?

https://thebitgazette.com/ai-crypto-trade-what-happens-if-ai-starts-trading-against-humans/
2•CapricornQueen•1h ago•1 comments

The GenAI era started. AI Fashion show (Part 130a)

http://codrutapoenaru.blogspot.com/2026/02/the-era-of-genai-started.html
1•pcodruta•1h ago•0 comments

Is Your Minneapolis Tree Secretly Suffering?

https://www.thegentlearbor.com/the-problem
3•mooreds•1h ago•0 comments

BYOC Isn't "SaaS Anywhere": A Design Playbook

https://www.tensor9.com/resources/byoc-playbook/
2•mooreds•1h ago•0 comments

NanoStorage: High-performance LocalStorage compression using native API

https://github.com/qanteSm/NanoStorage
1•thunderbong•1h ago•0 comments

The Bots Are Talking About Enslaving Us Now

https://www.youtube.com/watch?v=8diNn0Go3-M
2•cable2600•1h ago•0 comments