• dbt Labs
  • Vercel
  • Stripe
  • HashiCorp
  • Datadog
  • Tailscale
  • GitHub
  • GitLab
  • Netlify
  • NVIDIA
  • Meta
  • Adobe
  • Qualtrics
  • Merck

Why inference first

Mixed content needs a mix of models.

PDFs alone can require OCR, multimodal indexing for semantic text and image searching, chunking and named entity recognition.

  1. Text layerPages 1โ€“6 already have text. Antfly keeps it.
  2. OCRPage 7 is a scan. A model reads it.LightOnOCR 3
  3. ChunkingThe text splits into passages.
  4. EmbeddingsEach passage becomes a vector.EmbeddingGemma 2
  5. EntitiesA model tags the landlord, the tenant, and the address.GLiNER2.5
  6. GraphEach one becomes a node, linked to the same names in other leases.

One request

leases that allow subletting, and who the tenants are

โ€œThe Tenant may sublet the Premises, in whole or in part, with the Landlordโ€™s prior written consent.โ€

Lease 2231 ยท page 4 ยท full-text and meaning
Tenant
Rivera Holdings
Address
14 Maple St
Landlord
Harbor Property Co.

from the graph

Antfly builds your model pipeline so you don't have to.

Dot with mixed content
Dot with PDFs
Dot with images
Dot with audio
Dot with video
Dot with decks
Dot with documents

Explore models โ†’

How it works

indexes = models(data)

models

OCR, transcription, entity extraction, and embedding.

indexes

Full-text, vector, and graph, built on write, kept current, and rebuilt when a model changes.

retrieval = engine(data + storage + indexes + query)

Hyper configurable.

How it works

Inference as code.

The models that read your data belong in your repo, next to the rest of your infrastructure. Try a new one the way you'd roll out any other change.

antfly/tables/support_calls.json+8 โˆ’0
11 {
22 "indexes": {
3+ "transcripts_qwen": {
4+ "type": "embeddings",
5+ "template": "{{transcript}}",
6+ "embedder": {
7+ "provider": "antfly",
8+ "model": "Qwen/Qwen3-Embedding-0.6B-GGUF:q8-0-bundle-v1"
9+ }
10+ },
311 "transcripts": {
412 "type": "embeddings",
513 "template": "{{transcript}}",
614 "embedder": {
715 "provider": "antfly",
816 "model": "google/embeddinggemma-2:bf16-safetensors-bundle-v1"
917 }
1018 }
1119 }
1220 }
  1. 01

    Merge it. Antfly reads the calls you've already stored into the new index, in the background.

  2. 02

    Query both indexes side by side and compare what each one finds.

  3. 03

    When the new one wins, point your queries at it and drop the old index.

Where to use it

  • Object storagePoint documents at files in your bucket. Antfly reads them where they are and keeps what the models found.s3://contracts/lease-2231.pdf
  • File systemsPoint documents at files on disk. Everything stays local.file:///Users/you/Contracts/
  • PostgresMirror tables as they change, query them in place, or connect with the psql you already use.psql "host=antfly port=5432"
  • AntflyMake it the database: documents, tables, graph, and key-value in one engine.antfly standalone

How to start

  • Transcription service
  • OCR service
  • Embedding API
  • Vector store
  • Search engine
  • Graph database
  • Your records database
  • The sync code between them
$ antfly standalone

Run the quickstart

The same engine runs anywhere.

Free

$0

Apache-2.0, on your own hardware

Start Local

Growth

From $20/mo

Antfly Cloud, with a year of free credits

Start with Cloud

Enterprise

Let's talk

Fine-tuning, dedicated deployment, custom SLA

Contact sales

Compare plans

Build on Antfly

  • Four seats around one table, each with its own notes, joined by one shared conversation

    Build a multi-player agent whose memory is a single file.

    In your app

    antfly_embedded.create("agent.aflite")See the guide
  • A question in a browser search bar pulls the right page out of an open book

    Build a docs site that answers questions, with no backend.

    WebAssembly

    await instantiateAntflyEmbeddedApiFromUrl("antfly.wasm")See the guide
  • A laptop search finding a photo, a video, and a document of the same mountain

    Build an on-device app to search your videos, photos and documents all at once.

    On device

    antfly standalone --storage-engine liteSee the guide
  • A brain wired to the documents and photos that feed it

    Build a corporate brain your whole team and its agents can ask, with everything automatically in sync.

    On your server

    claude mcp add --transport http antfly /mcp/v1See the guide
  • Documents feeding a box that grows a branching graph

    Build an automated knowledge graph pipeline that you don't have to supervise.

    Inference

    curl /graphs/knowledge/query -d '{"query": "MATCH (doc)-[:MENTIONS]->(e) RETURN e.canonical_name"}'See the guide

Bundled with your app

SearchAF uses Antfly to make your Mac hyper searchable.

Built on Antfly Server and Antfly Inference. searchaf.com

SearchAF results for โ€œfind a screen recording with a terminalโ€: screen recordings matched by what appears on screen, with the matched moments shown beside them.

Loved by developers at

  • dbt Labs
  • Vercel
  • Stripe
  • HashiCorp
  • Datadog
  • Tailscale
  • GitHub
  • GitLab
  • Netlify
  • NVIDIA
  • Meta
  • Adobe
  • Qualtrics
  • Merck

See all GitHub stars โ†’

Anty studying an open book with a magnifying glass at a desk

inยทferยทence

use AI to turn data into intelligence.

Explore models