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.
More from coding & agent
- Google ships Gemini 4 Neon at $3/$15 per million tokens, tops coding agent index at 58.6 — dl_weekly · 2026-12-01
- Liminal Houseshare open-sourced: what AI models do when you remove all tasks — liminal_bardo · 2026-12-01
- OpenAI adds an opt-out switch for Codex Daybreak training data, on by default — rez0__ · 2026-12-01
- Interactive in-browser tutorial trains flow matching models live in under a minute — math_rachel · 2026-12-01
- Meme mocks double standards: Cursor gets a wink, Grok Build gets reported to HR — var_epsilon · 2026-12-01
- Cursor, Windsurf, Codex all rebranded: '2026 was a bad year for good brand names' — kevinkern · 2026-12-01