DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to let a coding agent search your product docs with Carrel

Deploy Carrel locally and give Claude Code or Codex a search skill over your own document folders.

Short answer: Run git clone https://github.com/FengZhenfei/carrel.git and then cd carrel; then run ./deploy.sh to start the services and create the configuration files; edit config/knowledge-base.env to set your embedding and vision model URLs, model names, and API keys. All steps.

  • Top pick
  • Research
  • Intermediate
  • 90 minutes
  • From the README
  • Claude Code
  • Codex

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

  1. Run git clone https://github.com/FengZhenfei/carrel.git and then cd carrel.
  2. Run ./deploy.sh to start the services and create the configuration files.
  3. Edit config/knowledge-base.env to set your embedding and vision model URLs, model names, and API keys.
  4. Put your documents in runtime/mirror/<folder>/, open http://127.0.0.1:9800, and enable that folder.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer