Documentation

Developer guide for integrating RENOVO LLM into your applications

Ready to Get Started?

The RENOVO SDK is currently under active development. If you want to consume the SDK and explore our codebase, visit our GitHub repository to get started with the latest version.

SDK In Active Development

Our team is currently working hard to maximize the RENOVO SDK capabilities. We are optimizing performance, enhancing features, and ensuring the best developer experience. Check back soon for updates!

Introduction

RENOVO LLM is a Solana-native language model utility that provides wallet-aware AI workflows, streaming inference capabilities, and a production-ready SDK for developers. Built with resilience and performance in mind, RENOVO enables seamless integration of AI capabilities into your Solana applications.

Installation

npm
npm install renovo-sdk

Environment Variables

Set up the following environment variables in your project:

RENOVO_API_KEY=your_api_key_here
RENOVO_NETWORK=mainnet-beta
WALLET_ADDRESS=your_wallet_address

Basic Usage

Simple example of generating a completion:

import { RenovoClient } from 'renovo-sdk';

const client = new RenovoClient({
  apiKey: process.env.RENOVO_API_KEY,
  network: 'mainnet-beta'
});

const response = await client.generate({
  prompt: 'Explain Solana in simple terms',
  maxTokens: 150
});

console.log(response.text);

Streaming Usage

Stream responses in real-time for better user experience:

const stream = await client.generateStream({
  prompt: 'Write a haiku about Solana',
  maxTokens: 100
});

for await (const chunk of stream) {
  process.stdout.write(chunk.text);
}

Architecture Overview

RENOVO LLM uses a distributed architecture with four main components:

  • Client: Your application that makes requests to the SDK
  • SDK: Handles authentication, request formatting, and response parsing
  • Relayer: Routes requests to available inference nodes
  • Inference Node: Processes AI requests and returns results

Design Principles

Resilience

Built to handle network failures gracefully with automatic retries and fallback mechanisms.

Performance

Optimized for low latency with efficient caching and connection pooling.

Developer Experience

Simple, intuitive API with comprehensive TypeScript support and detailed documentation.

Wallet Integration

Native Solana wallet support for personalized AI experiences and secure authentication.