You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dev setup # One-time: starts search backend (Docker or native)
223
224
```
224
225
226
+
`dev setup` handles everything — pulls the Docker image, starts the server, and verifies the connection. If Docker isn't available, it falls back to the native Antfly binary and offers to install it.
227
+
225
228
### From Source
226
229
227
230
```bash
@@ -363,11 +366,10 @@ dev-agent/
363
366
-**TypeScript** (strict mode)
364
367
-**ts-morph** / TypeScript Compiler API (TypeScript/JS analysis)
365
368
-**tree-sitter** WASM (Go analysis, extensible to Python/Rust)
366
-
-**LanceDB** (embedded vector storage)
367
-
-**@xenova/transformers** (local embeddings)
369
+
-**[Antfly](https://antfly.io)** (hybrid search: BM25 + vector + RRF, local embeddings via Termite)
Copy file name to clipboardExpand all lines: website/content/docs/install.mdx
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
## Requirements
4
4
5
5
-**Node.js 22+** (LTS recommended)
6
-
-**pnpm**, **npm**, or **yarn**
6
+
-**[Docker Desktop](https://docker.com/get-started)** (recommended) or [Antfly](https://antfly.io) native binary
7
7
-**Cursor** or **Claude Code** (for MCP integration)
8
8
9
9
## Install dev-agent
@@ -29,6 +29,23 @@ Verify the installation:
29
29
dev --version
30
30
```
31
31
32
+
## One-time setup
33
+
34
+
Run `dev setup` to start the search backend:
35
+
36
+
```bash
37
+
dev setup
38
+
```
39
+
40
+
This does three things:
41
+
1.**Checks for Docker** (preferred) or native Antfly binary
42
+
2.**Starts the Antfly server** — handles hybrid search and embeddings locally
43
+
3.**Verifies the connection** — confirms everything is working
44
+
45
+
If Docker isn't available, `dev setup` falls back to the native binary and offers to install it.
46
+
47
+
> **What is Antfly?**[Antfly](https://antfly.io) is the search engine that powers dev-agent. It runs locally on your machine — your code never leaves. It provides hybrid search (BM25 keyword matching + vector similarity) which is significantly better than pure vector search for code.
48
+
32
49
## Setup for Cursor
33
50
34
51
### 1. Index your repository
@@ -40,8 +57,6 @@ cd /path/to/your/project
40
57
dev index .
41
58
```
42
59
43
-
This creates a local vector database in `~/.dev-agent/indexes/`.
0 commit comments