KAIROSRAIKU OS
Back to Dashboard
KAIROS DOCUMENTATION

Developer Documentation & API Reference

Learn how to integrate Kairos AI agent OS and Raiku Ahead-Of-Time (AOT) compute reservations into your Solana trading bots, liquidators, and DeFi protocols on Raiku Testnet.

Quickstart Installation

Install the official Kairos TypeScript SDK and Solana Web3 package:

npm install @kairos/raiku-sdk @solana/web3.js

Core Protocol Architecture

1. AOT Auctions (Ahead-Of-Time)

AOT auction windows open at T-104 slots prior to target slot $S$ and close at T-4 slots. This enables protocols to pre-book compute units for future slot ranges before volatility spikes.

2. JIT Bundles (Just-In-Time)

First-price sealed-bid auctions routed straight to the slot leader validator sidecar. Offers guaranteed execution with 0 retry risk for high-frequency DEX trades.

3. Sub-30ms Pre-Confirmations

Validator sidecars acknowledge inclusion status within 24-32ms, providing instant certainty before standard 400ms block commitment.

4. rkuSOL Staking Yield

Liquid Staking Token created in collaboration with Sanctum. Earns ~9.42% APY by capturing native staking rewards plus Raiku blockspace auction revenue.