Skip to main content
The core power of LarkupRAG is turning your raw data into a deployable, high-performance RAG API in minutes. You can build your server using either our visual Web UI or the developer-focused CLI.
1

Configure Vector Store & Embedding Model

Start by configuring your preferred Vector Store (e.g., LanceDB, Pinecone) and Embedding Model (e.g., OpenAI, Cohere) in the Configuration tab.
Configuration Page
2

Ingest Your Documents

Navigate to the Data tab to upload files, paste raw text, or scrape websites. These sources will queue up as ingestion jobs.
3

Run Indexing

In the Index tab, click Run Indexing Job. This process will automatically chunk your text and generate vector embeddings to store in your chosen database.
4

Launch the Server

Finally, go to the Server tab and click Launch Server. LarkupRAG takes your entire configuration and generates a minimal, deployable Node.js server.
Server Launch Interface

The Generated Server

When you launch your server, LarkupRAG creates an optimized backend output directory . It contains everything you need and absolutely nothing you don’t:
  • Zero Bloat: Only dependencies for your specific Vector Store are bundled.
  • No Build Step: Runs directly as a Node ESM backend (node server.mjs).

SDK Usage

Because Larkup RAG exposes an OpenAI-compatible API, you can easily connect to it using your favorite AI tools and SDKs.
Use the ai and @ai-sdk/openai packages to connect to your local RAG server.
import { createOpenAI } from '@ai-sdk/openai';
import { generateText } from 'ai';

const larkup = createOpenAI({
  baseURL: 'http://localhost:8080/v1',
  apiKey: 'not-needed-for-local',
});

const { text } = await generateText({
  model: larkup('rag-model'), // The model name doesn't matter for local RAG
  prompt: 'What is LarkupRAG?',
});

console.log(text);

Next Steps

Your server is now live at http://localhost:8080.