For Sphinx & Read the Docs

Ask AI for your Sphinx docs

Drop in an Ask AI assistant via the sphinx-biel extension. Three lines in conf.py. Source-cited answers, multilingual out of the box, autodoc-aware citations, and a Content Gaps view that shows what your docs don't cover. Works with sphinx-rtd-theme, furo, pydata-sphinx-theme, and Read the Docs.

14-day free trialNo credit card required
acme.readthedocs.io/en/stable/api.html
Docs » API Reference » acme.routes

acme.routes.configure_rate_limit

acme.routes.configure_rate_limit(route, requests, per='minute', burst=None)

Configure per-route rate limiting. Each endpoint has its own bucket, scoped to the route path; authenticated and anonymous traffic are metered separately.

Parameters
  • route (str) — Route path, e.g. /v1/checkout.
  • requests (int) — Maximum requests per window.
  • burst (int, optional) — Transient surge cap above the steady-state limit.

Used by documentation and developer-experience teams

ScyllaDB
Katalon
Tezos
Talon.one
GrepTime
CrazyGames
SecuroSys
ScyllaDB
Katalon
Tezos
Talon.one
GrepTime
CrazyGames
SecuroSys
Install

Three ways to ship Biel on Sphinx

A floating Ask AI assistant via sphinx-biel, a page-search field with an Ask AI handoff in a layout.html override, or a hosted MCP endpoint Claude and Cursor can query directly.
Full installation guide

Add the assistant via sphinx-biel

The standard install. The sphinx-biel extension wires the Ask AI button into every built page. Three lines in conf.py: install, register, set the project ID. Layout, position, and theme are tunable through biel_* config values, with no _templates/ overrides needed.
  • →Floating Ask AI button on every built page
  • →Works with sphinx-rtd-theme, furo, pydata-sphinx-theme
  • →Index published Read the Docs pages
  • →Indexes RST, MyST, and autodoc output
conf.py
# 1. pip install sphinx-biel
# 2. Register and configure in conf.py.

extensions = [
    # ... your existing extensions
    'sphinx_biel',
]

biel_project = '<YOUR_PROJECT_ID>'
biel_header_title = 'Documentation AI'
biel_button_style = 'light'           # default | dark | light
biel_button_position = 'bottom-right'

# Widget package version, not the documentation version.
biel_version = 'latest'

# 3. make html

Biel.ai vs built-in Sphinx search

Honest read. Sphinx's built-in JavaScript search is offline-capable, free, and bundled with every project. Read the Docs Search adds server-side indexing across versions. Biel provides its own page-search widget plus an Ask AI handoff to the assistant. Many Sphinx sites run both.

DimensionSphinx + RTD searchBiel.ai
Query typeJavaScript keyword index built from searchindex.js at make html time. Title and heading matches.Semantic page results, with Ask AI for natural-language questions and source-linked answers.
autodoc / autosummaryIndexes function names and headings. Docstring bodies surface as raw text fragments.Reads docstring content as documentation. Cites specific functions, parameters, return types.
RST and MySTSame searchindex covers both. Directives and roles are stripped, not interpreted.Indexes the rendered HTML, so directives, admonitions, and code blocks are read in context.
intersphinx targetsCross-references resolve at build time but cross-project search is not supported.Index linked Sphinx projects as additional sources. Answers can cite across project boundaries.
Read the Docs versioningEach version has its own searchindex. RTD Search adds project-wide ranking; no cross-version answers.Index published versions. Use separate projects when answers must stay within one version.
Theme supportBuilt-in search styling tied to each theme; some themes hide it on mobile.Theme-agnostic web component. Works on sphinx-rtd-theme, furo, pydata-sphinx-theme, custom themes.
AnalyticsNo content-gap signal. Search queries are not exposed to the project owner.Unanswered questions, satisfaction trends, and a Content Gaps view that updates daily.
LanguagesPer-language stemmers for the languages Sphinx supports.Answers in 60+ languages, including languages your docs are not written in.
InstallBuilt into Sphinx and RTD. No install required.pip install sphinx-biel and three lines in conf.py. Indexing time depends on site size.
CostFree, included with Sphinx and Read the Docs.Self-serve. 14-day free trial, no credit card required.

Before you install

Will it work with my theme?

Yes. sphinx-rtd-theme, furo, pydata-sphinx-theme, sphinx-book-theme, and custom themes are all supported. The widget is a floating button, not a navbar replacement, so it does not depend on theme internals.

Does it understand our API reference?

Yes. Biel reads the published API reference generated from your docstrings and links answers to supporting pages.

Does it work on Read the Docs?

Yes. Install the widget on your published site and index the version URLs you need. Use separate projects when answers must stay within a version. The current page does not automatically limit chat to that version.

Can we keep our existing Sphinx search?

Yes. Keep Sphinx search, replace it with Biel's page-search widget, or run both. The Biel assistant remains a separate surface, and Ask AI can carry a search query into it.

What if our docs span multiple Sphinx projects?

Index each project as a separate source in one Biel.ai project. Answers can cite across project boundaries, which helps when an SDK and a product live in different repos but the same docs ecosystem.

How long does the install take?

Install sphinx-biel and add three lines to conf.py. Indexing time depends on the size and number of versions.

Make your Sphinx docs answer questions

14-day free trial · No credit card required
Use a different platform? See our integration pages for MkDocs, Docusaurus, Starlight, Antora, and Jekyll.
Try me ↓