Make your Django site a first-class citizen of the agentic web.
django-agentweb helps AI agents discover, understand, and act on your site
across five complementary domains. Every domain is opt-in and off by
default.
Status: alpha. Core domains are implemented and opt-in. Booking adapters and some extras follow — see the docs.
| Domain | What it provides |
|---|---|
| Readability | llms.txt / llms-full.txt |
| Structured data | Schema.org JSON-LD profiles |
| Discovery | /.well-known/ agent descriptors |
| WebMCP | In-page tools agents can call |
| Commerce / SDF | Booking discovery hooks; SDF (flag, off) |
pip install django-agentweb
pip install "django-agentweb[webmcp]" # optional: server-side tool proxy
pip install "django-agentweb[all]" # optional: all extrasRequires django.contrib.sites.
# settings.py
INSTALLED_APPS = [
# ...
"django.contrib.sites",
"agentweb",
]
APP_CONFIG = {
"agentweb": {
"LLMS": {"ENABLED": True}, # content: admin LLMS documents (or settings fallback)
"JSONLD": {"ENABLED": True},
"DISCOVERY": {"ENABLED": True},
},
}# urls.py
from django.urls import include, path
urlpatterns = [
# ...
path("", include("agentweb.urls")),
]Enabling a domain alone is not always enough: some features need middleware, template tags, or a management command. See the Getting started and Configuration guides.
MIT — see LICENSE.