Kontext Banner
Build personal, secure, and trusted AI experiences by giving your app real user context — facts, memory, and permissions.

What is Kontext?

Kontext is the context layer for AI apps. It helps developers build personal, secure, and trusted experiences by giving AI apps access to user memory, facts, and permissions. With Kontext, you can easily integrate user‑specific data, manage personalization, and ensure full auditability and security.

How the integration works

  • Frontend: Your app identifies the signed‑in user and triggers a “connect data” flow when needed (similar to clicking “Connect with Gmail”). After consent, you keep a stable userId for that user in your app session.
  • Backend: Your server holds the Kontext API key. For each request, it calls persona.getContext({ userId, task, userQuery? }) and passes the returned systemPrompt to your LLM alongside the user’s message.
  • Data sources: Users connect sources once (like authorizing an auth provider). Kontext extracts structured facts for that user and enforces privacy when building context.
You manage user identities on the frontend; your backend exchanges that identity for capabilities on the server. With Kontext, your backend uses the API key to fetch per‑user context (instead of tokens for user auth). The pattern mirrors auth: client signals the user, server performs trusted operations.

Quickstart

A simple, step-by-step tutorial to help you get started with Kontext. Connect your app to user context in minutes and see personalized outputs instantly.

Why Kontext?

Kontext makes it easy to build personalized and trusted AI apps:
  • One simple SDK: Connect your app to user context and memory.
  • Automatic fact extraction: From emails, documents, and datasets — structured into reusable knowledge blocks.
  • Secure by design: Multi-tenant isolation, auditability, and scoped permissions.
  • Works with your stack: From LangChain to custom agent frameworks.
  • Full observability: Session logs, fact history, and transparent data flows.
  • Extensible APIs: Add context search, personality facts, and retrieval to workflows.
  • Built to scale: Reliable infrastructure with fair, transparent pricing.

Get started

From native integrations to SDKs and APIs, choose your favorite way to use Kontext:
  • Integrate Kontext into LangChain, LlamaIndex, or custom agent pipelines.
  • Query context, search datasets, and manage user facts with ease.
  • Make your app personal, secure, and user-aware in just a few lines of code.
  • Ingest data, query facts, or integrate Kontext into your own developer tools.

Stay up to date

  • Read our blog: Learn about new features, customer stories, and technical deep dives.
  • Follow us on Twitter: The fastest way to keep up with Kontext updates and releases.