Documentation Index
Fetch the complete documentation index at: https://docs.knowledgestack.ai/llms.txt
Use this file to discover all available pages before exploring further.

Watch the tour
Five short videos — ingestion, agents, citations, RBAC.
Book a demo
30 minutes on your own corpus with a founding engineer.
Quickstart
First ingest + search call in under five minutes.
Pick your client
Install the CLI
uv tool install kscli — ingest, search, watch workflows from the terminal.Python & TypeScript SDKs
pip install ksapi · npm install @knowledge-stack/ksapi — fully typed.MCP server
Drop into LangGraph, Claude Desktop, Cursor, or any MCP-compatible host.
Cookbook
Runnable recipes — RAG, citations, bulk ingest, evals, agent workflows.
API Reference
Every endpoint, request, and response — generated from
openapi.yaml.Architecture
How ingestion, search, threads, and Temporal fit together.
Install in 30 seconds
Your first call
Ingest a document and run a semantic search. Pick your tool — every example targets the same endpoints.What you can build
| Use case | Building blocks |
|---|---|
| AI search across thousands of documents | /v1/documents/ingest → /v1/chunks/search (dense, full-text, or hybrid) |
| Document Q&A with cited answers | /v1/threads + /v1/threads/{id}/stream (SSE, document-anchored) |
| Multi-tenant SaaS knowledge bases | Tenant isolation, three roles (Owner / Admin / User), path-level grants |
| Internal RAG agents | MCP server plus ks-cookbook recipes for LangGraph, OpenAI Agents, CrewAI |
| Bulk ingestion pipelines | kscli folders bulk-ingest + Temporal-backed background workflows |
See it in action
Knowledge Stack ships a reference workspace UI so your team (and your customers) can ingest, search, and chat without writing a single line of frontend code.

How the system fits together
Where to next
Quickstart
First ingest + search
Architecture
System overview
Path system
How content is organized
Ingestion pipeline
Conversion, chunking, embedding
Semantic search
Dense, full-text, hybrid
Threads & streaming
Chat with citations
Talk to us
Book a demo
Walk through Knowledge Stack on your own data with a founding engineer.
Contact sales
Pricing, enterprise SSO, on-prem, and procurement questions.