Skip to content

Repository files navigation

django-agentweb

CI/CD PyPI License: MIT Docs

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.

Domains

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)

Install

pip install django-agentweb
pip install "django-agentweb[webmcp]"   # optional: server-side tool proxy
pip install "django-agentweb[all]"      # optional: all extras

Requires django.contrib.sites.

Quickstart

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

License

MIT — see LICENSE.

About

Make Django sites first-class citizens of the agentic web: llms.txt, Schema.org/JSON-LD, agent discovery, WebMCP tools, agentic commerce/booking and SDF — per-site opt-in.

Topics

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages