Documentation

Build on Startrag

Everything you need to turn flat document chunks into a navigable constellation of meaning.

Quickstart

Install the SDK and index your first knowledge base.

pip install startrag

from startrag import Startrag

client = Startrag(api_key="sk_live_...")

# Ingest documents — they become "stars"
client.ingest(path="./docs", model="openai/gpt-5-mini")

# Retrieve with graph-aware context
answer = client.query(
    "How does constellation linking reduce hallucinations?"
)
print(answer.text)