{"by":"kingcauchy","descendants":40,"id":47414291,"kids":[47414748,47428664,47418717,47420595,47419052,47415781,47416482,47415950,47415727,47420558,47416324,47414873,47424054,47415003,47474949,47437446,47414833,47422601,47415544],"score":107,"text":"Hey HN, I’m excited to share Antfly: a distributed document database and search engine written in Go that combines full-text, vector, and graph search.  Use it for distributed multimodal search and memory, or for local dev and small deployments.<p>I built this to give developers a single-binary deployment with native ML inference (via a built-in service called Termite), meaning you don&#x27;t need external API calls for vector search unless you want to use them.<p>Some things that might interest this crowd:<p>Capabilities: Multimodal indexing (images, audio, video), MongoDB-style in-place updates, and streaming RAG.<p>Distributed Systems: Multi-Raft setup built on etcd&#x27;s library, backed by Pebble (CockroachDB&#x27;s storage engine). Metadata and data shards get their own Raft groups.<p>Single Binary: antfly swarm gives you a single-process deployment with everything running. Good for local dev and small deployments. Scale out by adding nodes when you need to.<p>Ecosystem: Ships with a Kubernetes operator and an MCP server for LLM tool use.<p>Native ML inference: Antfly ships with Termite. Think of it like a built-in Ollama for non-generative models too (embeddings, reranking, chunking, text generation). No external API calls needed, but also supports them (OpenAI, Ollama, Bedrock, Gemini, etc.)<p>License: I went with Elastic License v2, not an OSI-approved license. I know that&#x27;s a topic with strong feelings here. The practical upshot: you can use it, modify it, self-host it, build products on top of it, you just can&#x27;t offer Antfly itself as a managed service. Felt like the right tradeoff for sustainability while still making the source available.<p>Happy to answer questions about the architecture, the Raft implementation, or anything else. Feedback welcome!","time":1773762315,"title":"Show HN: Antfly: Distributed, Multimodal Search and Memory and Graphs in Go","type":"story","url":"https://github.com/antflydb/antfly"}