frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Language Modeling Is Compression [pdf]

https://proceedings.iclr.cc/paper_files/paper/2024/file/3cbf627fa24fb6cb576e04e689b9428b-Paper-Co...
2•gmays•1m ago•0 comments

Nuitka the Python Compiler: Release 4.4 Adds Support for WASM Target

https://nuitka.net/posts/nuitka-release-44.html
1•theanonymousone•1m ago•0 comments

Build-from-existing – an agent skill for designing from work that exists

https://github.com/ChampPhil/build-from-existing
2•pvalcin•3m ago•1 comments

Website Pirates Pharma with Tone

https://yogababe.online/
2•jollydragon•5m ago•0 comments

Show HN: Minichessgames.com – chess games for kids learning the basics

https://www.minichessgames.com/
2•patrickdavey•6m ago•0 comments

Exit Music for a Film

https://www.bassi.io/articles/2026/11/27/exit-music-for-a-film/
2•panic•6m ago•0 comments

Show HN: UnplugFlow – Client-side Pipedream export auditor and replay diff CLI

https://unplugflow.vercel.app
2•ali0923•9m ago•0 comments

Show HN: I spent $715 on Fable 5.2 tokens to make this painting from code

https://elliotbonneville.com/a-715-painting/
3•elliotbnvl•9m ago•1 comments

Canada as a strategy-game hex map

https://canadahex.ca/
3•samso26•10m ago•0 comments

Tech's outage problem needs maintenance, not conspiracy theories

https://www.theregister.com/research/2026/11/26/techs-outage-problem-needs-maintenance-not-conspi...
3•cmiles74•11m ago•0 comments

Recent Outages Have Economic Causes

https://www.schneier.com/blog/archives/2026/11/recent-outages-have-economic-causes.html
2•jruohonen•11m ago•0 comments

AI Agents for Business Are Creating a Gap Few Companies See Coming

https://griffinproduct.co/writing/ai-agents-for-business-are-creating-a-gap
3•mooreds•11m ago•0 comments

Low Base Price, Pricey Add-Ons: Testing the Slate EV

https://www.wsj.com/lifestyle/cars/slate-truck-ev-dan-neil-review-00c5339a
2•seizethecheese•12m ago•0 comments

Cloudflare cyber security protection for at-risk sites

https://www.cloudflare.com/galileo/
2•mooreds•13m ago•0 comments

Scattered thoughts on how doing math feels these days

https://www.lesswrong.com/posts/HuQAuWjc2Z5tqCjyw/scattered-thoughts-on-how-doing-math-feels-thes...
3•BenPace•17m ago•0 comments

Appfiles – saveable, shareable, interactive HTML

https://npilk.github.io/appfile/
3•npilk•17m ago•0 comments

Show HN: AgentWitch – lessons that survive the next coding-agent session

https://www.agentwitch.com
2•phongthien•18m ago•0 comments

The math behind one labor hour in a lawn care business

https://getwellpriced.com/guides/profitability-plan-labor-hour/
3•renehaaseOrd•19m ago•0 comments

The Last 20%

https://vpetersson.com/2026/08/21/the-last-20-percent/
3•mooreds•22m ago•0 comments

The Internet Pinball Machine Database

https://www.ipdb.org/
1•gregsadetsky•24m ago•0 comments

Building an Unpopular World

https://www.writingruxandrabio.com/p/building-an-unpopular-world
1•jger15•31m ago•0 comments

LLM.asm: Ring -1 Kernel Surgeon

https://github.com/alesha-pro/llm.asm/tree/main/04-ring1-kernel-surgeon
1•porridgeraisin•34m ago•1 comments

How do you know your AI agent is quietly wrong in production?

https://github.com/openlit/openlit
1•amanag041•34m ago•0 comments

Find Your Protien Bar

https://worth-the-bar.vercel.app/
1•Exorust•35m ago•0 comments

Lizzie Magie

https://en.wikipedia.org/wiki/Lizzie_Magie
1•js2•36m ago•0 comments

The Shaving of Yaks is a difficult matter

https://www.gilesthomas.com/2026/11/yak-shaving
2•gpjt•39m ago•0 comments

Position: The Platonic Representation Hypothesis

https://proceedings.mlr.press/v235/huh24a
2•gmays•41m ago•0 comments

Modern Webbased Mmorpg Cybersecurity / Crypto Game

https://netgrid.01a.in
1•p4cmanus3r•41m ago•1 comments

Hank Green self-funding ClockwiseTV, curated educational video platform for kids

https://techcrunch.com/2026/11/17/hank-green-is-self-funding-clockwisetv-a-curated-educational-vi...
3•joeyespo•45m ago•0 comments

polykatamari – roll up the world, one vertex at a time

https://polykatamari.bisks.net/
1•bookofjoe•46m 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.