Skip to content

Orator Documentation

A universal codebase context engine that indexes your code and serves structured context to any AI coding tool.

What is Orator?

Orator indexes your codebase and builds a knowledge graph of your code’s structure, patterns, and conventions. It then serves that context to AI coding tools — so they understand your codebase the way your best engineer does.

Instead of every AI tool re-reading and re-analyzing your files from scratch, Orator provides a single source of truth for codebase context via a clean API and native integrations.

Index Once, Use Everywhere

Index your codebase once with Orator. Every AI tool you use — Claude, Cursor, Copilot — gets the same deep understanding of your code.

Knowledge Graph

Orator builds a graph of functions, classes, modules, and their relationships. It understands imports, call chains, inheritance, and more.

Pattern Detection

Automatically detects your codebase’s patterns — error handling, naming conventions, testing strategies, API design — and serves them as context.

Context Rules

Define custom rules that control what context gets served for different queries. Path-based, file-type, query-type, or exclusion rules.

How It Works

  1. Connect your repository via the CLI or API
  2. Index your codebase — Orator analyzes every file, builds a knowledge graph, and detects patterns
  3. Query context through the API, CLI, or native integrations like MCP
  4. AI tools receive structured, relevant context for every interaction