// EthersFlow Agent Action Verification (Node.js / TypeScript) const API_URL = "https://www.ethersflow.com/api/v1/verify"; const API_KEY = process.env.ETHERSFLOW_API_KEY ?? "YOUR_API_KEY"; async function verifyAgentAction() { const response = await fetch(API_URL, { method: "POST", headers: { "Authorization": `Bearer ${API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ agent_action: "Execute $150,000 wire transfer to Vendor Corp for invoice INV-2026-08", persona_preset: "financial_compliance", // financial_compliance | legal_citation | cybersecurity_auditor | clinical_safety | general_adversarial agent_count: 3, // 2 to 7 audit nodes reasoning_chain: "Matched vendor invoice PO-8841 against approved purchase catalog.", grounding_enabled: true, zero_retention: true // Enterprise Zero Data Retention (ZDR) }) }); const data = await response.json(); console.log(`Status: ${data.status}`); // "APPROVED" | "REJECTED" | "FLAGGED_HUMAN_REVIEW" console.log(`Consensus Score: ${data.consensus_score}%`); console.log(`Risk Index: ${data.risk_index}%`); console.log(`Verdict Summary: ${data.verdict_summary}`); return data; } verifyAgentAction();
Specialized presets — financial_compliance, legal_citation, cybersecurity_auditor, clinical_safety, general_adversarial — with multi-node review sets of 2 to 7 reviewers.
Enforce zero payload logging or training retention across all processing nodes with X-EthersFlow-ZDR: true or zero_retention: true.
Every decision generates a cryptographic SHA-256 audit stamp recording node concordance, dissenting perspectives, and full consensus trails.