Skip to main content

AI assistant extension for Sphinx

Add the Biel.ai AI assistant and documentation search to your Sphinx documentation. Help readers get answers grounded in your documentation, with links to the sources.

Biel.ai AI assistant for Sphinx

Biel.ai’s extension adds the website assistant to Sphinx sites, including sites using the Read the Docs theme. Add the search widget separately to offer documentation search.

Note: A Biel.ai plan is required to use this plugin. Try it free for 14 days—no credit card required.

Key features

  • Ask AI button that opens the documentation assistant for answers with source links.

  • Documentation search: add a search widget for matching pages from indexed docs, with an Ask AI action that sends the current query to the assistant.

  • Integration with Sphinx.

  • Customizable to match your site’s branding and user needs.

  • Connect menu to connect indexed docs to Claude Code, Codex, and other MCP clients by copying an endpoint or setup command, or opening a supported client.

Get started

See the Sphinx AI assistant integration guide for installation and setup instructions, including selecting a widget version.

The extension loads the widget’s JavaScript and CSS from the CDN. It uses latest by default; set biel_version in conf.py to choose a specific release. You do not need to install biel-search with npm.

Support

Need assistance? Contact us for help.

License

Copyright (c) 2024 Biel.ai

Licensed under the MIT License.

Development

For a reusable Sphinx project to test locally, see demo/README.rst. The demo is excluded from published wheels and source distributions.

Widget option metadata is included in the Python package. To refresh it, unpack the published widget and run python tools/update_widget_options.py /path/to/biel-search. This reads the widget’s property definitions without executing its JavaScript.

Build with python -m build --wheel, install the wheel in a separate Sphinx environment, and run python tests/test_artifact.py /tmp/biel-sphinx-site. This checks the generated HTML, typed settings and version overrides.

The browser test also needs Puppeteer and a local widget package for its test fixtures. Set NODE_PATH to that test environment’s node_modules and run PUPPETEER_EXECUTABLE_PATH=/path/to/chrome node tests/browser-contract.cjs /tmp/biel-sphinx-site. It uses local sample replies to check the button and assistant settings.

Metadata

Release files for sphinx-biel 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinx-biel 0.1.12
File Size Uploaded
sphinx_biel-0.1.12.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinx-biel 0.1.12
File Interpreter ABI Platform
sphinx_biel-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 12.2 kB

Release files / sphinx_biel-0.1.12.tar.gz

Download URL sphinx_biel-0.1.12.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
94852f3e302ab1d84a6a07995c72156123632782c44b9dacb27557a308f0adc5
BLAKE2b-256 checksum
How to use checksums
4715dfddaa02d6bf4a133462a0d5fb58caf09507579e4646e5338756f24b9ec8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / sphinx_biel-0.1.12-py3-none-any.whl

Download URL sphinx_biel-0.1.12-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
56d00255f4b735151a99db1dad0d47e493f6bf3e40785ab4011a4bbdb1a0c8a4
BLAKE2b-256 checksum
How to use checksums
a202f3228997e22e1dee95aa705476b3a474cd747f6468e2d79f842a1dfd69c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page