Documentation Hub

Blocklog Docs

Default view starts with the quick start path, but the underlying structure is designed for engineering, risk, security, and audit teams to work from the same source.

Quick Start (5 minutes)

Install the SDK, set mode=shadow, wrap the financial decision call, and let Blocklog emit governance records without changing the execution path.
import { Blocklog } from '@blocklog/sdk';

const blocklog = new Blocklog({
  apiKey: process.env.BLOCKLOG_API_KEY,
  mode: 'shadow',
  agentId: 'refund-agent-v2',
});

const decision = await blocklog.observe(async () => {
  return await yourRefundAgent.process(transaction);
});

// Governance record created.
// Forensic replay available immediately.
// Compliance report generating.