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•7mo 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•7mo 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•7mo 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.

Reddit Wrapped 2025

https://reddit-wrapped.kadoa.com/
3•0x54MUR41•2m ago•0 comments

Journeying through cosmic views with James Webb Space Telescope [video]

https://www.youtube.com/watch?v=lFiOZqyymUY
2•the-mitr•4m ago•0 comments

Fastest Auto-Scaling Cuckoo Filter in Rust (v0.5.8)

https://crates.io/crates/autoscale_cuckoo_filter
1•i18n•7m ago•1 comments

Ask HN: How to improve AI coding/debugging in large codebases

1•saha26•8m ago•0 comments

Corroded: Illegal Rust

https://github.com/buyukakyuz/corroded
1•WD-42•8m ago•0 comments

Threads – A context strategy for humans and LLMs

https://blog.sao.dev/2025-threads/
1•stuartaxelowen•10m ago•0 comments

Show HN: Reveal – A stateless, zero-DB blur curtain for suspicious links

https://app.iddqd.kr/reveal/
2•iddqd_park•12m ago•0 comments

Node_env: What It Does (and What It Doesn't)

https://ezz.sh/posts/nodeenv-does-not-mean-what-you-think-it-means/
2•ezzabuzaid•12m ago•0 comments

Show HN: Agent Skill + Activity Watcher = productivity hack for 2026

https://github.com/BayramAnnakov/activitywatch-analysis-skill
2•Bayram•13m ago•0 comments

Charm Ruby – Glamorous Terminal Libraries for Ruby

https://charm-ruby.dev/
2•todsacerdoti•14m ago•0 comments

One of America's Most Successful Experiments Is Coming to a Shuddering Halt

https://www.nytimes.com/2025/12/29/opinion/indian-americans-trump.html
3•occamschainsaw•16m ago•0 comments

Silver prices are going crazy

https://english.elpais.com/economy-and-business/2025-12-29/silver-prices-are-going-crazy-this-is-...
2•cumo•18m ago•1 comments

Binaries: I thunk therefore I am

https://fzakaria.com/2025/12/29/huge-binaries-i-thunk-therefore-i-am
3•ingve•30m ago•0 comments

Be fearful when others are greedy Warren Buffett's sharpest lessons in investing

https://www.theguardian.com/business/2025/dec/30/warren-buffett-retires-aunnual-letters-investing...
4•beardyw•33m ago•0 comments

What does the software engineering job market look like heading into 2026?

https://www.finalroundai.com/blog/software-engineering-job-market-2026
2•birdculture•33m ago•0 comments

Real-Time Head-and-Shoulders Pattern Detection for AI Trading Strategies

https://jiripik.com/2025/12/30/real-time-head-and-shoulders-pattern-detection-for-ai-trading-stra...
2•jiripik•37m ago•0 comments

Show HN: Videx – Summarize YouTube without the fluff

https://videxs.com
2•bchaipats•40m ago•0 comments

LatentSync1.6, an end-to-end lip-sync method

https://latentsync.com
3•BruceWok•40m ago•1 comments

Digital age brings Denmark's postal service to a historic end

https://www.cnn.com/2025/12/30/europe/denmark-postal-service-letters-intl-scli
1•asplake•40m ago•1 comments

How Real Satellites Dogfight - Proximity Operations In Space Explained [video]

https://www.youtube.com/watch?v=HcJMT1rW8Lg
3•skibz•41m ago•0 comments

Easydown – Fast, Free, and No-Watermark Video Downloader

https://www.easydown.org/
2•zhangbo•41m ago•1 comments

What to Do When Everyone Can Do Everything

https://digitaliziran.si/2025/12/30/2026-what-to-do-when-everyone-can-do-everything/
3•gregman1•42m ago•1 comments

Robots.txt Tester

https://alertsleep.com/tools/robots-txt-tester
2•thepatrykooo•43m ago•0 comments

Everybody Hates Timesheets

https://ihatetimesheets.eu
2•avh3•43m ago•0 comments

The Missing Control Layer Between AI Decisions and Execution

https://github.com/Rick-Kirby/execution-control-layer
1•RickKirby•47m ago•1 comments

Smallest Robot Uses Light for Power and Navigation

https://insidetelecom.com/worlds-smallest-robot-can-think-and-costs-a-penny/
1•tzury•47m ago•0 comments

Show HN: DevCompare – a live, auto-updating comparison of AI coding tools

https://www.devcompare.io/
2•anticlickwise•48m ago•0 comments

Show HN: Revieko – architecture drift hotspots in every pull request

https://synqra.tech/revieko
1•EfimovSD•51m ago•1 comments

Claude Code Mobile Client [MIT License]

https://happy.engineering
2•e2e4•54m ago•1 comments

Show HN: I made AI virtual staging tool for real estate listing

https://www.aivirtualstaging.net
3•atharvtathe•55m ago•0 comments