
Building Real-Time AI Chat with Pydantic AI and Django
How to make AI agents stream, persist messages, and use tools—all in a Django backend
Themba Mahlangu
6 min read
Insights, tutorials, and updates from the Advantch team

How to make AI agents stream, persist messages, and use tools—all in a Django backend
Themba Mahlangu
6 min read

Beginner-friendly Introduction to AI Agents and OpenAI Assistants. This post explains what AI Agents are and provides examples of building agents with the OpenAI API and OpenAI Assistants API
Themba Mahlangu
5 min read

This guide covers InertiaJS fundamentals and how to use it with Django and React. We cover middleware, Inertia decorators, and practical steps to build your own app. Enjoy,
Themba Mahlangu
11 min read

This article will teach you how to create a CLI application for that will automatically backup your Fly.io database to S3.
Themba Mahlangu
9 min read

In this article, we'll show you how to deploy a production-ready WebSocket server in just ten minutes. We will also look at some examples.
Themba Mahlangu
4 min read

In this article, you will learn how to run multiple processes in a single container using Supervisor
Themba Mahlangu
3 min read

This article will show you how to build interactive charts in python using htmx and echarts. You will learn how to use include other libraries in your htmx workflow using htmx extensions.
Themba Mahlangu
5 min read

Charts are a great way to communicate information visually. In this article, you will learn how to add charts to your python or Django application.
Themba Mahlangu
6 min read

Use caching to make your Django site faster. In this article we cover basic concepts of caching, different caching strategies and techniques for refreshing your cached content.
Themba Mahlangu
7 min read

SingleStore is a high-performance database that is perfect for data-intensive applications. This article will show you how to configure Django to use SingleStore as a database.
Themba Mahlangu
7 min read

Learn how to easily add a fast search UI to your Django app with Meilisearch, HTMX and Django.
Themba Mahlangu
15 min read

Learn how to build a modern, fast UI for browsing large datasets using Django & Htmx. Can easily handle datasets with million plus rows.
Themba Mahlangu
6 min read