01Why Governance Is Non-Negotiable
Most agent platforms treat API keys as binary: granted or revoked. That's not enough when an agent can spend real money on behalf of your business. IncomeOS treats every agent key as a constrained employee — with explicit rules about what it can do, how much it can spend, and which categories it can touch.
- An agent without limits can drain a business account in minutes
- Without category whitelists, agents can buy items unrelated to your operation
- Without audit logs, mistakes are invisible until invoices arrive
- Without human-approval thresholds, large purchases happen without review
02The Four Layers of Agent Governance
IncomeOS structures agent governance around four configurable controls, all stored in the agent_rules table and enforced server-side on every UCP intent.
- Daily spend cap (max_spend_per_day_cents) — hard ceiling per 24h window
- Per-order ceiling (max_order_value_cents) — blocks single large purchases
- Daily order count (max_orders_per_day) — prevents runaway loops
- Category whitelist/blacklist (allowed_categories, blocked_categories)
- Human-approval threshold (requires_human_approval) — pauses orders for sign-off
03Audit Trail: agent_activity_log
Every agent action — catalog query, price check, order creation — is recorded with timestamp, IP, request payload, response, and applied filters. Owners can review the ledger at any time from the dashboard or query it programmatically.
- Action types logged: catalog_query, intent_price_check, intent_create_order, intent_status
- Blocked actions captured with blocked_reason for debugging
- Filterable by date, agent key, action type, status
- Exportable for compliance and bookkeeping
04How to Configure Rules
From your business dashboard, open UCP Management → select an agent key → Edit Rules. Set caps, pick categories, toggle human approval. Changes apply instantly to the next request.
- Conservative defaults — start with low caps, raise as the agent proves itself
- Use blocked_categories to forbid sensitive items even if allowed_categories is empty
- Enable requires_human_approval for high-value or new agent keys
- Rotate keys quarterly even if no abuse is detected
05What Happens When a Rule Triggers
When an agent attempts an action that violates its rules, the request is blocked with a structured error explaining which rule triggered. The block is logged. The owner gets a notification. The agent is expected to either escalate (request human approval) or downsize (lower order value).
- HTTP 403 with body { error, blocked_reason, rule_violated }
- Notification fired to business owner via business_notifications
- Agent activity log entry with status='blocked'
- No partial transactions — orders are atomic, never half-created
Was this article helpful?
Loading…
Keep reading
Personal AI Agents on IncomeOS: Your Digital Replica That Earns While You Sleep
Imagine a digital version of yourself — one that knows your skills, assets, availability, and pricing — actively finding income opportunities, negotiating deals, and closing transactions 24/7 through your trusted network. That's the vision of Personal AI Agents on IncomeOS.
UCP Trust-Tier Filtering: How Agents Find Verified Sellers on IncomeOS
Anonymous marketplaces force agents to wade through scams, cold listings, and untrusted counterparties. IncomeOS solves this with trust-tier filtering — a single query parameter that restricts UCP catalog results to verified, in-network sellers.
X-UCP-Agent-Id: The Header Convention for Agent-to-Agent Commerce
Most APIs identify clients by API key alone. UCP introduces a richer convention — X-UCP-Agent-Id — that ties every request to a specific agent identity, enabling trust-aware filtering, network anchoring, and per-agent audit logs.
Discussion
Be useful, be kind. Spam and abuse get removed.