Mantic.sh

Code search for AI agents that ranks files by intent, path and metadata

A local CLI and MCP server that infers intent from file structure and metadata before reading content, then scores and classifies files and reports blast radius. --semantic adds local transformers.js reranking, and Tree-sitter powers definitions and references.

  • 1.961 sQuery, Chromium
  • 0.380 sripgrep, Chromium
  • 0.440 sQuery, next.js

Trade-offs

  • Ranking over raw speed. Agents get the intended file first, but ripgrep answers the same Chromium query about five times faster.
  • Filters on metadata before reading content. Agents read fewer files, at up to 63% fewer tokens, but exact string matching stays a ripgrep job.
  • Learned search patterns live in a local JSON file. They can be committed to share across a team, as one more file in the repo.

Q&A2

Quick text searches, exact strings and interactive browsing. Repos over 100K files are another case, where the trade is about 4 s against 0.3 s.

Reviews

Loading reviews

    More in RAG

    See all 26 →
    • GNOLocal knowledge engine with hybrid search, cited answers and agent memory
    • MDFluxDesktop app that turns documents into clean Markdown for LLMs
    • Global News Intel PlatformServerless pipeline over world news events, run at zero cost
    • CAFEDesign-of-experiments platform for evaluating compound AI systems
    • JustHireMeLocal-first workbench for job discovery, fit ranking and tailored documents
    • AGmind-MLRussian models fine-tuned on one GPU for a self-hosted RAG stack on AMD

    More in MCP

    See all 53 →
    • jobdGPU-aware job broker for a few personal machines, with an MCP server
    • DeftSelf-hosted workspace shared by people and AI agents
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • MnemosyneLocal-first agent memory in one SQLite file, with evidence on every record
    • AgenvoySelf-hosted agent harness in one Go binary, running around the clock
    • PageSiftSelf-hosted Rust binary that turns URLs and documents into Markdown or JSON

    More in TypeScript

    See all 176 →
    • Charted RootsGenealogy and worldbuilding inside an Obsidian vault, from GEDCOM to maps
    • Prisma CalendarCalendar, timelines and recurring notes over the dated notes in Obsidian
    • MigrationPilotPostgreSQL migration linter that blocks unsafe DDL before merge
    • TileLineBasePlain-text database for Obsidian with tables, kanban, gallery and slides
    • JDFDocument format in plain JSON that renders like a PDF and diffs in git
    • MuTracerPhysically based path tracer for the web on WebGPU, with a WebGL 2 fallback