Start

Introduction

This page explains what Groundwork does, how its parts fit together, and where to read next.

What Groundwork is

Groundwork answers questions over a company's own data and shows where each answer came from. It connects to data where it already lives, keeps an index of it, extracts the people, places, products and other entities the data describes, and answers questions with citations back to the records. Evals measure how good those answers are, so changes to the pipeline can be judged by a number instead of by impression.

Most companies describe the same thing in several places: a customer appears in a database table, a contract PDF and a recorded call. Groundwork keeps one canonical entity for it, with one agreed value per field and a note of which record each value came from. Answers can draw on all three sources and cite each one.

The loop

Work in Groundwork follows four steps, and the last one feeds back into the first three.

  1. Connect. Point Groundwork at a source. Each source emits records in one shared shape, whatever it is: a folder of files, a table, a transcript, a video, a PDF.
  2. Index. Records go through a pipeline of cached stages: transform, chunk, embed, extract and resolve. Each stage is an adapter chosen by id, so any model or store can be swapped.
  3. Ask. A question goes down one of three answer paths (search, agent or entities), or a router picks the path. The answer comes back with citations, canonical fields, a trace and an audit run id.
  4. Evaluate. A golden set of questions with known evidence and facts scores each answer path. Results roll up into a scorecard with a green, amber or red light per dimension.

When a score is low, the step-level numbers point at the stage responsible, and a change to that stage's adapter or settings can be measured against the same golden set.

What exists today

Groundwork is a working local prototype. Everything on these pages that is marked as existing runs on one machine from the command line in the repository, with local models and no paid calls by default.

  • The San Francisco demo: city business, permit and 311 tables, Overture places, Board of Supervisors meeting captions, plus optional YouTube videos and PDFs.
  • A public domain art demo built on museum records.
  • Adapters for parsing, OCR, transcription, chunking, embedding, storage, routing, reranking and generation, each with a general benchmark.
  • An XML answer format with a citation check, an audit ledger, a golden set and eval runner, and a scorecard.
  • A labeling queue built on the art sample.

The demo already serves /v1/ask, /v1/search and an MCP server over files you upload; see Try your own files. The hosted service, with organizations, projects, the full REST API and the SDKs, is in design. Pages that describe it say so.

Where to go next

Page What it covers
Quickstart Run the San Francisco demo end to end and trace an answer
Concepts The vocabulary used across these pages
Sources Source kinds that exist and those planned, ingest and in place
Pipeline and adapters Ports, adapter ids, versioning and benchmarks
Freshness How soon new data becomes searchable
Ask and search The answer paths, routing and the options for a question
Answer format The XML answer, its Markdown form and the citation check
Evals and golden sets Golden rows, scoring and eval run files
Scorecard Dimensions, thresholds and where each cell comes from
Labeling The review queue and how labels feed evals
Projects and keys The planned hosted account model

The API reference for the planned hosted service starts at Ask.