🏠 Home · 📚 Docs · Português 🇧🇷
All commands accept the global flags -C, --path <dir> (operate on another directory), -p, --provider, --embedding-provider, -m, --model, --embedding-model and --index-dir. See Configuration for the full list.
Scans the directory (honoring .gitignore), splits files into line-aligned chunks, embeds them, and stores everything locally. Re-running only re-embeds files whose content changed.
ailore index # index the current directory
ailore index ./packages/api # index a subfolderRetrieves the most relevant chunks and asks the model to answer using only that context, with inline citations. The answer streams to your terminal and the sources are listed at the end.
ailore ask "how do we validate webhook signatures?"
ailore ask -k 10 "summarize the deployment process" # retrieve more context
ailore ask --no-stream "what does the cache layer do?" # print all at onceFlags: -k, --top-k, --min-score, --mode, -t, --temperature, --max-tokens, --top-p, --seed, --no-stream. See Configuration.
Ranked snippets, no LLM call. Uses hybrid retrieval by default; switch with --mode. Great for quickly jumping to relevant code.
ailore search "jwt refresh token rotation"
ailore search --mode keyword "TokenRotationError" # exact-symbol lookup
ailore search --json "database migrations" > hits.jsonWrites a starter ailore.config.json you can tweak. See Configuration.
Runs an MCP server over stdio, exposing two tools — ailore_search and ailore_ask — so an AI client can search and ask against your index on its own, with the same path:line citations.
ailore mcp # serve the current directory
ailore mcp -C ./my-project # serve a specific projectFull client setup (Claude, Cursor, …) is in Editor / MCP integration.