Skip to main content
TopK is an end-to-end solution that turns unstructured documents(PDFs, Images, Markdown, HTML) into reliable context for agents and humans. You can search, explore, and extract relevant information from your documents, all grounded in the source material. We believe that context is a search problem. Agents need relevant data to make the right decision. Without the right context, even the best AI models fall short — garbage in, garbage out.

How it works

Ingest

Upload your documents via the CLI, Python SDK, or JavaScript SDK. TopK supports PDFs, images, markdown, HTML, and more.

Process

TopK parses, chunks, and indexes your documents—preserving structure from tables, charts, and complex layouts.

Query

Ask questions, search for relevant passages, or run complex research queries across your documents.

Core concepts

Ingest

Learn how to upload your documents.

Ask

Run an agentic query to get grounded answers with source citations.

Search

Find the most relevant passages in your documents.

Research

Explore topics more deeply with multi-step analysis and grounded citations.

Use cases

  • AI agents & copilots — ground your agents’ context in private knowledge to reduce hallucinations and improve decision quality.
  • Document-heavy workflows — automate extraction and Q&A over contracts, filings, research papers, and more.
  • Enterprise knowledge bases — give employees instant, cited answers from internal documentation, policies, and reports.
  • Customer support — surface the right answers from your knowledge base instantly, at scale.

How to use TopK

The quickest way to get started is to follow the Quickstart guide.

CLI

Upload files, search, and ask questions directly from the terminal.
https://mintcdn.com/topk/8NBkS0nek3e9o6Vi/icons/python.svg?fit=max&auto=format&n=8NBkS0nek3e9o6Vi&q=85&s=97cbee7891538170fd752e1afbc98095

Python SDK

Full Python SDK reference.
https://mintcdn.com/topk/8NBkS0nek3e9o6Vi/icons/js.svg?fit=max&auto=format&n=8NBkS0nek3e9o6Vi&q=85&s=7642cf18b45f52a70f141214b3d0eca1

JavaScript SDK

Full TypeScript/JavaScript SDK reference.

MCP Server

Connect TopK to any MCP-compatible AI agent via the Model Context Protocol.

Security & Compliance

TopK is SOC 2 Type I certified. Visit the trust center for full details.

Data encryption

All data is encrypted in transit and at rest.

Access control

Role-based access control with full auditability.

VPC deployment

Deploy inside your own VPC for complete network isolation (enterprise).

Get started

Quickstart

Ingest your first documents and ask a question in minutes.

Talk to us

Reach out to discuss your use case or enterprise deployment.