whatisgithub

What is antfly?

antflydb/antfly — explained in plain English

Analysis updated 2026-05-18

360GoAudience · developerComplexity · 4/5LicenseSetup · hard

In one sentence

A distributed Go search engine that combines keyword, vector, and graph search over text, images, audio, and video in one query.

Mindmap

mindmap
  root((repo))
    What it does
      Keyword search
      Vector search
      Graph traversal
    Tech stack
      Go
      PostgreSQL
      Raft consensus
    Use cases
      Multimodal search
      RAG chatbots
      SQL search queries
    Audience
      Developers
      Backend engineers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Search across text, images, audio, and video using one combined keyword, vector, and graph query.

USE CASE 2

Build a RAG chatbot that answers questions using your own indexed data.

USE CASE 3

Run Antfly searches directly from SQL queries via its PostgreSQL extension.

USE CASE 4

Scale a search index horizontally across multiple machines with consistent replication.

What is it built with?

GoTypeScriptPythonReactPostgreSQLRaft

How does it compare?

antflydb/antflycaddyserver/nginx-adapterbloom42/markdown-ninja
Stars360354401
LanguageGoGoGo
Last pushed2026-02-15
MaintenanceMaintained
Setup difficultyhardeasyeasy
Complexity4/52/52/5
Audiencedeveloperops devopswriter

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires setting up a distributed cluster with Raft consensus for full horizontal scaling.

The core server uses the Elastic License 2.0, which restricts offering the software as a hosted service to others, the client SDKs and tools are Apache 2.0, which is freely usable.

So what is it?

Antfly is a distributed search engine written in Go that goes well beyond basic keyword search. It combines three different ways of finding information in a single query: traditional word matching (called BM25), vector similarity search (which finds content that means the same thing even if worded differently), and graph traversal (which follows relationships between pieces of data). It can index and search not just text but also images, audio, and video, using AI models to understand what they contain. The system is built to scale horizontally across many machines using a consensus algorithm called Raft, the same technology behind the etcd database, which keeps data consistent and replicated. When you write data to Antfly, it automatically generates the embeddings (numerical representations of meaning), chunks long documents into searchable pieces, and extracts relationships for the graph index. Built-in RAG agents (retrieval-augmented generation) let you connect the search results directly to a large language model for conversational question-answering over your data. You can connect your own AI models via Ollama, OpenAI, Bedrock, or Google. Client libraries are available in Go, TypeScript, Python, and React. There's also a PostgreSQL extension that lets you run Antfly searches directly from SQL queries. A web dashboard called Antfarm provides visual playgrounds for all features. The core server uses the Elastic License 2.0, while the SDKs and tools are Apache 2.0.

Copy-paste prompts

Prompt 1
Show me how to set up Antfly and index a mix of text and image data.
Prompt 2
Write a query that combines BM25 keyword search and vector similarity in Antfly.
Prompt 3
Connect Antfly's RAG agents to an LLM for question-answering over my data.
Prompt 4
Explain how Antfly's PostgreSQL extension lets me query it with SQL.

Frequently asked questions

What is antfly?

A distributed Go search engine that combines keyword, vector, and graph search over text, images, audio, and video in one query.

What language is antfly written in?

Mainly Go. The stack also includes Go, TypeScript, Python.

What license does antfly use?

The core server uses the Elastic License 2.0, which restricts offering the software as a hosted service to others, the client SDKs and tools are Apache 2.0, which is freely usable.

How hard is antfly to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is antfly for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.