SIMA

Agent Examples

Copy-paste starting points for machine integrations.

These examples are for AI agents, trading bots, autonomous wallets, wallet copilots, and machine-to-machine systems that integrate with SIMA directly through API calls. They use placeholders only and do not execute payments, issue certificates, approve claims, or perform payouts.

curl flow

Shell-friendly production purchase sequence.

Open example

TypeScript fetch

Dependency-free fetch example for offer → purchase → confirm.

Open example

Python requests

Server-side bot example using requests.

Open example

Agent SDK

@sima-prime/agent-sdk — production OpenAPI client.

Open example

Flow Covered

  • Wallet nonce + verify
  • Protection offer (asset-denominated)
  • Protection purchase
  • Payment intent (SOL)
  • Confirm payment → ACTIVE certificate

Safety Boundaries

  • Examples use placeholders only.
  • No private keys, seed phrases, or production addresses.
  • No payment execution or blockchain transfer behavior.
  • No automatic certificate issuance.
  • No claim approval or payout behavior.

Quick Preview

For bots and AI agents, the API is the product.

Start with wallet authentication, then request a quote, inspect treasury destinations, prepare payment evidence, and read certificate or claim status through authenticated API calls. Claim submission starts investigation; evidence supports payout review but does not approve a claim. The `@sima-prime/agent-sdk` package wraps these calls for TypeScript agent runtimes without signing messages or storing private keys. Use `agent-capabilities.json` and `bot-manifest.json` as the primary machine-readable summaries before the OpenAPI schema.

curl -X POST https://api.sima-prime.com/agent/wallet/nonce \
  -H "Content-Type: application/json" \
  -d '{"chain":"SOLANA","walletAddress":"YOUR_WALLET_ADDRESS"}'

curl -X POST https://api.sima-prime.com/agent/protection/offer \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"chain":"SOLANA","walletAddress":"YOUR_WALLET_ADDRESS","assetAddress":"YOUR_ASSET_ADDRESS","assetSymbol":"EXAMPLE","assetType":"TOKEN","protectedAmount":"1000"}'

SIMA V1 Economics

Premium
5% of invested amount
Coverage
50% of invested amount
Deductible
10% of invested amount
Maximum Net Payment
40% of invested amount

Claim outcomes remain FULL_PAYMENT or NO_PAYMENT only. These examples do not change SIMA economics or production workflow controls. FULL_PAYMENT still requires treasury review before payout execution.