import { useState } from 'react' import { Check, Copy, Cpu, CheckCircle2 } from 'lucide-react' export default function LiveAPI() { const [copied, setCopied] = useState(null) const curlExample = `curl -X POST http://127.0.0.1:8080/v1/evaluate \\ -H "Content-Type: application/json" \\ -d '{"agent_id": "agent-01", "action_type": "EXEC_TOOL", "payload": {"command": "git status"}}'` const handleCopy = () => { navigator.clipboard.writeText(curlExample) setCopied('curl') setTimeout(() => setCopied(null), 2000) } return (
{/* Top ambient glowing accent line */}
{/* Background glow accents */}
[ PROTOCOL SPECIFICATION ]

BTP Protocol Architecture

Vendor-neutral cryptographic control plane for autonomous tool-calling agents.

{/* Specification Cards */}
[STANDARD]
RFC 8785
Deterministic Canonical JSON serialization
[SIGNATURE]
Ed25519
FIPS 186-5 asymmetric attestation
[TARGET LATENCY]
<50 µs
Sub-millisecond in-process evaluation
[ISOLATION]
3-Tier Boundary
Compiler AST + Hermetic Sandbox + Proof
{/* REST Evaluation Gateway Demo */}
{/* Header */}
curl — evaluate-intent.sh
              {curlExample}
            
POST /v1/evaluate
POST /v1/verify
GET /v1/trust-root
) }