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.

Turso is an in-process SQL database, compatible with SQLite

https://github.com/tursodatabase/turso
1•marklit•2m ago•0 comments

A retail dark pattern worked on me

https://rubenerd.com/a-dark-pattern-worked-on-me/
1•7777777phil•3m ago•0 comments

Show HN: Kacet – a freelancer marketplace with crypto-native payments

https://kacet.com/
2•wrux•6m ago•0 comments

Show HN: JSON Purrser – A JSON viewer with smart field detection

https://www.jsonpurrser.com/
1•one_man_studio•9m ago•0 comments

Show HN: Synth Data Studio Open-source synthetic data with differential privacy

https://github.com/Urz1/synthetic-data-studio
1•Sadam_H•11m ago•1 comments

Show HN: Interactive visualization of relationship mechanics in Dead Plate

https://deadplate.net/
1•causalzap•13m ago•0 comments

Smart Response Technology: Transforming Digital Interaction

https://techvastonline.blogspot.com/2026/01/smart-response-technology-transforming.html
1•Silvaaaa•14m ago•1 comments

The Google Pixel 3 Is a Good Phone. But Maybe Phones Have Gone Too Far. (2018)

https://www.buzzfeednews.com/article/mathonan/google-pixel-3-review-android
2•viralpoetry•15m ago•0 comments

Coding in the Future

https://willleeney.com/blog/coding-in-the-future/
1•willleeney•16m ago•0 comments

IKOS a static analyzer for C/C++ based on the theory of Abstract Interpretation

https://github.com/NASA-SW-VnV/ikos
2•u1hcw9nx•17m ago•0 comments

/R/selfhosted limits vibecoded apps

https://old.reddit.com/r/selfhosted/comments/1qfp2t0/mod_announcement_introducing_vibe_code_friday/
3•mlrtime•18m ago•1 comments

Nuclear elements detected in West Philippine Sea

https://www.philstar.com/headlines/2026/01/18/2501750/nuclear-elements-detected-west-philippine-sea
2•ksec•19m ago•0 comments

Genes and Memes

https://vvesh.de/culture/genes-and-memes
1•pryncevv•22m ago•0 comments

A Platform to Build and Share AI Evaluations

https://weval.org/
1•maluta•23m ago•0 comments

Revolutionary imaging of black hole to prove they're not 'evil vacuum cleaners'

https://www.theguardian.com/science/2026/jan/18/astronomers-revolutionary-moving-image-black-hole...
1•smurda•26m ago•0 comments

After 1,400 commits, I'm leaving Next.js for Laravel

https://youtu.be/H5-duvYKRAo?si=VW7_A0Qc541Yq0NL
3•WahyuS002•28m ago•0 comments

Do we need AI tools to simplify on-page search?

1•ProtosGalaxias•29m ago•0 comments

UTF-8 why specify length in the first byte?

https://youtu.be/vpSkBV5vydg?si=NK1acc8rVlQJVjva
1•birdculture•30m ago•0 comments

Show HN: Goxe – High-performance log reducer to lower observability costs

https://github.com/DumbNoxx/Goxe
1•nxus_dev•32m ago•0 comments

Mother of Elon Musk's son sues his xAI over AI-deepfake images

https://www.cnn.com/2026/01/15/business/elon-musk-son-mom-sues-grok-images
2•croes•32m ago•0 comments

Leonardo da Vinci's DNA may be hiding in his artwork, researchers say

https://edition.cnn.com/2026/01/16/science/leonardo-da-vinci-dna-search
1•giuliomagnifico•33m ago•1 comments

True explanation behind the Guidance project

https://github.com/guidance-ai/guidance/issues/1040
1•StrauXX•33m ago•1 comments

My PHP Wishlist

https://www.einenlum.com/articles/my-php-wishlist/
1•esher•36m ago•0 comments

Open Attack Surface Management – Oasm.dev

1•l1ttps•36m ago•0 comments

Bring Back Ops Pride

https://charitydotwtf.substack.com/p/bring-back-ops-pride
2•BerislavLopac•36m ago•1 comments

Are There Enough Engineers for the AI Boom?

https://spectrum.ieee.org/ai-data-centers-engineers-jobs
1•JeanKage•40m ago•0 comments

Show HN: Gh-PR-review – CLI tool for LLMs to create, read, comment PRs

https://github.com/agynio/gh-pr-review
2•NBenkovich•43m ago•0 comments

Unveiling Firestore Pipeline operations – Firestore's powerful new query engine

https://firebase.blog/posts/2026/01/firestore-enterprise-pipeline-operations
1•reimertz•45m ago•0 comments

Show HN: Build AI Agents Declaratively with Terraform

https://github.com/chatbotkit/terraform-provider-chatbotkit
2•_pdp_•45m ago•0 comments

RISC-V is coming along quite speedily: Milk-V Titan Mini-ITX 8-core board

https://www.tomshardware.com/pc-components/cpus/milk-v-titan-mini-ix-board-with-ur-dp1000-process...
7•fork-bomber•46m ago•2 comments