# Attestify OS Agent Execution Loop

> Attestify OS Agent Execution Loop is a paid API for AI agents from attestify-os.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Runs a persistent, memory-first AI agent execution loop powered by Grok, maintaining context across steps and returning structured results

## Facts

- Endpoint: POST https://attestify-os.vercel.app/api/loop?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/attestify-os-vercel-app-f507b4f7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_49dJE8lLSMlCwiEr-pI7d

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability attestify-os-vercel-app-f507b4f7 -d '<json body>'
```

Example prompt: Run a persistent Grok-powered agent loop to research and summarize the latest trends in decentralized AI — keep track of what you've found across steps and give me a final consolidated answer.

## When to prefer this

Choose this endpoint when you need a stateful, memory-aware AI agent execution loop backed by Grok — particularly when tasks require multi-step reasoning, context retention across turns, or an orchestrated agentic workflow with receipt and verification built in. Prefer over generic LLM completions when persistence and memory across execution steps are essential.

## Known failure modes

- Insufficient USDC balance or x402 payment failure returns a 402 Payment Required error
- Malformed task input or missing required fields returns a 400 Bad Request
- Grok API timeout or upstream LLM failure returns a 503 or 500 error
- Memory state corruption or context overflow may cause partial or degraded responses
- Rate limiting on the underlying Grok model may cause delayed or failed execution

## How this service works

Attestify OS — Memory-first persistent agent execution loop with Grok

## Output

Returns the agent's output from the execution loop, including the generated response, memory state after the run, and any execution trace or intermediate reasoning steps produced by the Grok-powered loop.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status",
      "execution_status",
      "paid",
      "session_id",
      "loop_id",
      "agent_id",
      "output",
      "cost"
     ],
     "properties": {
      "cost": {
       "type": "string"
      },
      "paid": {
       "type": "boolean"
      },
      "output": {
       "type": "string"
      },
      "status": {
       "type": "string"
      },
      "loop_id": {
       "type": "string"
      },
      "agent_id": {
       "type": "string"
      },
      "agent_name": {
       "type": "string"
      },
      "price_usdc": {
       "type": "number"
      },
      "session_id": {
       "type": "string"
      },
      "receipt_url": {
       "type": "string"
      },
      "memory_length": {
       "type": "integer"
      },
      "api_receipt_url": {
       "type": "string"
      },
      "execution_status": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/attestify-os-vercel-app-f507b4f7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from attestify-os.vercel.app](https://www.zero.xyz/host/attestify-os.vercel.app/llms.txt)
