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

LLDB in 2025

https://jonasdevlieghere.com/post/lldb-2025/
1•ingve•2m ago•0 comments

Show HN: AI agent that joins Google Meet/Zoom to give live product demos

https://www.pipersdr.com/
1•ajabhish•12m ago•0 comments

JavaScript virtual machine with QuickJS running in WASM under Go/JS

https://github.com/aperturerobotics/go-quickjs-wasi-reactor
1•aperturecjs•16m ago•1 comments

Pratfall Effect

https://en.wikipedia.org/wiki/Pratfall_effect
1•rzk•17m ago•0 comments

Uncensored AI for image and video generation

https://www.gocrazyai.com/
1•shotvu•18m ago•0 comments

A guide on how to use beets, a media library manager

https://gist.github.com/DevER-M/a52b363b21093d8d285fb86c4aa098b5
1•DevER-M•23m ago•1 comments

Irrational betting craze signals we're on the cusp of a crash

https://www.thetimes.com/business/companies-markets/article/stocks-ai-crash-imminent-prediction-m...
3•petethomas•24m ago•2 comments

Show HN: BrewBar – a native macOS menubar app to manage Homebrew services

https://github.com/OmkarKirpan/BrewBar
1•omkarkirpan•26m ago•1 comments

MCP for GoDaddy

https://github.com/alpnix/GoDaddy-MCP
1•alpnix•28m ago•0 comments

How to wrangle non-deterministic AI outputs into conventional software? (2025)

https://www.domainlanguage.com/articles/ai-components-deterministic-system/
3•druther•32m ago•1 comments

Building a better Bugbot

https://cursor.com/blog/building-bugbot
6•onurkanbkrc•35m ago•0 comments

Playing daily games at work? Timdle just launched work mode

https://www.timdle.com/work
3•maskinberg•36m ago•0 comments

Ralph wiggum Agentic Coding Frameworks in 2026

https://ralphwiggum.org/blog/agentic-coding-frameworks-guide
1•zlonmask•36m ago•0 comments

Six more AI outfits sign for Wikimedia's fastest APIs

https://www.theregister.com/2026/01/16/wikimedia_25_ai_partner_access/
1•beardyw•36m ago•1 comments

Pi Coding Agent

https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent
1•ttobi•38m ago•0 comments

Ask HN: Share Your Personal Website

1•SRMohitkr•38m ago•0 comments

Our First Press Release: Mentra Releases First Smart Glasses with an App Store

https://mentraglass.com/blogs/blog/our-first-press-release-mentra-releases-first-smart-glasses-wi...
1•_____k•39m ago•0 comments

Chinese AI Developers Say They Can't Beat America Without Better Chips

https://www.wsj.com/tech/ai/china-ai-race-us-chips-9e74b957
2•Brajeshwar•40m ago•0 comments

Local-Only Marstek Venus E Battery Integration with Home Assistant

https://du.nkel.dev/blog/2026-01-11_marstek-battery-homeassistant/
1•Helmut10001•40m ago•0 comments

Decoding Academic Papers with AI: A Practical Guide

https://joshtuddenham.dev/blog/hashmaps/
1•reinhardt•42m ago•1 comments

Meta Horizon Workrooms is being discontinued

https://www.meta.com/en-gb/help/quest/2464765133873078/
1•_____k•43m ago•0 comments

Nobel Institute says Venezuelan leader Machado can't give Peace Prize to Trump

https://apnews.com/article/trump-machado-nobel-peace-prize-c7f47c161edc9b719dea3d0165f32a1f
3•wslh•49m ago•0 comments

Show HN: Convert PNG to STL Free Online Tool

https://pngtostl.xyz
1•niliu123•52m ago•0 comments

Hardware‑Attested Ad Insertion for Encrypted Video

https://www.gojiberries.io/hardware-attested-ad-insertion-for-encrypted-video/
1•neehao•58m ago•0 comments

Histomat of F/OSS: We should reclaim LLMs, not reject them

https://writings.hongminhee.org/2026/01/histomat-foss-llm/
1•todsacerdoti•1h ago•0 comments

Training large language models on narrow tasks can lead to broad misalignment

https://www.nature.com/articles/s41586-025-09937-5
3•thebeardisred•1h ago•0 comments

Hierarchy view now available in GitHub Projects

https://github.blog/changelog/2026-01-15-hierarchy-view-now-available-in-github-projects/
1•fphilipe•1h ago•0 comments

Why Go Is Going Nowhere

https://www.economist.com/asia/2026/01/15/why-go-is-going-nowhere
1•emptybits•1h ago•1 comments

Building a Unified Knowledge Graph Across Multiple Data Sources

https://www.rox.com/articles/building-a-unified-knowledge-graph-across-multiple-data-sources
1•damonlin•1h ago•0 comments

Ferrofluid Technology Becomes a Magnet for Pioneering Artists

https://spinoff.nasa.gov/Spinoff2018/cg_3.html
1•andsoitis•1h ago•0 comments