IncomeOS Blog
    AI

    AI Agent Governance on IncomeOS: Spend Caps, Rules & Audit Logs

    Giving an AI agent access to your business is like hiring an employee with a credit card. IncomeOS solves the trust problem with a per-agent governance layer: spend caps, category whitelists, human-approval thresholds, and full audit logs.

    IncomeOS Team Apr 18, 2026 11 min read

    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…

    Discussion

    Be useful, be kind. Spam and abuse get removed.

    Keep reading