Skip to main content

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.

Metadata

Release files for django-agentweb 0.1.0

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

Source distribution (sdist)

Source distribution for django-agentweb 0.1.0
File Size Uploaded
django_agentweb-0.1.0.tar.gz 57.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-agentweb 0.1.0
File Interpreter ABI Platform
django_agentweb-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 110.3 kB

Release files / django_agentweb-0.1.0.tar.gz

Download URL django_agentweb-0.1.0.tar.gz
Size 57.4 kB
Tags Source
SHA-256 checksum
How to use checksums
68b4cac986629caec28ca7a0af40194fdf17b620fce866b638643af42d4c603d
BLAKE2b-256 checksum
How to use checksums
fef56144c091eff0bed1b961d9c660db84e38d8fc0b41973cd6afcf528977fa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / django_agentweb-0.1.0-py3-none-any.whl

Download URL django_agentweb-0.1.0-py3-none-any.whl
Size 52.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2aa61cc95691db29904588c50b52d79c9504f3961c6c1a79c6d954754bf54383
BLAKE2b-256 checksum
How to use checksums
a5ac080ddccbb4881d3e63ae030f8b8646ada33241dfddbe4d28198db1e0ab76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

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