Skip to main content

Django AI Framework (DAIF)

A comprehensive framework for integrating AI capabilities into Django applications, with LangChain powering the underlying LLM interactions.

Features

  • Seamless integration with Django models and authentication
  • Support for multiple LLM providers (OpenAI, Anthropic, Mistral) via LangChain
  • Conversation management and history
  • Permission and quota systems
  • Pre/post processing pipeline
  • Tool system for extending AI capabilities with custom functions
  • Team coordination for multi-agent workflows using LangChain orchestration
  • Django-native interface with LangChain power under the hood

Architecture

DAIF uses a layered architecture:

  • Public Interface Layer: Django models and clean APIs
  • Service Layer: Business logic and orchestration
  • Adapter Layer: Converts between DAIF and LangChain types
  • LangChain Layer: Handles all LLM interactions

This approach gives you the simplicity of a Django-native API with the power and flexibility of LangChain.

Installation

First version with complete documentation coming soon!

Documentation

First version with complete documentation coming soon!

Development

First version with complete documentation coming soon!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for django-ai-framework 0.0.1

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-ai-framework 0.0.1
File Size Uploaded Provenance
django_ai_framework-0.0.1.tar.gz 3.7 kB Without provenance Details

Release files / django_ai_framework-0.0.1.tar.gz

Download URL django_ai_framework-0.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f410af86ddc05dc4d59a828e01fb404a6fb1e0069086f2b946e1abfb427a47ae
BLAKE2b-256 checksum
How to use checksums
1b1d890544a488efb5c32278798c309317a967f351ec4582725be1dee39dfa60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.3

Security for django-ai-framework 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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