frankensearch

Hybrid search for Rustfsfs 1.13.0

Find it without knowing what it’s called.

frankensearch searches by keyword and by meaning at once, on your own machine. It answers twice: a first ranking right away, then a better one from a stronger model a few milliseconds later. Use it as a Rust library, or point the fsfs command at a folder and search it from a terminal or a coding agent.

curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/frankensearch/main/install.sh | bash -s -- --easy-mode

Pick a search to replay it.

Recorded output
refuse to mix vectors from two different embedding models32.8 ms
Initial21 msRefined33 ms
  1. 1

    crates/frankensearch-embed/src/model2vec_embedder/registered.rs:296

    the selected files before cache lookup. The complete /// identity is part of the key, so equal names or dimensions cannot mix two /// models. Construction and qualification share the existing single

    both
  2. 2

    crates/frankensearch-fusion/src/refresh.rs:681

    bootstrap replacement cannot mix vector spaces. BootstrapReplaceable, /// At least one tier is an attested FSVI v2 artifact, every gate (space /// join, SameProducer, quality republication capability

    both
  3. 3

    crates/frankensearch-index/src/two_tier.rs:3209

    admission( &doc_id, fast_embedding, self.fast_dimension, &self.fast_ids, "fast", )?; if let Some(quality_embedding) = quality_embedding { validate_record_admission( &doc_id, quality_embedding, self

    keyword
  4. 4

    crates/frankensearch-embed/src/api_embedder.rs:3128

    vectors), Err(SearchError::UnverifiableRemoteSpace { .. }) )); } #[test] fn attestation_rejects_replay_request_reorder_and_payload_tamper() { let embedder = verified_test_embedder(4); let vectors

    meaning
  5. 5

    crates/frankensearch-storage/src/embedding_publication.rs:739

    point = storage .get_published_embedding("doc", "model", &output.identity) .unwrap() .unwrap(); assert_eq!(point.embedding.values[0].to_bits(), scale.to_bits()); assert_eq!(point.embedding.values[1

    keyword
  6. 6

    crates/frankensearch-index/src/in_memory.rs:4743

    InMemoryVectorIndex::from_vectors_with_identity( doc_ids, vectors, dim, &fast_bundle.space, ) .expect("build fast tier"); let (doc_ids, vectors) = identity_rows(dim, 2); let quality

    meaning
  7. 7

    frankensearch/src/bin/native_cli/models.rs:592

    documents().len(), 3); assert!(fresh.vectors().document("queue.rs").is_some()); assert_eq!(reader.vectors().documents().len(), 2); assert!(reader.vectors().document("queue.rs").is_none()); assert_eq

    keyword
  8. 8

    crates/frankensearch-embed/src/simd.rs:159

    embedding row end overflows usize"); (start, end) } /// Form one embedding row only after calculating its bounds with checked arithmetic. [inline] fn model2vec_embedding_row(embeddings: &[f32], index

    meaning

keywordmeaningboth↑2 promoted by refinementnew added by refinement

Real fsfs 1.13.0 output over 534 files of this repository, on an Apple M5 Ultra through fsfs’s warm query daemon. Times are when the calling process received each phase, and that clock moves in steps of about 11 ms. The replay runs 70× slower than real time.

Who it’s for

Where it fits.

For software that has to find things in local text: code, notes, chat logs, mail, agent memory. It is already the search engine inside six public tools.

See the tools

In your Rust app

Add the crate, index your own documents, and get each search back in two phases: the first ranking, then the refined one. The async API takes the caller’s context and stops cleanly on cancellation. It doesn’t need Tokio.

cargo add frankensearch --features hybrid

For coding agents

Agents find code by describing what it does. --compact output is about a third the size of full JSON, every hit carries a line number, and fsfs explain 1 shows why a result ranked where it did.

fsfs search "where do we retry failed uploads" --compact

On your own files

Index notes, docs and source once, then keep the index current with fsfs watch. An edited file is searchable from another shell within seconds.

fsfs index ~/notes && fsfs search "that idea about caching"

Pick the right tool

ToolGood atWhere it stops
grep, ripgrepExact text and regular expressions, very fastNo notion that “retry” and “backoff” are related
ctags, an IDE indexJumping to a known symbolDoesn’t rank documents by relevance
frankensearchRanking by words and meaning, with a first answer at onceHeavier: about 621 MB of models and an index to keep

Keep rg for exact matches. Use fsfs when you know what you want but not what it’s called. The manual compares them.

01How a search runs

Fast first, better second.

Every search has two passes. The first merges what a keyword index and a small, quick embedding model found, and returns it. The second asks a larger model about the leaders and re-ranks them. If the second pass is slow or broken, you still have the first.

Step 1 · Read the query

Names get keywords. Questions get meaning.

Before searching, frankensearch decides what kind of query it has. An identifier such as TwoTierSearcher or bd-123 doubles the keyword budget and halves the meaning budget; a question of four or more words does the reverse. The rules are plain string checks; no model is involved.

Query lifecycle

Type a query, or pick one.

Interactive

Class

Identifier

No spaces, and it mixes upper and lower case (camelCase or PascalCase).

Keyword candidates60
Meaning candidates15
The same rules as QueryClass::classify in frankensearch-core, run in your browser. The budgets assume a 10-result search and the default candidate multiplier of 3.

Step 2 · Merge two rankings

Merge by position.

A BM25 score of 15 and a cosine similarity of 0.83 can’t be compared. Reciprocal rank fusion ignores both numbers and uses positions: each list a document appears in adds 1 / (K + rank), with ranks counted from 1. Documents that both searches found rise to the top, and ties break the same way every time.

Reciprocal rank fusion

Drag K and watch the merged order.

Interactive

score = 1 / (K + keyword rank) + 1 / (K + meaning rank)

Keyword ranking

  1. 1src/search.rs
  2. 2src/session_merge.rs
  3. 3tutorials/searching-from-claude-code.md
  4. 4README.md
  5. 8src/fts5_adapter.rs

Meaning ranking

  1. 1src/two_tier.rs
  2. 2README.md
  3. 3src/sync_searcher.rs
  4. 4src/query_execution.rs
  5. 5src/fts5_adapter.rs
  6. 7src/search.rs

Merged

  1. 1README.md0.031754
  2. 2src/search.rs0.031319
  3. 3src/fts5_adapter.rs0.030090
  4. 4src/two_tier.rs0.016393
  5. 5src/session_merge.rs0.016129
  6. 6tutorials/searching-from-claude-code.md0.015873
  7. 7src/sync_searcher.rs0.015873
  8. 8src/query_execution.rs0.015625

Documents found by both searches take the top three places.

The eight documents fsfs returned for “merge ranked lists from keyword search and vector search”, with their real positions in each list; gaps in a list belong to files that didn’t make the final eight. At K = 60, these merged scores equal fsfs’s own to six decimal places.

Step 3 · Refine the leaders

A second opinion on the top results.

The quality model (all-MiniLM-L6-v2, 384 dimensions) embeds the query and re-scores the leading candidates. Its score is blended 70/30 with the fast model’s, and the lists are merged again. Asked to “merge ranked lists from keyword search and vector search”, the first pass missed rrf.rs, the file that does exactly that. Refinement put it fourth.

Score blending

Pick a search to compare its two rankings.

Recorded output

Initial · 11 ms

  1. README.md
  2. src/search.rs
  3. src/fts5_adapter.rs
  4. src/two_tier.rs
  5. src/session_merge.rs
  6. tutorials/searching-from-claude-code.md
  7. src/sync_searcher.rs
  8. src/query_execution.rs

Refined · 22 ms

  1. README.md
  2. src/search.rs
  3. src/fts5_adapter.rs
  4. src/rrf.rsnew
  5. src/two_tier.rs
  6. src/session_merge.rs
  7. tutorials/searching-from-claude-code.md
  8. src/sync_searcher.rs
Recorded with the replay above. A dot’s colour is the search that found the file: amber for keyword, cyan for meaning, lime for both. Lime lines are files the quality model promoted; a file marked new entered the ranking in the second pass.

When a stage fails

The first answer stays.

Each failure has a defined outcome and a typed reason. The first ranking is delivered before the expensive work starts, so a slow or missing model costs you the refinement and nothing else.

Failure modes

Break one stage and see what the caller receives.

Worked example
  1. 0.4 msInitial

    Keyword and fast-model rankings merged with RRF.

  2. 5.5 msRefined

    MiniLM re-scored the leaders; blended 0.7 quality, 0.3 fast; merged again.

Two rankings. On all three BEIR sets the second scores higher than the first.

From the README’s failure table. Times are the library’s measured medians and the default deadline.

02Long files

Meaning from every part of a file.

Embedding models read about 2,000 characters at a time, so a vector made from the start of a file knows nothing about page twelve. fsfs embeds each file as overlapping windows, up to 128 of them, and ranks the file by its best window. It’s on by default.

Fast windows

Up to 128 windows per file.

Windows are 2,000 characters long and overlap by 200. Past the cap, fsfs keeps the first and last windows and spreads the rest evenly; the gaps are recorded, so the index never claims coverage it doesn’t have. The quality model still reads one 2,000-character prefix, so on a long file its share of the blend shrinks to match.

Fast windows in the manual

Change the file’s length and the window cap.

Interactive
Windows51
Characters embedded100%
Not embedded0
Quality weight in the blend0.015of 0.7

The plan is fsfs’s own plan_for_chars, ported line for line. Lengths count the file’s text after whitespace is collapsed: for traits.rs that is 90,873 characters, which gives the same quality weight, 0.015, as the recorded explanation in chapter 4.

Measured on code

Why hybrid is the default.

With one vector per file, made from its opening, hybrid search scored 0.35 on code against 0.59 for keyword search alone. With windows it scores 0.58, level with keyword search, and finds more of the relevant files. On BEIR’s abstract-length documents, windows move Refined by less than 0.002.

Compare hybrid search with and without windows.

Measured
Keyword only (BM25)0.590
Hybrid, prefix only · Initial0.310
Hybrid, prefix only · Refined0.349
Hybrid, 128 windows · Initial0.577
Hybrid, 128 windows · Refined0.581

What windows cost on that tree

  • 89 → 106 MBindex size
  • 23 → 28 scold build
  • 21 → 26 mssearch, both phases
nDCG@10 on 253 judged code queries over a 579-file, 35 MB tree, measured by the code evaluation harness. The two windowed results sit inside the confidence interval of keyword search. Recall@100 is 0.93 with windows against 0.89 for keywords.

03Index integrity

It refuses to guess.

Vectors from two different models look alike and mean nothing together. A half-written index looks fine until a search reads the missing half. frankensearch records exactly which model produced every vector, publishes an index only as a complete set of files, and keeps repair data beside the vectors.

Model identity

The exact model, or no search.

Each vector file records the full identity of the model that wrote it: name, revision, tokenizer, vocabulary, pooling, normalization, dimension and the input rules around it. A query vector is compared with the index only when every field matches. A model with the same dimension but different weights produces numbers that look valid and rank nonsense, so it is refused.

Model choices in the manual

Point a different model at an index built with potion-multilingual-128M.

Worked example

The model that built the index.

FieldIndexQuery model
Model IDrecordedmatches
Revisionrecordedmatches
Tokenizerrecordedmatches
Vocabularyrecordedmatches
Pooling and normalizationrecordedmatches
Dimensionrecordedmatches
Input contract (adapter)recordedmatches
Kindrecordedmatches

A dimension check aloneAccepts

frankensearchSearches

Every field matches, so the query vector and the index share one vector space.

Field names follow EmbeddingSpaceIdentityV1 in frankensearch-core, which also fingerprints the artifact files and the query and document instructions. Its rule: equality is exact, and names, folder names and dimension-only matches never establish compatibility.

Complete generations

A whole index, or the last one.

An index is published as one sealed bundle: keyword segments, both vector tiers and the catalog. A pointer file switches to a new bundle only after it is complete, so a search running in another process during fsfs watch always sees one consistent generation, and a crash mid-build leaves the previous one in service.

Complete generations

Step through an index’s life.

Worked example

$ fsfs index ~/notes

fsfs writes keyword segments, both vector tiers and the catalog into a new generation, seals it, then points FSFS-CURRENT at it.

1 / 8
Generation names are illustrative. Each step describes behaviour documented in the README’s “Complete generations” section, which is the default for new indexes on Linux and macOS.

04For agents

Output an agent can act on.

Coding agents call fsfs like any other command. They get stable JSON field names, a stream that delivers the first ranking before the second exists, a compact shape about a third the size, and an explain command that shows the arithmetic behind any result.

Output formats

One answer, six shapes.

--format picks table, JSON, JSONL, TOON or CSV. --stream sends each phase the moment it is ready. --compact keeps only an id, the path, score, rank, snippet and line. Each payload carries a version number, so a parser can tell when the shape changes.

Which format to use

Switch between output formats.

Recorded output

--format json2,752 bytes

{
  "v": 1,
  "ts": "2026-12-04T21:47:43Z",
  "ok": true,
  "data": {
    "query": "refuse to mix vectors from two different embedding models",
    "phase": "refined",
    "total_candidates": 3,
    "returned_hits": 3,
    "hits": [
      {
        "rank": 1,
        "path": "crates/frankensearch-index/src/two_tier.rs",
        "line": 3209,
        "score": 0.01639344262295082,
        "snippet": "admission( &doc_id, fast_embedding, self.fast_dimension, &self.fast_ids, \"fast\", )?; if let Some(quality_embedding) = quality_embedding { validate_record_admission( &doc_id, quality_embedding, self",
        "lexical_rank": 0,
        "in_both_sources": false
      },
      {
        "rank": 2,
        "path": "crates/frankensearch-embed/src/api_embedder.rs",
        "line": 3128,
        "score": 0.01639344262295082,
        "snippet": "vectors), Err(SearchError::UnverifiableRemoteSpace { .. }) )); } #[test] fn attestation_rejects_replay_request_reorder_and_payload_tamper() { let embedder = verified_test_embedder(4); let vectors",
        "semantic_rank": 0,
        "in_both_sources": false
      },
      {
        "rank": 3,
        "path": "crates/frankensearch-storage/src/embedding_publication.rs",
        "line": 739,
        "score": 0.016129032258064516,
        "snippet": "point = storage .get_published_embedding(\"doc\", \"model\", &output.identity) .unwrap() .unwrap(); assert_eq!(point.embedding.values[0].to_bits(), scale.to_bits()); assert_eq!(point.embedding.values[1",
        "lexical_rank": 1,
        "in_both_sources": false
      }
    ],
    "index_freshness": {
      "published_generation": 9,
      "last_publish_unix": 1796420733,
      "live_writer": false,
      "degraded": false,
      "quarantined_segments": 0,
      "estimated_missing_docs": 0,
      "unknown_missing_doc_segments": 0
    },
    "vector_generation_id": "potion-multilingual-128M",
    "semantic_blend": {
      "quality_weight": 0.7,
      "fast_embedder": "potion-multilingual-128M",
      "quality_embedder": "minilm-384-native-f32",
      "hits": [
        {
          "path": "crates/frankensearch-embed/src/api_embedder.rs",
          "score": 0.9932299,
          "fast": {
            "raw_score": 0.5391302,
            "normalized_score": 1.0,
            "weight": 0.99078196
          },
          "quality": {
            "raw_score": 0.24844284,
            "normalized_score": 0.26556405,
            "weight": 0.009218046
          }
        }
      ]
    },
    "lexical_scores": {
      "crates/frankensearch-index/src/two_tier.rs": 21.573135,
      "crates/frankensearch-storage/src/embedding_publication.rs": 17.31196
    }
  },
  "meta": {
    "command": "search",
    "format": "json",
    "duration_ms": 11
  }
}
Recorded with fsfs search "refuse to mix vectors from two different embedding models" --limit 3. At ten hits, compact JSON is 3,223 bytes against 8,661 for full JSON. The JSONL stream shown here was a replay from the daemon’s cache, and says so in its second line.

Explanations

Every score, taken apart.

fsfs explain 1 reports how the last search scored a result: each query word’s BM25 contribution, both models’ similarity and weight, and the merge arithmetic. fsfs search --explain attaches the same evidence to every hit.

Explain in the manual

Read how one result was scored.

Recorded output

Result 1crates/frankensearch-core/src/traits.rsfinal score 0.030118

Keyword · BM25 15.40

  • refuse2.71115 files
  • to0.13503 files
  • mix3.5432 files
  • vectors2.10190 files
  • from0.18491 files
  • two1.35214 files
  • different0.89197 files
  • embedding2.47171 files
  • models2.03161 files

Rare words count most: “mix” appears in 32 files, “to” in 503.

Meaning

Fast model
0.830weight 0.985
Quality model
0.736weight 0.015
Blend
0.828

The quality weight is 0.015 instead of 0.7 because its 2,000-character prefix covers about 2% of what the fast windows read in this long file.

Merge · RRF, K = 60

Keyword rank 4
0.0156251 / (60 + 4)
Meaning rank 9
0.0144931 / (60 + 9)
Score
0.030118

Found by both searches, so it outranks files that one search placed first.

Recorded with fsfs explain 1 after a search for “refuse to mix vectors from two different embedding models”. The picture is drawn from the JSON form of the same explanation.

Errors

Failures that say what to do next.

Errors arrive in the same envelope as results, with a stable code, the setting at fault, an exit status and the next command to try. There is a tutorial for searching from Claude Code.

Read an error the way an agent does.

Recorded output
{
  "v": 1,
  "ts": "2026-12-04T21:47:44Z",
  "ok": false,
  "error": {
    "code": "invalid_config",
    "message": "Invalid config: cli.index_dir = \"./empty-store\" — no index found; run `fsfs` for guided setup or `fsfs index <dir>` first",
    "field": "cli.index_dir",
    "exit_code": 2,
    "suggestion": "Check the command line.\nno index found; run `fsfs` for guided setup or `fsfs index <dir>` first\nRun: fsfs help"
  },
  "meta": {
    "command": "search",
    "format": "json"
  }
}
  • codeinvalid_configA stable code to branch on.
  • fieldcli.index_dirThe setting at fault.
  • exit_code2The process exit status, for scripts.
  • suggestionCheck the command line.What to run next.
Recorded by searching a directory with no index in it, with --format json.

05Evidence

Measured, misses included.

Ranking quality is measured through the shipped fsfs binary on public BEIR datasets, with paired bootstrap confidence intervals. Latency comes from committed receipts that name the machine and the corpus. Experiments that lost are written down too: the negative-evidence log has more than 450 entries.

Ranking quality

Better than keywords, after refinement.

Refined beats keyword-only BM25 on all three datasets, significantly on each. The first pass alone is mixed: worse on SciFact, level on NFCorpus, better on ArguAna. That is what the second pass is for.

The evaluation in the manual

Compare the three stages on each dataset.

Measured

SciFact5,183 documents · 300 queries

Keyword only0.653
Initial0.590
Refined0.689

NFCorpus3,633 documents · 323 queries

Keyword only0.301
Initial0.291
Refined0.332

ArguAna8,674 documents · 1,406 queries

Keyword only0.315
Initial0.336
Refined0.363

Keyword only (Quill BM25)Initial (BM25 + fast model)Refined (+ quality model)

nDCG@10 on held-out BEIR test queries through the release fsfs binary with default settings, 2026-09-22, measured by the BEIR evaluation harness. Higher is better.

Latency

Where the milliseconds go.

The first ranking is ready in 0.40 ms. The quality model’s 5 ms embedding is most of the rest. The README’s design budgets were 15 ms and 150 ms; the receipts beat both by a wide margin. A cold fsfs search with no daemon spends about 0.75 s loading models, which is why fsfs keeps a query daemon warm for ten idle minutes.

Every receipt

Read the median time of each stage.

Measured

Embed the query, fast modelpotion-multilingual-128M, p95 0.17 ms

0.10 ms

Keyword search (Quill BM25)1,000 documents, p95 0.38 ms

0.23 ms

Vector search, fast tiertop 10 of 1,000; 0.29 ms on 10,000

0.07 ms

Merge with RRF1,000 + 1,000 candidates

0.023 ms

First ranking deliveredlibrary, warm; p95 0.58 ms, p99 2.4 ms

0.40 ms

Embed the query, quality modelall-MiniLM-L6-v2, p95 6.1 ms

5.1 ms

Refined ranking deliveredlibrary, both phases; p95 6.8 ms

5.5 ms

fsfs search through its daemonwhole command, both phases; p95 13.9 ms

12.7 ms
Medians from the committed receipts library-two-tier-latency-20260903 and fsfs-latency-20260903: release build, AMD Ryzen Threadripper PRO 5975WX, potion-multilingual-128M and all-MiniLM-L6-v2, 1,000 documents (659 KB), 50 timed queries. Log scale.

Keyword engine

Its own BM25, checked against Tantivy.

Keyword search runs on Quill, a BM25 engine written for frankensearch in Rust with #![forbid(unsafe_code)]. Tantivy stays in the repository as the reference: a differential harness, the Quill gauntlet, compares Quill’s results with a pinned Tantivy 0.26.2. Keyword segments are verified when opened, and one that fails is quarantined and rebuilt from your files.

Architecture
  • 0lines of unsafe code allowed in Quill
  • 0.26.2the Tantivy release it is checked against
  • 2×weight for a match in the file name

Negative results

What didn’t work.

The repository keeps a log of experiments that lost, with their numbers, so nobody runs them twice. Read NEGATIVE_EVIDENCE.md.

  • Reranking stays opt-in

    The cross-encoder raised nDCG@10 on NFCorpus by 0.016, did nothing significant on SciFact and lowered ArguAna by 0.013. It also costs hundreds of milliseconds, so it is off by default.

  • ANN is not the default

    HNSW against an exact parallel scan at 10,000 documents traded recall for latency without a clear win. Approximate search stays behind a feature flag for larger corpora.

  • Four accumulators, 49% slower

    Unrolling the f16 dot product into four accumulators was neutral at 256 dimensions and 1.49× slower at 384. The single accumulator stays, with the measurement beside it.

  • A faster parser that ranked differently

    A shortcut for plain queries was about 20× faster to set up but did not rank exactly like the reference parser. Reverted.

06Get started

Running in four commands.

Install fsfs, fetch and verify the two default models, index a folder, search it. Or add the crate to a Rust project and build the same engine into your own program.

fsfs, the command-line tool

Install, index, search.

One script installs fsfs and configures the model cache. Searches after the first are served by a background daemon that exits after ten idle minutes.

Install options
  1. 1Install

    curl -fsSL https://raw.githubusercontent.com/Dicklesworthstone/frankensearch/main/install.sh | bash -s -- --easy-mode

    Verifies every archive’s checksum before it replaces a binary.

  2. 2Fetch the models

    fsfs download-models potion-multilingual-128m
    fsfs download-models all-minilm-l6-v2

    About 621 MB, pinned and checked. Add --verify to check them again later.

  3. 3Index a folder

    fsfs index ./my-project

    A one-shot build. fsfs watch keeps it current instead.

  4. 4Search

    fsfs search "how does retry backoff work" --limit 5

    Add --format json, --stream or --compact for scripts and agents.

Check your platform.

Platformfsfs 1.13.0 archive
Linux x86-64 (glibc 2.39+, Ubuntu 24.04 and later)Full
macOS, Apple SiliconFull
Linux x86-64 or ARM64 (musl)Lite
macOS, IntelLite, or build with --native
WindowsNo archive yet
Full archives include both search models’ loaders; lite archives search by keyword only and are installed only when asked for with --lite. Elsewhere, install.sh --native builds from source with a Rust nightly toolchain.

frankensearch, the Rust crate

The same engine, in your program.

The crate is frankensearch on crates.io. It runs on asupersync rather than Tokio: your program owns the runtime and passes a context that carries cancellation into every phase.

Library quickstart

Feature flags

cargo add frankensearch --features hybrid
semantic
The two embedding tiers, no keyword index
hybrid
Embeddings plus the Quill keyword index. Start here.
persistent
Hybrid, plus durable metadata and an embedding queue
durable
Persistent, plus repair sidecars for the index files
full
Everything: reranking, ANN, model download and more

The default feature set is hash only: no downloads, for tests. The workspace builds with Rust nightly, edition 2024.

Index and search

use frankensearch::{EmbedderStack, IndexBuilder, TwoTierConfig, TwoTierIndex, TwoTierSearcher};

// Verified models from ./models; refuses to fall back to the hash control.
let stack = EmbedderStack::auto_detect_semantic_with(Some(Path::new("./models")))?;
IndexBuilder::new("./my_index")
    .with_embedder_stack(stack.clone())
    .add_document("doc-1", "Rust ownership and borrowing")
    .add_document("doc-2", "Structured concurrency with asupersync")
    .build(&cx)
    .await?;

let index = Arc::new(TwoTierIndex::open(Path::new("./my_index"), TwoTierConfig::default())?);
let mut searcher = TwoTierSearcher::new(index, stack.fast_arc(), TwoTierConfig::default());
if let Some(quality) = stack.quality_arc() {
    searcher = searcher.with_quality_embedder(quality);
}
let (results, metrics) = searcher.search_collect(&cx, "ownership rules", 10).await?;

Abridged from the README. An integration test runs the same path with the real models. cx is the asupersync capability context your program passes in.

Open source · MIT with an OpenAI/Anthropic rider

Search your files by what they mean.

Install fsfs, index a folder, ask it a question in your own words. If you build in Rust, the same engine is one dependency away.