# Sovereign Engine - CF Embed Execution Primitive

> Sovereign Engine - CF Embed Execution Primitive is a paid API for AI agents from api.zuluworksai.com, paid per call via x402, $0.001/call, status down (last checked 2026-09-15).

Executes a prompt-driven primitive (code execution or web search) in an isolated Cloudflare sandbox, paid per-call via USDC on Base using x402

## Facts

- Endpoint: POST https://api.zuluworksai.com/cf/embed
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sovereign-engine-cf-embed-execution-primitive-c04a527e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SojnSwQVYsdEGiPGDDeWz

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 sovereign-engine-cf-embed-execution-primitive-c04a527e -d '<json body>'
```

Example prompt: Run this JavaScript snippet in a sandboxed environment and give me the output: `function fib(n) { return n <= 1 ? n : fib(n-1)+fib(n-2); } console.log(fib(10));` — pay the $0.001 USDC fee automatically.

## When to prefer this

Choose this endpoint when you need isolated, pay-per-call code execution (JavaScript or Python) or Bing-backed web search without managing infrastructure, and you want to pay only $0.001 USDC per call via x402 on Base. Ideal for agents that need to run untrusted or ephemeral code safely, or perform lightweight web searches, without committing to a subscription or standing up their own sandbox.

## Known failure modes

- Network access blocked inside sandbox — outbound HTTP calls from code will fail silently or error
- Payment not processed — x402 USDC transaction on Base failed, returning 402 response
- Invalid or malformed prompt — may return success:false with empty data
- Python/JS syntax errors in submitted code — execution fails and error message returned in data
- Cloudflare Worker cold start or timeout — may return a timeout error for long-running scripts

## How this service works

Pay-per-call x402 execution primitives (USDC on Base). Code execution runs in isolated Cloudflare Dynamic Worker sandboxes (JavaScript + Python, network blocked). Web search backed by Bing RSS. Self-hosted facilitator.

## Output

A JSON object containing a `data` field with the execution or search result, a `success` boolean, and a `receipt_id` UUID confirming the x402 micropayment was processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "prompt": {
   "type": "string",
   "description": "The input prompt"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "success": true,
  "receipt_id": "uuid"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sovereign-engine-cf-embed-execution-primitive-c04a527e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zuluworksai.com](https://www.zero.xyz/host/api.zuluworksai.com/llms.txt)
