Ferret
Private search for your team's documents. Every answer cites the passage it came from,
and when nothing supports it, Ferret says so.
Quick start · What it does · Ferret Crawler · AI assistants · Docs
Quick start
Windows 10/11, easiest: download Ferret-Setup-<version>.exe from the
latest release and run it. No admin rights, no Python.
Ferret opens in your browser and stays in the system tray (Open · Pause indexing · Start when I sign in ·
Updates · Quit). If port 8000 is taken it uses the next free one. Settings → Updates checks GitHub and
installs a new version in place (it also checks daily). The installer
is not code-signed yet, so Windows SmartScreen may warn: More info → Run anyway.
Windows 10/11 from the source: open Command Prompt and run
git clone https://github.com/MayankPunghal/ferret
cd ferret
setup.bat --demo
macOS / Linux
git clone https://github.com/MayankPunghal/ferret
cd ferret
./setup.sh --demo
Setup takes a few minutes. It installs everything for your user account (no admin rights, no Docker),
then opens http://127.0.0.1:8000, where you create the administrator account. --demo loads fictional
sample documents to try it on.
No git? Code → Download ZIP, unzip, double-click setup.bat. Next time, start Ferret from the desktop
shortcut, start.bat or ./start.sh.
With uv (from the first published release): uv tool install ferret-search,
then ferret starts it and opens the browser. Data and models go to a Ferret folder in your home folder.
Docker, one container for a few people (from the first published release):
docker run -d -p 8000:8000 -v ferret-data:/data -v ferret-models:/models ghcr.io/mayankpunghal/ferret-search
On first start Ferret checks the computer's memory and graphics card and picks defaults to suit: summaries off under 8 GB, and on the GPU with 16 GB and a graphics card it can use. Settings shows what it found.
Setup options
| Option | Effect |
|---|---|
--demo / --no-demo |
load the sample documents and demo users, or skip them, without asking |
--summaries / --no-summaries |
download the optional summary model now (~3.2 GB), or turn summaries off |
--no-start |
install only |
--no-shortcut |
Windows: no desktop shortcut |
Re-running setup is safe: finished downloads are reused. Full walkthrough: Getting started.
What it does
- 🔎 One box, two kinds of search — Exact terms (
ERR-PAY-4012,/api/v2/invoices, a file name) and plain questions ("how do I roll back a release?"), together. - 📎 Evidence, not guesses — Every result is a real passage with a link to the file and page. If nothing in your documents supports an answer, Ferret says so.
- 💬 Ask — A chat with a small local model: it runs the search first, answers in words from the passages that passed the evidence check, cites each one, and streams the answer. Conversations are saved, follow-ups remember the thread, and "Think first" shows the model's reasoning. No evidence, no answer — it says so instead of guessing.
- 🔒 Stays on your machine — Database, models and search all run locally. No account, no GPU, no API keys.
- 🕸️ Follows your links — Wiki links, Markdown links and
depends_onfront matter: see what a page links to, what refers to it, and what breaks if it changes. - 🕷️ Ferret Crawler — Copies a website or intranet, even one behind a sign-in, into a collection.
- 🤖 Works with your AI assistant — A built-in MCP server lets Claude, Cursor or VS Code search your documents. Tokens are read-only unless you allow changes.
- 👥 Teams and permissions — Collections, groups and read/write access, enforced inside every query.
- 📝 Optional summaries — A small local model writes a summary, a type and topics for each document, in the background. These are labelled and never used as evidence.
Reads PDF, Word, PowerPoint, HTML, Markdown and text. Scanned PDFs without a text layer and text inside images are not read yet (no OCR).
| The passage in context, with its document's summary and connections | Two hops of links around a page; point at one to see all its links |
Copy a website with Ferret Crawler
- Sign in as administrator → Crawler → Copy a website. Paste the address. If the site asks you to sign in, a browser window opens; sign in there.
- When the copy finishes, Add to a collection (an existing one or a new one). Its pages and the PDF, Word and PowerPoint files they link to are indexed, each page keeping its web address.
- Update later brings in only what changed.
Ferret Crawler also runs on its own (double-click site2md/Crawl Website.bat or .command); see
its README.
Connect an AI assistant
Create a token under AI assistants, then, for Claude Code:
claude mcp add --transport http ferret http://127.0.0.1:8000/mcp --header "Authorization: Bearer <your token>"
The page has ready-to-copy setups for Claude Desktop, Cursor and VS Code. Passages the assistant reads go to its provider, so check your policy before connecting confidential collections. More.
What runs on your computer
| Part | Size | Job |
|---|---|---|
| PostgreSQL + pgvector (embedded) | installed by setup | stores documents, passages, links and access rights |
| bge-base-en-v1.5 | ~210 MB | finds passages by meaning |
| jina-reranker-v1-turbo-en | ~150 MB | re-reads the top results and judges evidence |
| Optional: Gemma 4 E2B or a smaller model (llama.cpp) | 0.5–3.2 GB | summaries, types and topics, in the background |
Needs: 64-bit Windows 10/11, macOS or Linux; 4 GB free RAM (8 GB recommended); ~2 GB disk. Internet only during setup. Speed: a search usually answers in under a second on a CPU. Indexing runs in the background: about 5–7 passages per second on a 4-core test machine, so a 10-page PDF takes ~5 s. Measurements and their limits: Evaluation.
Documentation
| Guide | For |
|---|---|
| Getting started | install, first run, try it on your own documents |
| User guide | searching, reading results, uploading, AI assistants |
| Admin guide | settings, users and groups, synced folders, the crawler, reindexing |
| How it works | plain-language tour: embeddings, evidence check, links |
| Deployment · Configuration | server setups, Docker, TLS, backups, KS_* variables |
| Evaluation | measured retrieval quality, abstention and speed |
| Architecture · Development | design decisions, project layout, tests, API |
| Troubleshooting | common problems and fixes |
| Handoff · To do · Plans | project status: verified vs. not yet verified; open work |
Status and license
Version 1.0: cited search, connections, optional summaries, crawler and MCP server. Ferret does not write generated answers yet. Handoff lists exactly what has been verified.
No license has been chosen yet; all rights reserved by the repository owner. Third-party components and models keep their own licences (list).
Metadata
Release files for ferret-search 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ferret_search-1.1.1.tar.gz | 2.3 MB | With provenance | Details for ferret_search-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ferret_search-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for ferret_search-1.1.1-py3-none-any.whl |
Total release size: 4.8 MB
Release files / ferret_search-1.1.1.tar.gz
| Download URL | ferret_search-1.1.1.tar.gz |
|---|---|
| Size | 2.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4c813e3a929fa4317ec08f159734d334afdea5af065d078cce5251266383315
|
|
BLAKE2b-256 checksum How to use checksums |
47d7d24553bde438dbe8eb68c3c4e122227da478c22db8689b4bc03d992dfd03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / ferret_search-1.1.1-py3-none-any.whl
| Download URL | ferret_search-1.1.1-py3-none-any.whl |
|---|---|
| Size | 2.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae41c578b379ac54f871373ac393d42e80578659d0649a00adc0431574828acc
|
|
BLAKE2b-256 checksum How to use checksums |
3064ddb6f74ab895d370d88aac7f054b9246c566de81511c78311e176f333768
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for ferret-search 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ferret_search-1.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.