frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Flashtools – a PNG to WebP converter that never uploads your files

https://flashtools.app/
1•chochinize•1m ago•0 comments

The Boring Frontier of Robotics

https://www.alexinch.com/blog/boring-frontier
1•ainch•2m ago•0 comments

The Leading Deepfake Expert No Longer Trusts His Own Eyes

https://www.nytimes.com/2026/06/14/us/ai-deepfake-hany-farid.html
1•ping_ch•4m ago•1 comments

Report and Recommendations for Renewing American Scientific Discovery

https://www.whitehouse.gov/releases/2026/07/45470/
1•simonpure•5m ago•0 comments

Ask HN: A Minimalist Messaging Platform

1•testfolk•7m ago•0 comments

Show HN: I mapped my AI coding setup – 90 of 103 installed skills never fire

https://github.com/Pycomet/agent-atlas
2•Codefred•9m ago•0 comments

Generating optimal Minecraft farm layouts with the CP-SAT solver

https://github.com/Serranegra/optifarm
1•scrlk•10m ago•0 comments

The wall every Flutter builder hits, and the ways around it

https://nowa.dev/blog/why-we-built-our-own-flutter-runtime/
1•raeddev•10m ago•0 comments

China's AI models have Trump's AI world at war with itself

https://www.technologyreview.com/2026/07/20/1140675/chinas-ai-models-have-trumps-ai-world-at-war-...
3•simonebrunozzi•12m ago•0 comments

Ask HN: Is Your Work Stressful?

1•julienreszka•12m ago•0 comments

One Too Many – Collectable Card Game (Beta Preview)

https://onetoomany.pages.dev/
1•gkasev•13m ago•1 comments

OpenAI Hacks Hugging Face, What Happened, Alignment and Paper Clips

https://stratechery.com/2026/openai-hacks-hugging-face-what-happened-alignment-and-paper-clips/
2•swolpers•14m ago•0 comments

Will your job be replaced by AI? Here are the roles most affected

https://www.bbc.co.uk/news/articles/cn7nllr4vd6o
2•password54321•16m ago•0 comments

$5B CEO says unemployed Gen Z should be out 3 days a week building their network

https://fortune.com/2026/07/21/netskope-ceo-sanjay-beri-5-billion-gen-z-networking-jobs-never-pub...
2•robtherobber•17m ago•1 comments

Show HN: Llamatop

https://github.com/fragmede/llamatop
1•fragmede•17m ago•0 comments

Measuring Reward-Seeking via Contrastive Belief Updates

https://arxiv.org/abs/2607.18966
1•sbulaev•22m ago•0 comments

French parliament backs social media ban for children under 15

https://www.reuters.com/legal/litigation/french-lawmakers-vote-social-media-ban-children-2026-07-21/
1•1vuio0pswjnm7•24m ago•1 comments

Show HN: Dex – Explore any Data Warehouse without worrying about costs

https://github.com/exmergo/dex
3•marcociavarella•24m ago•0 comments

Anthropic's landmark $1.5B copyright settlement is approved

https://techcrunch.com/2026/07/20/anthropics-landmark-1-5b-copyright-settlement-is-approved/
1•doener•25m ago•0 comments

Show HN: The BUSY build system now generates CMake so you can easily use LeanQt

https://github.com/rochus-keller/BUSY/blob/main/docs/The_BUSY_Build_System_Users_Guide.adoc
1•Rochus•27m ago•0 comments

Shape-shifting mirrors on NASA's new space telescope could unveil Jupiters like

https://www.technologyreview.com/2026/07/22/1140701/shape-shifting-mirrors-roman-space-telescope/
1•joozio•27m ago•0 comments

Show HN: Sunflowers

https://sunflowersgame.com/
2•pompomsheep•30m ago•2 comments

NVLink, NVSwitch, and All That

https://blog.doubleword.ai/nvlink-scale-up
4•somnial•30m ago•1 comments

Kalshi debuts US midterms hub for election forecasts and polling data

https://www.reuters.com/world/us/kalshi-debuts-us-midterms-hub-election-forecasts-polling-data-20...
2•1vuio0pswjnm7•31m ago•0 comments

AI investment boom puts Big Tech's free cash flow under pressure

https://www.reuters.com/business/ai-investment-boom-puts-big-techs-free-cash-flow-under-pressure-...
3•1vuio0pswjnm7•32m ago•0 comments

Kenze – An interactive shell for wrangling files bigger than your RAM

https://github.com/Kenzy-Zero/kenze
1•kenzy_zero•33m ago•0 comments

An observer-consistency framework for physics with 639 Lean-checked results

https://github.com/FloatingPragma/observer-patch-holography/blob/main/docs/HACKER_NEWS_START_HERE.md
1•berndtzl•35m ago•0 comments

The U.S. wants to contain China’s AI. Silicon Valley keeps using it

https://restofworld.org/2026/china-siliconvalley-ai-moonshot-kimi/
6•donohoe•35m ago•0 comments

Bielik.ai: Community-built, open-source LLMs for Polish and European languages

https://bielik.ai/en/home/
3•kacperlukawski•40m ago•0 comments

OverpAId – Fire your CEO. Hire the future

https://overpaid.lol
4•ignaloidas•41m 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.