Skip to main content

Settings-agnostic Django agent-host substrate for Pydantic-AI: config in, built agent out.

Project description

django-pydantic-agent

CI PyPI Python versions Django versions Docs Coverage Ruff License

The settings-agnostic agent-host substrate shared by Django's Pydantic-AI transports.

It takes an AgentConfig in and returns a built pydantic_ai.Agent — with composed toolsets, audit, and user resolution — and reads no Django settings of its own. Each transport owns its settings namespace, builds an AgentConfig, and hands it down:

  • django-ag-ui — AG-UI over SSE for a browser client.
  • django-a2a — agent-to-agent (planned).
pip install django-pydantic-agent

Optional extras: [drf-mcp] (bridge a drf-mcp-server registry as a toolset), [spec-tools] (drf-services specs as agent tools), [harness] (pydantic-ai-harness capabilities), and the provider extras [anthropic] / [openai] / [google].

Docs: https://artui.github.io/django-pydantic-agent/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_pydantic_agent-0.1.0.tar.gz (214.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_pydantic_agent-0.1.0-py3-none-any.whl (66.6 kB view details)

Uploaded Python 3

File details

Details for the file django_pydantic_agent-0.1.0.tar.gz.

File metadata

  • Download URL: django_pydantic_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 214.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for django_pydantic_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8551ed881bd41cc430cb743db522e922ae75e9a601f854ed3c1dceb7880e25a5
MD5 9077c0c46b16c11448efa679a2b16275
BLAKE2b-256 90b01a05596ec2435219261e1f7a48ca8467ff5a77f186d4c967c5fc4f38321a

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pydantic_agent-0.1.0.tar.gz:

Publisher: release.yml on Artui/django-pydantic-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_pydantic_agent-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_pydantic_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 242d16b70581ac67b42595e3bc44494fa6e763a6b868a937283352023e068704
MD5 5d4a24db664df67fcb0f804212b54e4c
BLAKE2b-256 c0d02acea2ca52c54693ce612ebbdf089bbadb63a013eec1d1fed4566d952014

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_pydantic_agent-0.1.0-py3-none-any.whl:

Publisher: release.yml on Artui/django-pydantic-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page