Discussion: Future Directions for AI Integration into Django Core

Hello, Django community!

I’ve been observing the growing interest in integrating Artificial Intelligence into web applications, and it got me wondering about the future of Django in this ecosystem. Currently, the most common approach is to use Django as a server for models built with libraries like TensorFlow, PyTorch, and Scikit-learn, exposing them via the Django REST Framework.

However, I’d like to start a discussion about the possibility and the community’s interest in having AI functionalities more deeply integrated into Django’s core in the future.

  1. Are there any official discussions or Django Enhancement Proposals (DEPs) underway regarding the integration of AI tools or abstractions directly into the framework? My searches in public sources haven’t revealed any concrete plans, but perhaps I missed an internal discussion.
  2. What would be the benefits and challenges of having, for example, an official ‘Django AI’? Could we envision abstractions for common tasks like model management, training data versioning, or even simplified integrations with APIs of large language models?
  3. Besides django-ai and the DRF approach, what other initiatives or architectural patterns has the community been adopting to create AI-intensive Django applications?

I believe a discussion on this topic could be very valuable for us to understand developers’ needs and perhaps inspire future evolutions of our favorite framework.

Thanks! :star_struck: