TECHNICAL SPECIFICATION & DEVELOPER REFERENCE

DOCUMENTATION

Reference guide for the LATENS read-only Agent API, multi-cloud provider normalization, Robinhood Chain authentication, and cryptographic privacy boundaries.

01 / MULTI-CLOUD ADAPTERS & DATA NORMALIZATION

Comparable Market Data Without Mixed Categories

LATENS ingests GPU inventory from documented external provider APIs, normalizes hardware specifications into a unified schema, caches synchronized snapshots in PostgreSQL, and records genuine longitudinal price observations over time.

Vast.ai Adapter

Queries verified, rentable on-demand machine bundles via POST /api/v0/bundles/. Carries confirmed_offer precision and dedicated_instance classification, including host reliability, storage, and egress metrics.

Runpod Adapter

Uses GET https://api.runpod.io/v2/catalog/gpus with RUNPOD_API_KEY or public GraphQL gpuTypes. Pod catalog starting rates are labeled catalog_starting across secure_pod and community_pod.

CUDO Compute Adapter

Queries GET /v1/vms/machine-types and /v1/vms/gpu-models. Computes runnable 1-GPU VM hourly rates (GPU + minimum required vCPU + RAM + public IPv4) and free datacenter GPU stock across EU and North America.

Vultr Cloud GPU Adapter

Ingests GET /v2/plans and /v2/plans-metal, filtering full-GPU cloud_vm plans and multi-GPU bare_metal clusters while mapping global IATA datacenter codes.

Akash Network Adapter

Queries GET https://console-api.akash.network/v1/gpu-prices for live decentralized_lease USD/hr market medians and real-time free vs total cluster unit counts.

Lambda Cloud Adapter

Queries GET https://cloud.lambda.com/api/v1/instance-types when LAMBDA_API_KEY is configured, with automatic public regional availability indexing when omitted.

Crusoe Cloud Adapter

Indexes live clean-energy AI cluster capacity and on-demand regional rates across North American facilities, linking directly to console.crusoecloud.com.

Scaleway Sovereign Adapter

Indexes live European Sovereign AI GPU instances (H100, L40S, L4) across Paris and Warsaw zones with direct deep links to scaleway.com.

02 / READ-ONLY AUTONOMOUS AGENT API (V1)

Structured Endpoints for AI Agents

Autonomous agents can discover GPU models, filter live normalized offers across all connected clouds, verify synchronization freshness, and run deterministic rental calculations without authentication. External agents operate strictly in read-only mode and cannot spend user funds or launch billable instances without human authorization.

GET /api/v1/agent/modelsRate limit: 60 req / min

Lists distinct normalized GPU models currently observed across connected providers with minimum and median hourly USD rates per GPU and active provider lists.

curl -s "https://latens.trade/api/v1/agent/models"
GET /api/v1/agent/offersRate limit: 60 req / min

Filters normalized offers. Query parameters: model, min_vram_gb, max_price_per_gpu_usd, provider (vast | runpod | cudo | vultr | akash | lambda), region, gpu_count, category, available_only, and limit (1 to 100).

curl -s "https://latens.trade/api/v1/agent/offers?min_vram_gb=80&max_price_per_gpu_usd=3.50&limit=10"
POST /api/v1/agent/calculateRate limit: 90 req / min

Executes deterministic compute cost calculations. Accepts either a live offer_id (auto-resolving current per-GPU price and storage surcharge) or explicit hourly_price_per_gpu_usd.

curl -s -X POST "https://latens.trade/api/v1/agent/calculate" \
  -H "Content-Type: application/json" \
  -d '{"gpu_model":"H100 SXM","gpu_count":4,"duration_hours":24,"hourly_price_per_gpu_usd":2.69,"storage_gb":500,"storage_cost_per_gb_month_usd":0.15}'
GET /api/v1/agent/statusRate limit: 60 req / min

Returns provider synchronization health across all connected networks, last successful sync timestamp, stale snapshot flags, and active offer counts.

curl -s "https://latens.trade/api/v1/agent/status"
Read-Only Model Context Protocol (MCP) Adapter

Local MCP clients (Cursor, Claude Desktop, autonomous Python/Node harnesses) can attach the included stdio MCP server exposing discover_gpu_models, search_gpu_offers, calculate_compute_cost, and get_provider_status:

LATENS_API_URL="http://localhost:3100" npm run mcp:server
03 / ROBINHOOD CHAIN & SIWE AUTHENTICATION

Gasless Cryptographic Session Verification

LATENS configures Robinhood Chain (Chain ID 4663) natively via Wagmi, Viem, and RainbowKit. Authentication uses EIP-4361 Sign-In with Ethereum (SIWE) with single-use server nonces and HTTP-only signed session cookies. No gas fees, token approvals, or on-chain transactions are requested during login.

Robinhood Chain
  • · Chain ID: 4663
  • · Native Gas Token: ETH
  • · RPC: https://rpc.mainnet.chain.robinhood.com
  • · Explorer: https://robinhoodchain.blockscout.com
04 / SECURITY BOUNDARIES & EXECUTION SCOPE

Operational Honesty

Pseudonymity vs Anonymity: EVM wallet sign-in is pseudonymous. Any historical public blockchain activity associated with your address remains publicly traceable on chain explorers.

Cloud Host Visibility: Standard GPU instances rented through Vast.ai, Runpod, CUDO Compute, Vultr, Akash Network, or desk quotes do not provide hardware-level Trusted Execution Environments (TEEs) unless explicitly contracted and verified through hardware attestation.

Phased Infrastructure Scope: Direct sub-account instance provisioning, sealed supplier bidding portals, programmable USDG settlement on Robinhood Chain, x402 agent micropayments, and hardware-attested Confidential Computing are scheduled in Phases 03 and 04 on the Infrastructure Roadmap.