Show HN: Antfly: Go에서 구현한 분산 멀티모달 검색 및 메모리와 그래프

발행: (2026년 3월 18일 AM 12:45 GMT+9)
2 분 소요

Source: Hacker News

Overview

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 development and small deployments.

I built this to give developers a single‑binary deployment with native ML inference (via a built‑in service called Termite), meaning you don’t need external API calls for vector search unless you want to use them.

Capabilities

  • Multimodal indexing: images, audio, video
  • MongoDB‑style in‑place updates
  • Streaming RAG (retrieval‑augmented generation)

Distributed Systems

  • Multi‑Raft setup built on etcd’s library
  • Storage backed by Pebble (CockroachDB’s storage engine)
  • Metadata and data shards each have their own Raft groups

Single Binary

antfly swarm provides a single‑process deployment with everything running. Ideal for local development and small deployments. Scale out by adding nodes when you need to.

Ecosystem

  • Ships with a Kubernetes operator
  • Includes an MCP server for LLM tool use

Native ML Inference

Antfly ships with Termite, a built‑in service similar to Ollama for non‑generative models as well (embeddings, reranking, chunking, text generation).

  • No external API calls needed
  • Supports external providers if desired: OpenAI, Ollama, Bedrock, Gemini, etc.

License

Antfly is released under Elastic License v2 (not OSI‑approved). You can use, modify, self‑host, and build products on top of it, but you cannot offer Antfly itself as a managed service. This trade‑off aims to balance sustainability with source availability.

Contact

Happy to answer questions about the architecture, the Raft implementation, or anything else. Feedback welcome!

Comments

https://news.ycombinator.com/item?id=47414291 (Points: 39, Comments: 17)

0 조회
Back to Blog

관련 글

더 보기 »

Kagi 스몰 웹

안녕하세요, Kagi Small Web에 오신 것을 환영합니다! 인터넷을 거대한 동네에 비유해 보세요. 주변에 많은 사람들이 있지만, 우리는 서로 마주치는 경우가 드물죠, 맞나요? K...