An Invoice Agent card showing the code-enforced / instruction-asked / agent-decided pattern

PawelHuryn · x · 2026-12-01

The author shares an example agent card and solution built with a free skill: an Invoice Agent for a newsletter's support flow. The design splits responsibility into three layers—enforced in code (every lookup pinned to the verified email, VAT ID re-checked against the EU VIES registry on save, human must press Save within 10 minutes), asked in the instructions (propose via tool, never claim "saved"), and left to the agent (wording).

Tools are split into reads (list/get invoices, billing details, check VAT ID) and proposes (save details, regenerate invoice); there are no tools for cancel/refund/plan changes. Limits: 10 steps and $0.05 per run, 4 specialist runs per message, 30 messages/hour, one global off switch. A Support Agent routes to Knowledge, Invoice, and Articles specialist agents, backed by Stripe and the EU VAT registry.

Original post →

More from coding & agent

coding & agent channel →