Basil Docs

v1.0.0

Basil Documentation

Basil

Welcome to Basil - an AI-powered website content scraper and semantic search engine. Transform any website into a searchable knowledge base with just one command.

What is it

Chances are, you’ve already used ChatGPT or Gemini to quickly get answers. It’s fast, direct, and informative — exactly what today’s users expect.

Unfortunately, many websites still rely on outdated search functionalities. You type something in a search bar, and you're redirected to a results page full of irrelevant links. That’s where Basil steps in.

  • Smart indexing: Basil crawls and indexes your site content intelligently.
  • Instant answers: It understands user intent and returns answers directly — no need to click through pages.
  • Plug-and-play: One terminal command sets up a powerful API endpoint for your frontend search bar.

But Basil offers more than just convenience. Other systems often rely on a full RAG (Retrieval-Augmented Generation) setup using ChatGPT under the hood. While powerful, this burns tokens — and your budget — for every simple question.

Basil is different. It gives you a choice:

  • Search mode: Basil generates over 20 related questions per indexed page and uses LangChain to match user input. All without touching OpenAI APIs.
  • Full RAG mode, if you want Use Grok if you want maximum accuracy and natural answers.

The result? Fast, smart, and affordable question-answering directly inside your own site.

How the RAG mode works

Ask mode Basil

How the Search mode works (no API, just internal data)

Search mode Basil

Need help?

Have a question, need some help or advice, reach out to our support team. We're here to help!