Introduction

Welcome to Super Agent Stack - the OpenAI-compatible API that solves AI's 3 core problems: Memory, Reliability, and Hallucinations.

What is Super Agent Stack?

Super Agent Stack is a powerful API that enhances AI models with a personal RAG (Retrieval Augmented Generation) memory system. It's fully compatible with the OpenAI SDK, making it a drop-in replacement that adds memory, reliability, and eliminates hallucinations.

Key Features

Personal RAG Memory

Each user gets their own isolated RAG system that remembers everything.

Zero Hallucinations

Grounded responses with citation-backed answers from your knowledge base.

100% Reliable

Consistent, accurate responses every time with built-in validation.

Quick Example

Here's how easy it is to get started with Super Agent Stack:

example.ts
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://www.superagentstack.com/api/v1',
  apiKey: process.env.OPENROUTER_KEY,
  defaultHeaders: {
    'superAgentKey': process.env.SUPER_AGENT_KEY,
  },
});

const completion = await client.chat.completions.create({
  model: 'anthropic/claude-sonnet-4.5',
  messages: [
    { role: 'user', content: 'Explain RAG in simple terms' }
  ],
});

console.log(completion.choices[0].message.content);

OpenAI Compatible

Super Agent Stack is fully compatible with the OpenAI SDK. Just change the baseURL and you're ready to go!

Advanced Features

Super Agent Stack supports all OpenRouter advanced features alongside our memory and RAG capabilities.

Next Steps