import { Zap, Shield, FileText } from 'lucide-react' const STEPS = [ { step: '01', icon: Zap, color: '#38bdf8', title: 'Intercept', subtitle: 'Before execution', desc: 'Your agent produces a thought or tool call. Bartholomew intercepts the payload in-process via a <1KB SDK wrapper — no proxy, no sidecar required.', code: `# FastAPI middleware (1 line) app.add_middleware(BartholomewMiddleware) # Or Python decorator @guard(policy="strict") async def agent_step(trajectory): ...`, }, { step: '02', icon: Shield, color: '#34d399', title: 'Evaluate', subtitle: 'In 1.44 microseconds', desc: 'The Go daemon runs 7 OWASP threat classes, 40+ credential patterns, and the Epistemic Contradiction Engine in parallel. All compiled — no inference.', code: `{ "owasp_class": "LLM02", "credential_leak": true, "keys_found": ["sk-proj-..."], "contradiction_score": 0.0, "scan_ns": 1440, "action": "BLOCK" }`, }, { step: '03', icon: FileText, color: '#a78bfa', title: 'Attest', subtitle: 'Immutable proof', desc: 'A SHA-256 hash of the cleaned trajectory is chained to the previous record and optionally synced to Firestore. Full compliance trail, zero extra latency.', code: `{ "attestation_hash": "sha256:3a4b2c...", "chain_index": 1847, "prev_hash": "sha256:9f1e3d...", "status": "CLEAN", "compliance": "SOC2_PASSED" }`, }, ] export default function HowItWorks() { return (
How it works

Three steps. Under two microseconds.

No LLM inference. No cloud round-trips. Pure compiled Go running inline with your agent.

{STEPS.map((step, i) => { const Icon = step.icon return (
{/* Step number watermark */}
{step.step}
{/* Connector dots */} {i < STEPS.length - 1 && (
{[...Array(3)].map((_, j) => (
))}
)}
{step.subtitle}

{step.title}

{step.desc}

                    {step.code}
                  
) })}
) }