Who it is forA developer or small team whose coding agent keeps guessing at product specs, internal guides, or old design notes stored in local files.
The problemThe agent has no access to the team's documents, so answers are generic or wrong.
The outcomeThe agent answers questions from the actual documents and can cite the source passages it used.
What you need first
- Linux, macOS with Docker Desktop, or Windows through WSL2 (native Windows is not supported)
- Python 3.12+ and Docker 25+ with Compose v2
- A text embedding endpoint and a vision-language endpoint, either local or hosted
- A chat model if you want knowledge graphs
- Optional: an NVIDIA GPU with NVIDIA Container Toolkit for the local model stack
Steps
- Run
git clone https://github.com/FengZhenfei/carrel.gitand thencd carrel. - Run
./deploy.shto start the services and create the configuration files. - Edit
config/knowledge-base.envto set your embedding and vision model URLs, model names, and API keys. - Put your documents in
runtime/mirror/<folder>/, open http://127.0.0.1:9800, and enable that folder. - Install the bundled carrel-search skill in your agent, then confirm a query with
curl -sS http://127.0.0.1:9810/search -H 'Content-Type: application/json' -d '{"question": "What are the delivery and acceptance requirements?", "top_k": 8}'. (inferred, check the README)
Prompt for your agent
Using the Carrel repo at https://github.com/FengZhenfei/carrel, set up the carrel-search skill for this agent and query the search endpoint at http://127.0.0.1:9810/search with a question about <topic>. Return the answer with the source passages cited. Verify that the response contains source passages before answering.
Caveat. Carrel sends documents to the model endpoints you configure, so hosted endpoints mean your files leave your machine unless you run local models.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for FengZhenfei/carrel and "Let a coding agent search your product docs"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer