Features Pricing Docs Security FAQ About Sign In
Documentation

How Legate Studio Works

The complete picture: how your thoughts become structured notes, where your data actually lives, and how every piece of the platform fits together.


Your library is a GitHub repository you own

Legate Studio is built around one architectural decision that shapes everything else: your knowledge library is a private GitHub repository in your own account. Every note is a markdown file with YAML frontmatter, committed to your repo. Legate Studio is the interface and the AI pipeline on top of it — not the owner of your data.

Alongside your repo, each user gets a private per-user SQLite database on our infrastructure. It acts as the index: note metadata, categories, embeddings for semantic search, graph relationships, and task state. The repo is the source of truth; the database makes it fast and searchable. Sync tooling keeps the two consistent, and you can download your database or clone your repo at any time.

GitHub repo = source of truth

Markdown files with frontmatter, in a private repo under your GitHub account. Clone it, grep it, take it anywhere.

Per-user SQLite index

Your own database file holds embeddings, graph edges, and metadata — isolated from every other user, downloadable anytime.

Studio = interface + pipeline

Capture, search, chat, graph, and MCP access — all operating on data that remains yours.


The Motif pipeline: from raw thought to structured note

A Motif is any raw capture — a voice memo, a rambling text dump, a meeting transcript. The pipeline turns it into clean, categorized library entries:

  1. Transcribe — audio is converted to text with a multimodal AI model. Audio is processed and discarded; it is not retained after transcription.
  2. Parse — the transcript is split into distinct threads of thought, so one recording can yield several notes.
  3. Classify — each thread is categorized (concept, epiphany, reflection, glimmer, reminder, worklog — or your own custom categories) and tagged with domains and key phrases. Threads describing something to build are flagged for the Chords workflow.
  4. Correlate — each thread is checked against your existing notes. Near-duplicates are skipped, close matches are appended to the existing note, and genuinely new material is created fresh.
  5. Extract — a complete markdown artifact is generated: frontmatter, structured prose, key points, and context.
  6. Write — the note is committed to your GitHub library and indexed in your database.
  7. Embed — embeddings are generated so the new note is immediately searchable and appears in your knowledge graph.

Short captures process synchronously; longer ones are queued to a background worker with live progress tracking. You can watch each stage complete.


Library, graph, and search

Notes live in typed categories with optional nested subfolders. Any note can carry task state (pending, in progress, blocked, done) with due dates. Notes link to each other with typed relationships — related, depends on, blocks, implements, references, contradicts, supports — forming a knowledge graph you can explore visually in 2D or 3D.

Search is hybrid: semantic similarity over embeddings combined with keyword matching, bucketed by confidence. Ask for an idea, not just a string — notes about "oracle machines" surface when you search for "AI intuition."


AI chat grounded in your own notes

Chat runs retrieval-augmented generation over your library: your question is embedded, the most relevant notes are retrieved from your database, and the model answers with that context. Anthropic Claude, OpenAI, and Google Gemini are all supported — pick a provider and model per conversation.

Only the notes retrieved for a given question are sent to the AI provider, and your content is never used to train models. See the Security page for the full data-handling picture.


Your library as a first-class AI tool

Legate Studio exposes a full Model Context Protocol (MCP) server at https://legate.studio/mcp. Connect Claude Desktop, Claude Code, or any MCP client and your assistant can read, search, create, and organize notes directly — with no API key to manage. Authentication uses OAuth 2.1 with PKCE backed by your GitHub sign-in, so each connection is scoped to your account only.

This makes your library a persistent memory layer for AI assistants: capture during the day, and every tool you use can draw on the same knowledge. Full setup instructions are in the MCP documentation.


Shared libraries with a draft & merge workflow

Teams can create shared libraries backed by private GitHub repos. Owners write directly; collaborators propose changes — new notes, edits, deletions — as drafts that owners review, merge, or reject with feedback. Invitations work by GitHub username, and every merge is a real commit with real history.


Bring your own keys, or let us manage them

All AI features need a model provider. You have two ways to supply one:

  • Bring Your Own Key (BYOK) — add your Anthropic, Gemini, or OpenAI API key in Settings. Keys are encrypted with a per-user key before storage, and usage is billed by your provider directly to you, with no platform markup.
  • Managed — we supply platform keys and meter usage against a monthly credit allowance included in your subscription. Nothing to configure.

Your own stored keys always take precedence over platform keys, and usage on your own keys never counts against managed credits. See Pricing for tier details.


Chords: from idea to implementation

When a captured thought describes something to build, the pipeline flags it. Approved ideas are queued as Chords — projects handed to a GitHub coding agent that opens real pull requests in your repos. Every Chord requires your explicit approval before any agent runs; nothing is built behind your back.


Further reading

  • MCP setup documentation — connect Claude Desktop, Claude Code, and other MCP clients
  • Security — storage architecture, encryption, authentication, and data handling
  • Features — the full feature tour
  • FAQ — common questions answered