Build an Ai Agent with Python, Django, LangGraph, and Permit

preview_player
Показать описание

Django has the data. LangGraph coordinates the Ai Agents. Permit gives us the guardrails to ensure data is safe.

In this course, I'll take you step-by-step so you can build Ai Agents with Django, LangGraph, and Permit so you can:

✅ Save user-data with minimal overhead
✅ Talk to the data you or your users care about
✅ Integrate third-party rest API services
✅ Turn any Python functions into tools an Ai Agent can run with queries like 'what are my recent documents?' or 'What new movies are out?'
✅ Chat with Django User data through standard Django queries and without the need for vector embeddings (although you *can* use them)
✅ Easily switch LLMs to upgrade the effectiveness of your agents
✅ Leverage RBAC (role-based access control) within any Django or Python project
✅ Create a Super(visor) Agent that controls other agents
✅ Lock down access to what a User can or cannot do
✅ Add guardrails to ensure an Agent can't do anything it shouldn't (e.g. create, update, read, search, list, share, or delete any data)
✅ and more.

Topics covered:

➕ Integrating Django with LangGraph for building Ai Agents (it's crazy easy)
➕ Django ORM fundamentals
➕ Django Model design basics with database syncing (migrations)
➕ Django Users & Permission Fundamentals
➕ Creating LangChain tools for LangGraph agents
➕ LangGraph Supervisor Agents
➕ Multi-agent integration
➕ Django + Jupyter integration for rapid prototyping
➕ LangGraph-based lookups to your Django database

Thanks to Permit for partnering with me on this course.

Chapters:
00:00:00 Welcome
00:02:53 Demo
00:12:34 Create your Django Project
00:17:18 Designing a Database Table in Django
00:27:22 Add New Database Tables with Django ORM
00:35:09 Changing Database Tables with Django Migrations
00:44:40 Django Users and Admin
00:49:56 Interactive Django with Notebooks
00:53:47 Creating and Saving Data in Django
01:04:34 A Django Staff User
01:10:30 Built-in Django Permissions
01:20:17 Django Lookups as Ai Agent Tools
01:33:37 Configure LLM Model with Django
01:43:42 A Django-based LangGraph Agent
01:55:58 Adding Memory to the Agent
02:00:55 Django CRUD with LangGraph Agents
02:15:26 API Client for Ai Movie Discovery Agent
02:25:31 An API-driven Ai Agent
02:36:35 Multi Agent Supervisor with LangGraph
02:45:58 A Case for Guardrails
02:50:38 Crafting Resources & Roles
03:06:04 Syncing Django Users to Permit
03:12:06 Get or Create Permit Resources
03:18:36 Creating Roles for Resources
03:26:20 Implement RBAC Guardrails for the Ai Agent
03:46:53 Thank you and next steps
Рекомендации по теме
Комментарии
Автор

Thank you for watching! Code & Chapters 👇

Chapters:
00:00:00 Welcome
00:02:53 Demo
00:12:34 Create your Django Project
00:17:18 Designing a Database Table in Django
00:27:22 Add New Database Tables with Django ORM
00:35:09 Changing Database Tables with Django Migrations
00:44:40 Django Users and Admin
00:49:56 Interactive Django with Notebooks
00:53:47 Creating and Saving Data in Django
01:04:34 A Django Staff User
01:10:30 Built-in Django Permissions
01:20:17 Django Lookups as Ai Agent Tools
01:33:37 Configure LLM Model with Django
01:43:42 A Django-based LangGraph Agent
01:55:58 Adding Memory to the Agent
02:00:55 Django CRUD with LangGraph Agents
02:15:26 API Client for Ai Movie Discovery Agent
02:25:31 An API-driven Ai Agent
02:36:35 Multi Agent Supervisor with LangGraph
02:45:58 A Case for Guardrails
02:50:38 Crafting Resources & Roles
02:59:05 Integrate Permit.io with our Django Ai Agent
03:06:04 Syncing Django Users to Permit
03:12:06 Get or Create Permit Resources
03:18:36 Creating Roles for Resources
03:20:48 Assigning Roles to Users with Permit.io
03:26:20 Implement RBAC Guardrails for the Ai Agent
03:37:00 Django Instance Level Permissions with Permit.io
03:46:53 Thank you and next steps

CodingEntrepreneurs
Автор

Universities hate you bro for making such astonishing tutorials

ituz
Автор

Whenever i need something useful aur i am stuck in development, YouTube suggested me your video. Thanks its really needed one tutorial. 😊

nothing
Автор

Thank you for this project. As someone who is just learning ML and has always been a backend developer this is gold.

femiiir
Автор

JUST ON SEMESTER BREAK .. GOING TO START DJANGO DEV. AND LOOK BRO IS HERE WITH NEW MASTERPIECE.. HATS OFF ..

emoji
Автор

Please make a streaming video using python and ai like youtube does with streams, sockets, chunking and make a chart also with add socket please please.

harshayyy
Автор

Can you take this one step further and develop the frontend + api with what you just built here?

ricknielsen
Автор

Hey rookie here, I just learned Django. I know basics and has a picture how it works but I can't implement it for project
Do you think can I do this project straight away or should I do some small projects
If I have to, which projects would you recommend

SaiSakthiM
Автор

I am new to python just start to learn, appreciate if you can do video on Lang chain video for us

regilearn
Автор

API call? So yesterday. Implement a secure, custom-built MCP and charge the customer for its use. I like it, nice job, minus the excessive abstractions.

enriquebruzual
Автор

Please can you do a video on django paypal button checkout integration with the newly updated version of paypal

ayodejiteju-ojo
Автор

Please make a tutorial microservice architecture using django, fastapi

anirudhani
join shbcf.ru