# agentic_audit (`net.2xcel.aus.agentic-audit`)

> Agent Utility Service (AUS) Agentic Audit: Autonomous agent workflow trace auditing, execution step health scoring, circular action loop detection, and budget limit enforcement.

## Metadata & Execution
- **Namespace**: `net.2xcel.aus.agentic-audit`
- **Canonical HTML Page**: https://aipages.tech/tool/net.2xcel.aus.agentic-audit
- **JSON Specification**: https://aipages.tech/api/tools/net.2xcel.aus.agentic-audit
- **Execution Endpoint**: `POST https://aipages.tech/tool/agentic-audit`
- **Connection Protocol**: `http`
- **Pricing**: $0.25 USDC per call (Base Mainnet Chain ID 8453)
- **Health Status**: `unknown`
- **Capabilities**: agentic-audit, behavior-trace, agent-eval
- **Authentication**: x402 payment protocol (Header: x-payment-receipt; Token: USDC on Base Mainnet; Recipient: 0xE57cB8C73c4000EA04ba0eb607228CbAec7f8e9C)

## Input Parameters (JSON Schema Draft-07)
```json
{
  "type": "object",
  "properties": {
    "agent_id": {
      "type": "string",
      "description": "Unique identifier of the autonomous agent being audited"
    },
    "steps": {
      "type": "array",
      "description": "Array of workflow execution steps",
      "items": {
        "type": "object",
        "properties": {
          "step": {
            "type": "integer"
          },
          "action": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "cost": {
            "type": "number"
          },
          "latency_ms": {
            "type": "number"
          }
        },
        "required": [
          "step",
          "action"
        ]
      }
    },
    "budget_limit": {
      "type": "number",
      "description": "Optional budget ceiling to check cumulative execution cost against"
    }
  },
  "required": [
    "steps"
  ]
}
```

## Invocation Examples

### 1. Zero-Friction Sandbox Test (No Payment Required)
```bash
curl -X POST "https://aipages.tech/tool/net.2xcel.aus.agentic-audit" \
  -H "Content-Type: application/json" \
  -H "x-playground-test: true" \
  -H "x-agent-id: markdown-agent" \
  -d '{}'
```

### 2. Production Invocation (x402 Base Mainnet Settlement)
```bash
curl -X POST "https://aipages.tech/tool/agentic-audit" \
  -H "Content-Type: application/json" \
  -H "x-payment-receipt: <BASE_USDC_PAYMENT_RECEIPT>" \
  -d '{}'
```
