One engine. Files and databases. In place.
haystak is the governed retrieval layer for enterprise AI: collectors index your sources where they live, normalize everything into one provenance-rich corpus, and expose it through search, MCP, and SQL, all under one permission model.
From scattered sources to one corpus.
Collectors run at the edge and authenticate to each source with native connectors. They read and extract (never write) and stream normalized, provenance-tagged records to the engine, which stores them in your chosen backend.
- Connect: native source connectors authenticate at the edge (Box, Dropbox and Amazon S3 are live; SharePoint, OneDrive and Google Drive are coming soon).
- Extract & render: text, metadata, thumbnails, previews, and video poster/sprite at ingest.
- Normalize: everything becomes typed, provenance-tagged records you can search and govern.
- Serve: one corpus, exposed through search, MCP, and SQL.
Provenance-rich by design.
Every fact is typed and carries its origin, and you can add new metadata without a schema migration. The construction is proprietary; the result is a corpus you can trust and extend.
Knows its origin
Every value records where it came from (source, person, extraction, or AI), so you can filter and audit by origin.
Recognizes duplicates
Identical content is unified wherever it lives, so the same item isn't counted twice across sources.
Extends without migrations
New attributes are additive and immediate. Sources are never modified; everything haystak derives is kept separately.
What the engine does, today.

Cross-source search
Full-text and structured queries across files, cloud, and databases in one result set.
Schema & FK graph
PK/FK/index discovery and a relationship graph for cross-table and cross-source joins.
Content extraction and media text
EXIF, XMP, PDF, Office, and OCR: text and metadata as queryable, taggable entities. Video and audio are read from their own caption tracks or transcribed on-prem (Media tier).
Render at ingest
Thumbnails, document page previews, and video poster + scrub sprites, content-addressed.
Similarity
SimHash near-duplicate detection with configurable thresholds, across a multi-million-entity corpus.
ML pipeline
Embeddings, kNN vector search, and RAG with cited sources. Run models locally (Ollama, vLLM, etc.), or use the OpenAI or Anthropic APIs.
Lineage
Supersession keeps prior versions addressable through the relationship graph.
Authenticity
C2PA Content Credentials validated at ingest: signer, AI-generation claims, and edit lineage. We validate, never sign.
Restart and readiness
Restart the server from the admin console, which lists the audited changes still waiting on a restart. It refuses when nothing would bring the process back, and shows the exact command instead.
Real numbers, on hardware we name.
The scale on this page is measured, not an adjective. One index, one disclosed machine, a real query mix.
records on a 116 GB index, on macOS
records on a 74 GB index, on Windows
database sources in one deployment
named deployments, macOS and Windows
Two deployments we name. a desktop Mac (Apple M4 Pro, 14 cores, 64 GB) carrying a 116 GB index of 23.5M records across 204 database sources, and a production Windows Server 2025 host on Azure (AMD EPYC 7763, 16 logical cores, 64 GB) holding 18.8M records across a 74 GB index and 198 database sources. Throughput and latency figures, and the conditions they were measured under, are in the documentation rather than here. Elasticsearch and OpenSearch are the production backends for search at scale.
Ask the model once. Keep the answer.
An enrichment rule sends selected records to a model in the background and writes the answer back as attributes you can search, filter, and audit like any other value. It runs on a schedule you set, against models you choose. No caller, no request, and nothing leaves your estate unless you point it somewhere that does.
Four kinds
Over named fields, over a file's content, over a set a query describes, or composed from the output of other rules. The first two run per record; the last two run once per pass.
A ceiling you set
Enrichment is the surface that spends per record, so a rule declares how many records it may touch. A ceiling higher than one pass can reach is refused when you save it, rather than sitting there never firing.
Change the prompt, re-run itself
Each record keeps one outcome per rule, bound to the model, the service and the prompt that produced it. Change any of the three and the record becomes eligible again on its own. Model-authored values carry their own provenance, so you can always separate what a model wrote from what the source said.
Reports in the SQL you already write.
A report is a SELECT statement. Paste the one your team already runs against the source system and save it. haystak compiles it and runs it against the indexed corpus. There is no reporting language to learn, no visual query builder to fight, and nothing to keep in step by hand.
- Joins, computed columns, correlated sub-selects: the shapes real reports are actually written in, including grouped aggregates inside a projected expression.
- Parameters: supplied by the caller, or resolved by a lookup that can itself use a caller value. "This patient, their most recent visit" resolves in one call.
- Nothing dropped in silence: anything the compiler cannot express is named against the column it came from when you save, never quietly omitted from the results.
- The caller's own permissions: every query a report issues, including the ones resolving its parameters, passes the same gate. A lookup cannot read past what the person running it may see.
Why it matters. Reporting is usually where a search platform stops and a data-warehouse project starts. Here the report is the same statement your analysts already maintain, run against content that was never copied into a second system to be reported on.
And it is what makes the question answerable at all. We measured a model answering one composite clinical question two ways: calling saved reports, or given the raw query tools and left to walk the tables itself.
- 14-23x less retrieval and roughly 4.4x lower cost to reach the same answer, on both models tested.
- Zero rows is an answer. A report that returns nothing has established that the record holds nothing of that kind. Without that stated plainly, the model treats every empty result as something to go and verify, which alone accounted for a 6x difference.
- One report’s raw path is ~7.24M tokens. That does not fit in a 200k context window at all: read directly, the question cannot be answered in one pass. Through the report it is roughly 740.
Measured 2026-09-03 on a simulated clinical corpus. The comparison arm keeps all of its tools; the result does not depend on taking anything away from it.
Embed. Search. Interrogate.
Content is embedded into vectors, stored in a kNN index, and queried with RAG: ask in natural language and get answers with cited sources. A citation resolves to the source record the answer drew from, so a person can open it and check; it is provenance, not a guarantee the sentence is true. It's the backbone for conversational assistants on your own data. Run it on your own hardware with Ollama or any OpenAI-compatible server (vLLM, LocalAI), or reach for a hosted API (OpenAI, Anthropic) if you choose.
Two ways to put AI on the corpus, and they work together.
RAG and MCP are peers, and the power is composing them (RAG over your documents for cited answers, MCP over your databases for agents), so your source-of-truth documents can inform the answers an agent gives about your structured data. Same RBAC under both. Run it on your own models and hardware (Ollama or any OpenAI-compatible server), with hosted models (OpenAI, Anthropic) an option, never a requirement.
RAG
Content embedded into vectors, stored in a kNN index, and retrieved as natural-language answers with cited sources. The backbone for search-grounded assistants over your documents.
MCP
Permission-trimmed tools that drop the corpus into Claude, Cursor, or any agent: search, RAG, aggregate, embed, annotate. Every call fail-closed to the caller's grants.
One example of many: a team might RAG its policy library and expose its case database over MCP, so an agent can answer a case question grounded in the governing policy.
One engine. Your choice of backend.
The same haystak engine runs on Elasticsearch, OpenSearch, PostgreSQL, MariaDB, or MongoDB; you're never locked to one store. For production search at scale, Elasticsearch and OpenSearch are the recommended backends. Host it on macOS, Windows, or Linux.
What haystak connects to.
Native connectors read each source in place, read-only. The status is honest: shipping today, or on the way.
Local drives
Any local path, watched for changes.
Mounted & network drives
Mounted volumes and network mounts.
SMB / CIFS shares
The SMB connector, with Kerberos or password authentication and mount-detach handling.
Relational databases
PostgreSQL, MySQL, SQL Server, Oracle, SQLite.
NoSQL & document stores
MongoDB, Couchbase, DynamoDB, Elasticsearch.
Box
Centrally configured, sealed credentials.
Amazon S3
AWS keys, an instance role, or S3-compatible endpoints (MinIO, R2, Wasabi).
Dropbox
Centrally configured, refresh-token auth.
Websites
Crawl a site in place, bounded to its seed URL.
Coming-soon connectors are in development now; roadmap items are directional. Neither is presented as available. If a source you need isn't listed, the ingest API and connector seam usually cover it.
Install, size, and run it.
Single-node to distributed, on-prem or air-gapped, on macOS, Windows, or Linux. System requirements, deployment models, and step-by-step install live in the docs.
One engine, over your sources.
A walkthrough on a corpus that looks like yours: indexed in place, nothing moved.