Skip to main content

SDK (Sovereign Edge) vs Firewall (Trust Core)

Truslay is not a wrapper, and it is not "a server that traffic passes through". It ships as two complementary halves: a Sovereign Edge that enforces inside your code, and a Trust Core that governs and notarizes the fleet.

At a glance​

SDK — Sovereign EdgeFirewall — Trust Core
What it isLocal-first execution engine, zero network dependencyGovernance system and immutable notary
Runs whereInside your process / agent runtimeYour control plane + decentralized ledger
Layers1 Signal · 2 Lattice · 3 Shield · 4 Gate · 5 Seal · 6 Ledger7 Anchor · 8 Prism
LatencyUnder 1 msAsynchronous anchoring and reporting
Blocks executionYes — physically, fail-closedNo — it governs, notarizes and observes
OwnsPolicy enforcement, local signatureFleet policy, immutable audit, dashboards
Network requiredNoYes for anchoring; optional for local audit

The SDK: the guardian in your code​

The SDK is the enforcer. It lives in the same process as the agent and answers one question before every risky tool call: is this action allowed?

  • Coverage: layers 1 to 6, including the local ledger.
  • Scope: intent interception, policy-graph evaluation, physical blocking of the tool call, and local cryptographic signing.
  • Guarantee: it protects the agent with the network unplugged.
const truslay = new TruslayUniversalClient(
{mode: 'collaboration', firewallMode: 'live', apiKey: process.env.TRUSLAY_API_KEY},
'agent',
);

const decision = await truslay.evaluateAction({
intent: 'database_write',
payload: {table: 'invoices', rows: 1},
});

The Firewall: the vault on the network​

The Firewall is the policy brain and the immutable notary. It receives the hashes signed by the SDK, chains them into a ledger, anchors the root of that ledger and makes the trail visible to humans.

  • Coverage: layers 7 and 8.
  • Scope: fleet-wide cryptographic truth, macro policy management, human audit interface and evidence export.
  • Guarantee: a decision recorded once cannot be silently rewritten.

The synergy​

  1. The agent proposes an action.
  2. The SDK intercepts the intent and evaluates it locally in milliseconds.
  3. If the action is safe, the SDK seals it and lets it execute.
  4. If the action is complex, denied, or needs human context, the SDK pushes the signed hash to the Firewall.
  5. The Firewall anchors it and surfaces it in Prism for audit and escalation.

Why not a wrapper?​

A wrapper filters text. Truslay removes the decision from the model's hands:

Typical guardrailTruslay
DecisionA second model scores the promptA policy graph evaluates the intent
Failure modeFail-open (allows when unsure)Fail-closed (blocks when unsure)
EnforcementSuggestion in the promptBlocked tool call at the Gate
EvidenceEditable log rowSigned decision + anchored ledger root
OfflineUsually unusableLayers 1–6 fully functional

Both halves deploy inside your perimeter. See On-premise deployment for the air-gapped topology.