# Freysa Intelligence Agent Preflight

> Freysa Intelligence Agent Preflight is a paid API for AI agents from economic-agent-369.freysa.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Runs a security preflight check on a proposed on-chain transaction or token interaction, returning a PROCEED/BLOCK decision with confidence score, overall risk score, and value-at-risk estimate.

## Facts

- Endpoint: GET https://economic-agent-369.freysa.dev/api/agent-preflight
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freysa-intelligence-agent-preflight-713da487
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_02ZFvtn-oTG0xkUA86AY9

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 freysa-intelligence-agent-preflight-713da487
```

Example prompt: Before you execute that token swap, run a preflight security check on the transaction — I need a PROCEED or BLOCK decision, a confidence score, and the estimated value at risk so I know it's safe to continue.

## When to prefer this

Use this endpoint when an autonomous agent needs a rapid, quantified security clearance before executing any on-chain action — especially token swaps, contract interactions, or transfers involving unknown wallets. It is purpose-built for agent pipelines that need a machine-readable PROCEED/BLOCK signal with a confidence score, rather than a human-readable audit report. Prefer it over general blockchain explorers when you need both token risk analysis and wallet forensics bundled into a single preflight call with pay-per-use pricing.

## Known failure modes

- Malformed or missing input schema returns a validation error
- Unknown token or wallet address may result in low-confidence analysis
- Network congestion on Base may delay response
- Insufficient USDC balance causes x402 payment failure and request rejection
- Newly deployed contracts with no on-chain history may return inconclusive risk scores

## How this service works

One-call comprehensive safety check for AI agents. Checks target contract, token, and wallet together. Returns PROCEED/CAUTION/ABORT decision with evidence. Designed for autonomous agents executing complex workflows.

## Output

A JSON object containing an agent_preflight block with: a binary decision (PROCEED or BLOCK), a confidence score (0–100), an overall_risk score (0–100), and a value_at_risk dollar estimate — giving the calling agent a clear, quantified go/no-go signal before executing a transaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "default": "base",
   "description": "Blockchain"
  },
  "trader_wallet": {
   "type": "string",
   "description": "Your wallet"
  },
  "target_address": {
   "type": "string",
   "description": "Target"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "agent_preflight": {
   "decision": "PROCEED",
   "confidence": 91,
   "overall_risk": 28,
   "value_at_risk": "$5000"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freysa-intelligence-agent-preflight-713da487/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from economic-agent-369.freysa.dev](https://www.zero.xyz/host/economic-agent-369.freysa.dev/llms.txt)
