One operation, declared once, served everywhere. A Django operation is declared as a spec: its parameters, permission check, validation and output. The same spec is then served over REST, HTML, the command line, MCP, and to AI agents, without writing it again for each.
flowchart LR
K["django-service-specs<br/><i>declare once</i>"]
K --> R["spec-rest<br/>REST"]
K --> H["spec-html<br/>HTML + htmx"]
K --> C["spec-cli<br/>manage.py"]
K --> T["spec-tasks<br/>background"]
K --> M["spec-mcp<br/>MCP"]
M --> A["spec-agents<br/>Pydantic-AI host"]
K --> A
A --> U["django-ag-ui<br/>AG-UI endpoint"]
U --> W["agents-web-components<br/><ag-ui-chat>"]
U --> D["django-admin-agent<br/>admin sidebar"]
W --> D
| Package | What it does | Release |
|---|---|---|
| django-service-specs | The kernel: declare an operation once, dispatch it from any transport | |
| django-spec-rest | Specs over HTTP with Django REST Framework | |
| django-spec-html | Specs as server-rendered pages, HTML first and htmx-capable | |
| django-spec-cli | Specs as manage.py subcommands, options generated from parameters |
|
| django-spec-mcp | Specs to agents over the Model Context Protocol | |
| django-spec-tasks | Specs as background tasks with a durable run record | |
| django-spec-agents | A Django agent host for Pydantic-AI, with specs as tools | |
| django-ag-ui | An AG-UI agent endpoint for Django | |
| agents-web-components | A framework-free <ag-ui-chat> web component: a drop-in chat sidebar with client-side tools |
|
| django-admin-agent | A chat-agent sidebar inside the Django admin |
See it all working together in django-agent-examples: one Django backend, one agent, five frontends (React, Vue, Svelte, Angular and the Django admin).
| Package | What it does | Release |
|---|---|---|
| django-domain-events | A domain-event log with a durable outbox, per-receiver retry and dead-letter | |
| django-outbound-webhooks | Customer-facing webhooks with Standard Webhooks signing | |
| django-query-contract | Catch N+1s, query growth and bad plans at test time | |
| django-data-shape | A realistically shaped test database from your models, loaded by COPY |
|
| django-tiptap-editor | A drop-in TipTap rich-text editor for Django forms and admin |
Also: go-services, the same declare-once idea for Go, and held-back-check, a GitHub Action that says which dependency holds another below its newest release.
A fix lands with the test that failed before it.




