Better HN
topnewbestaskshowjobs
Log inSign up

liad

50 karma · joined Apr 10, 2010 (16y ago) · 82 submissions

Submissions

1.

96.8% of MCP tool descriptions don't warn the agent about destructive behaviour(policylayer.com ↗)

4 points · by liad · 6mo ago · discuss

comment 8mo ago · link · parent

We're working on spend controls for AI agents using MPP. The protocol handles how agents pay, but there's no standard way to enforce budgets before payment happens.

How people here are handling this. When your agent hits a $35 API call, or gets stuck in a retry loop on a $0.50/req service, what stops it from draining the wallet?

Are wallet-level caps enough? Are you writing custom budget checks in your agent code? Or just not worrying about it yet?

We built an open source MCP proxy (github.com/policylayer/intercept) that enforces policy on tool calls. Thinking about extending it to read the -32042 payment challenge, check the amount against a budget, and allow/deny/hold for approval before the wallet pays.

Would love to hear if this is a real pain or a theoretical one.

comment 8mo ago · link · parent

Wraps any MCP server and checks every tool call before it runs. (Open Source)

comment 9mo ago · link · parent

would policylayer.com be helpful to you?

comment 9mo ago · link · parent

Nice kit. One gap in x402 flows: no standard way to express "this agent can spend up to $X/day on these API categories." Payment primitive works, but the authorization/policy layer is ad hoc. Working on this at PolicyLayer — programmable spend policies for agent wallets.

6.

Show HN: PolicyLayer – Non-custodial spending limits for AI agents(policylayer.com ↗)

1 points · by liad · 10mo ago · discuss

comment 10mo ago · link · parent

A real-time Kanban board for monitoring Claude Code tasks. See what Claude is working on, track dependencies between tasks, and add notes that Claude can read.

comment 1y ago · link · parent

AI agents need to make autonomous payments, but if you give them direct wallet access, they can drain your funds. Custodial solutions create liability and trust issues. Building custom controls takes weeks.

## The Solution

A two-gate enforcement model:

1. *Gate 1 (Validate)*: Agent requests payment → Policy engine checks limits → Issues single-use authorization token 2. *Gate 2 (Verify)*: Before signing → Verify token + check for tampering → Only then sign transaction

Your keys never leave your infrastructure. Policy enforcement happens before signing.

Currently demonstrated with Tether WDK on Ethereum, but the wrapper pattern works with any wallet SDK.

9.

Show HN: Agent Spending Controls – Enforce spending limits without custody(github.com ↗)

2 points · by liad · 1y ago · 1 comment

10.

A Framework for Building an Agentic Business(linkedin.com ↗)

1 points · by liad · 1y ago · discuss

123