DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

  • 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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page