SIMA

Developer Playground

Build SIMA protection into an execution flow in minutes.

This interactive studio demonstrates AP-1 through AP-5 using the real SDK architecture. It teaches quote, policy, runtime, middleware, certificate, MCP, and reference integration boundaries without faking execution or changing SIMA business logic.

Interactive Protection Flow

Position Inputs

Enter values and generate a protection quote. Authentication is required for the live API call.

Execution Visualization

Protection Pipeline

1Position
2Protection Policy
3Protection Runtime
4Protection Middleware
5Quote
6Payment
7Certificate
8Ready For Execution

Generated SDK Code

Real Integration Snippets

import { SimaAgentClient } from "@sima-prime/agent-sdk";

const sima = new SimaAgentClient({
  accessToken: "YOUR_ACCESS_TOKEN",
});

const policy = sima.createProtectionPolicy({
  minimumPositionUsd: 1000,
  maximumPremiumPercent: 2,
  supportedChains: ["SOLANA"],
  maximumProtectionWindowMinutes: 5,
});

const runtime = sima.createProtectionRuntime({
  policy,
});

await runtime.initialize();

const prepared = await runtime.prepareExecution({
  context: {
    wallet: "YOUR_WALLET_ADDRESS",
    chain: "SOLANA",
    token: {
      address: "YOUR_ASSET_ADDRESS",
      symbol: "EXAMPLE",
      type: "TOKEN",
    },
    protectedAmount: "1000.00",
    protectionWindowMinutes: 5,
    executionType: "DEX_SWAP",
  },
});

const protectedExecution = await runtime.protect({
  context: prepared.context,
});

// Execute your own trading bot workflow here.
console.log(protectedExecution.context.protection);

Generated MCP Flow

Current And Future Tools

sima_get_capabilitiesAvailable
sima_get_quote_flowAvailable
sima_get_protection_execution_flowFuture Capability
sima_get_protection_policy_schemaFuture Capability
sima_get_reference_integrationsFuture Capability
sima_get_developer_playgroundFuture Capability

Certificate Preview

Machine-Readable Shape

This preview teaches certificate structure. It does not create a real certificate.

{
  "certificateId": "cert_live_or_test_identifier",
  "certificateNumber": "SIMA-SOLANA-YYYYMMDD-000001",
  "walletAddress": "YOUR_WALLET_ADDRESS",
  "chain": "SOLANA",
  "assetAddress": "YOUR_ASSET_ADDRESS",
  "assetSymbol": "EXAMPLE",
  "premiumAmount": "50.00",
  "coverageAmount": "500.00",
  "deductibleAmount": "100.00",
  "maximumNetPayment": "400.00",
  "protectionWindowMinutes": 5,
  "status": "ACTIVE_AFTER_PREMIUM_PAYMENT",
  "terms": "Certificate means purchased protection and right to claim/investigation. It is not claim approval or payout authorization."
}

Protection Policy Builder

Caller-Owned Rules

{
  "enabled": true,
  "status": "ACTIVE",
  "version": "AP_POLICY_V1",
  "minimumPositionUsd": 1000,
  "maximumPremiumPercent": 2,
  "supportedChains": [
    "SOLANA"
  ],
  "supportedAssets": [
    "all"
  ],
  "excludedAssets": [],
  "maximumProtectionWindowMinutes": 5,
  "protectUnknownContracts": true,
  "protectBridgeTransfers": true,
  "protectDexSwaps": true
}

Runtime Visualizer

AP-4 Lifecycle

runtime.1Runtime initialization
runtime.2Policy evaluation
runtime.3Protection
runtime.4Certificate
runtime.5Execution prepared

Integration Studio

Switch The Caller Context

ModeTrading Bot

Trading bots should select trades before SIMA is called. SIMA prepares protection context only.

PolicyProtect over $1,000

Maximum premium 2% across SOLANA.

RuntimeProtectionRuntime

Initializes, evaluates policy, runs middleware, and returns a prepared execution context.

PipelineCaller-owned execution

SIMA never recommends trades, changes execution direction, or blocks the caller's system.