Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.prflght.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Prflght is a transaction firewall that sits between your AI agent and the Solana blockchain. Before any transaction is submitted on-chain, Prflght simulates it, checks it against your agent’s policy, and verifies the health of any DeFi protocols involved — only allowing the transaction through if it passes every check.

Quick Start

Connect your wallet, grab your API key, and protect your first transaction in minutes.

How It Works

Understand the simulation, policy evaluation, and attestation flow.

SDK Reference

Drop Prflght into any TypeScript agent with the @prflght/sdk package.

API Reference

Explore the REST endpoints your agent calls to check and approve transactions.

How Prflght protects your agent

Every transaction your AI agent sends is automatically:
  1. Simulated against a live Solana RPC to catch failures before they hit the chain
  2. Policy-checked against your per-agent rules — notional limits, allowed programs, slippage caps, and daily transfer limits
  3. Protocol health-verified using live TVL data from DeFiLlama for Orca, Drift, Kamino, Raydium, Jupiter, and more
  4. Attested with a signed ed25519 signature that your on-chain program verifies before executing
1

Create your account

Go to app.prflght.xyz, connect your Solana wallet (Phantom or Solflare), and sign a message to authenticate. No password needed.
2

Configure your agent policy

Set your agent’s spending limits, allowed programs, and risk thresholds in the policy editor on the dashboard.
3

Integrate the SDK

Install @prflght/sdk and wrap your transaction-sending code with a single firewall.check() call.
4

Send protected transactions

Prflght returns attestation instructions you prepend to your transaction. Your on-chain program verifies the attestation before executing.
Prflght works with any Solana AI agent framework. Native plugins are available for elizaOS and Solana Agent Kit.