# Antfly

> Antfly is a self-hosted, open-source Zig database unifying full-text, vector, and graph search with built-in ML for embeddings, reranking, and RAG.

- **Category:** Search Engines
- **Licence:** Apache-2.0
- **Latest version:** v0.2.5
- **Open source:** oss
- **Languages:** Zig
- **Platforms:** Docker, Docker Compose, Kubernetes, Linux, Homebrew, Build from Source
- **Tags:** Mcp, Elasticsearch, Ai Agents, Full Text Search, Multi modal, Rag, Semantic Search, Autoscaling, Vector Search, Search Engine, Open Source, Ml, Self Hosted, Embeddings, Fine Tuning, A2a, Information Retrieval, Reranking, Zig, Graph Search, PostgreSQL Cdc

## Description

Antfly is a Zig-based search-and-inference database that combines full-text, vector, and graph search in a single engine. It runs machine learning models locally to handle chunking, embedding, reranking, transcription, OCR, and entity extraction automatically when data is written. The engine can operate as a single .aflite file, a standalone node with hot standby, a multi-Raft cluster, or serverless over S3-compatible object storage. The Antfarm web dashboard includes interactive playgrounds for search, retrieval-augmented generation, knowledge graphs, and model testing. Authentication is handled via API keys, basic auth, and bearer tokens. Supported external model providers include Ollama, OpenAI, OpenRouter, Cohere, AWS Bedrock, Google Gemini, and Vertex AI. PostgreSQL change data capture replication mirrors tables into Antfly. Available installation methods: Docker, Docker Compose, Kubernetes, Homebrew, or direct binary download.

## Links

- [Homepage](https://github.com/antflydb/antfly)
- [Website](https://antfly.io)
- [Docker](ghcr.io/antflydb/antfly)
- [Documentation](https://antfly.io/docs)
- [GitHub Repository](https://github.com/antflydb/antfly)
- [Discord Community](https://discord.gg/zrdjguy84P)
- [Pricing](https://antfly.io/pricing)
- [Downloads](https://antfly.io/download)
- [Releases](https://antfly.io/releases)
- [Showcase](https://antfly.io/showcase)

---
Source: https://selfhost.directory/project/antfly