Xenova is a high-performance AI inference engine built natively for Solana. It enables developers to run complex machine learning models on-chain with unprecedented speed and efficiency.
By leveraging Solana's parallel processing capabilities and custom runtime optimizations, Xenova achieves sub-millisecond inference times for most models, making real-time AI applications practical on blockchain.
Get started with Xenova in under 5 minutes. Follow these simple steps to run your first AI model on Solana.
Start by connecting your Solana wallet. Xenova supports all major wallets including Phantom, Solflare, and Backpack.
Install the Xenova SDK using your preferred package manager.
npm install @xenova/core
# or
yarn add @xenova/core
# or
pnpm add @xenova/coreInitialize Xenova and execute your first inference.
import { Xenova } from '@xenova/core'
const xenova = new Xenova({
apiKey: process.env.XENOVA_API_KEY,
network: 'mainnet-beta'
})
const result = await xenova.execute({
model: 'transformer-v1',
input: 'Your data here'
})npm install @xenova/core
# or
yarn add @xenova/core
# or
pnpm add @xenova/coreXenova's architecture is designed for maximum performance and scalability on Solana.
Xenova leverages Solana's Sealevel runtime to execute multiple inference requests in parallel, dramatically improving throughput.
Models are automatically optimized using custom WASM compilation and quantization techniques, reducing size by up to 10x without accuracy loss.
Xenova leverages Solana's account system to cache frequently used models and intermediate results, reducing latency for repeated requests.
Xenova.execute()Execute an AI model inference with the provided input.
import { Xenova } from '@xenova/core'
const xenova = new Xenova({
apiKey: process.env.XENOVA_API_KEY,
network: 'mainnet-beta'
})
const result = await xenova.execute({
model: 'transformer-v1',
input: 'Your data here'
})Pipeline.execute()Execute a multi-stage inference pipeline with automatic optimization.
import { Xenova, Pipeline } from '@xenova/core'
const pipeline = new Pipeline([
{ stage: 'tokenize', model: 'tokenizer-v2' },
{ stage: 'transform', model: 'transformer-v1' },
{ stage: 'optimize', parallel: true }
])
const result = await pipeline.execute(data)Xenova is built with security as a top priority. All code is open-source and audited.
All smart contracts audited by top security firms
Full transparency with public GitHub repositories
Deploy your Xenova-powered application to production with confidence.