Interactive Demo
Interactive Sandbox
Practical hands-on guide to see Heptagon and Telemetry V1 in action.
Interactive Sandbox: Real-Time Governance
Welcome to the ABS Heptagon Sandbox. This guide allows you to simulate agent decisions and observe how our telemetry layer audits them in real-time.
Prerequisites
- A terminal with
curlinstalled. - Access to the ABS Telemetry Endpoint (Edge or Scale).
Step 1: Simulate a Compliant Decision
An agent decides to execute a trade within its quota.
curl -X POST https://telemetry.abscore.app/v1/telemetry/ingest \
-H "Content-Type: application/json" \
-d '{
"tenant_id": "demo-investors",
"agent_id": "trading-bot-01",
"trace_id": "trace-'"$(date +%s)"'",
"decision": "AUTHORIZED",
"policy_id": "max-allocation-v1",
"risk_score": 0.12,
"latency_ms": 14.5,
"event_type": "TRADE_EXECUTION",
"message": "Allocation within limits for Asset ID: BTAL11",
"attributes": {"amount": 50000, "currency": "BRL"},
"timestamp": "'"$(date -u +"%Y-%m-%dT%H:%M:%SZ")"'",
"severity": "INFO"
}'Step 2: Simulate a Policy Violation
An agent attempts to exceed its operational risk threshold.
curl -X POST https://telemetry.abscore.app/v1/telemetry/ingest \
-H "Content-Type: application/json" \
-d '{
"tenant_id": "demo-investors",
"agent_id": "trading-bot-01",
"trace_id": "trace-err-'"$(date +%s)"'",
"decision": "BLOCKED",
"policy_id": "risk-threshold-v2",
"risk_score": 0.89,
"latency_ms": 8.2,
"event_type": "TRADE_ATTEMPT",
"message": "Block reason: Exposure exceeded for sector Financial",
"attributes": {"attempted_amount": 2000000},
"timestamp": "'"$(date -u +"%Y-%m-%dT%H:%M:%SZ")"'",
"severity": "CRITICAL"
}'Step 3: Verify the Audit Trail
Use your traceId to verify the forensic record in the Telemetry Ledger.
[!TIP] Notice how PII (like addresses or emails) are automatically scrubbed by the Rust engine before persistence.
Next Step: Learn more about Heptagon Security.