frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Agent memory needs its OpenTelemetry moment

https://www.lorekit.io/blog/open-agent-memory-format
1•mthines•3m ago•0 comments

Why Is Everyone Leaving New Zealand? [video]

https://www.youtube.com/watch?v=zIxTKc67tHU
2•TMWNN•5m ago•0 comments

Pakistani astronaut to become first foreigner on China's space station

https://www.independent.co.uk/asia/south-asia/pakistan-astronaut-china-shenzhou-space-station-b30...
2•nephihaha•9m ago•0 comments

C development for Linux without a standard library

https://kevinboone.me/shnolib.html
1•andsoitis•15m ago•0 comments

Build Software on Your Phone

https://markow.dev/writing/build-software-on-your-phone/
1•robowo•18m ago•0 comments

6th-grade Peano arithmetic broke OpenAI's $100B Yang-Mills mass gap proof

https://github.com/Dr-Logvinovich/round-square/blob/main/README.md
5•DRLogvinovich•20m ago•0 comments

The Credit Card

https://phonecardmuseum.com/articles/banking-cards/the-credit-card/
1•thunderbong•23m ago•0 comments

Being a line cook without talking to AI

https://knhash.in/no-ai-line-cook/
1•knhash•28m ago•0 comments

NASA is looking for new astronauts to help grow its Artemis program

https://www.nbcnews.com/science/space/nasa-is-looking-for-new-astronauts-rcna608025
1•TMWNN•28m ago•0 comments

Category Theory Illustrated

https://abuseofnotation.github.io/category-theory-illustrated/
2•rramadass•29m ago•0 comments

Show HN: Ferrule – copy-in React Native UI components for iOS, Android and web

https://leoanimesh.github.io/ferrule/
1•leoanimesh•29m ago•0 comments

Investing vs. gambling: how to tell the difference

https://www.cfainstitute.org/insights/articles/investing-vs-gambling
1•throwaway2037•35m ago•0 comments

The Rise of Microdramas

https://www.bbc.com/news/articles/cm87zv70jg9no
2•sarreph•35m ago•0 comments

Show HN: Hacker News Column View

https://hn.orbitalchicken.com
1•y1n0•42m ago•0 comments

The Great GOP Dummymander of 2026

https://www.nationalreview.com/corner/the-great-gop-dummymander-of-2026/
1•carabiner•44m ago•0 comments

I Won't Hire People Who Use Poor Grammar. Here's Why (2012)

https://hbr.org/2012/07/i-wont-hire-people-who-use-poo
1•arbayi•46m ago•1 comments

Is Opus 5.5 nerfed? Thinking patterns changed on November 3

https://twitter.com/shanemelaugh/status/2119192075505893695
1•rzk•48m ago•0 comments

Autonomous Dynamics Runtime (ADR) – Zero-copy C++20 execution spec

https://github.com/EvaReinar2356/AS3D-/blob/main/README.md
1•EvaDeville•52m ago•0 comments

My Grok Bot Started Vendor Locking Me

https://twitter.com/RoyOsherove/status/2119327808778313824
1•royosherove•58m ago•0 comments

Unattended reboots with encrypted disks (ZFS)

https://blogsystem5.substack.com/p/zkeys-intro
1•Maledictus•1h ago•0 comments

Show HN: Ramen – an AI agent that has to earn its own rent

https://usdt-kit-production.up.railway.app/ramen
1•showang•1h ago•0 comments

Never Gonna Print You Up

https://dixken.de/blog/never-gonna-print-you-up
2•ta988•1h ago•0 comments

Crypto industry braces for reckoning over Trump ties

https://www.ft.com/content/f1b98a61-4103-447c-bb9a-3dccc0819f61
2•JumpCrisscross•1h ago•1 comments

WaveDudeNext 2D Wave Simulator

https://github.com/graealex/WaveDudeNext
2•sweetdingoes•1h ago•0 comments

In Praise of Cash (2017)

https://aeon.co/essays/if-plastic-replaces-cash-much-that-is-good-will-be-lost
1•germanrabbit•1h ago•0 comments

There's No Such Thing as a Stock-Market Bubble

https://www.wsj.com/opinion/theres-no-such-thing-as-a-stock-market-bubble-159ea117
2•gmays•1h ago•0 comments

Ask HN: LLM-Resistant Publishing Strategies

2•negura•1h ago•2 comments

Show HN: SEC Fundamentals – free financial API

https://www.quotelinks.com/api/sec-fundamentals/
1•chartwidgets•1h ago•0 comments

James Barnor: Outstanding Contribution to Photography 2027

https://www.worldphoto.org/blogs/05-11-26/10-things-know-about-james-barnor-outstanding-contribut...
3•Tomte•1h ago•0 comments

Windows Are Absurd (From an engineering standpoint)

https://practical.engineering/blog/2026/11/3/windows-are-absurd
2•vismit2000•1h ago•0 comments
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.