In this video, I'll show you how to create real-time agent applications using FastAPI and the WebSocket protocol.
This is the fourth episode of PhiloAgents, the open-source course where you'll build an AI agent simulation engine that brings historical philosophers to life in an interactive game environment.
Check the previous episodes here:
Episode 1: • Simulating a village of AI Philosophers - ...
Episode 2: • LangGraph made these NPCs too smart - Phil...
Episode 3: • Building Agent Memory with LangGraph and M...
Check out the code here:
💻 https://github.com/neural-maze/philoa...
––––––––––––––––––––––––––––––
Check out Paul Iusztin's Substack here:
📩 Substack - https://decodingml.substack.com/
––––––––––––––––––––––––––––––
If you like this content, you can also follow me here:
📩 Substack - https://theneuralmaze.substack.com/
💼 LinkedIn - / migueloteropedrido
💻 GitHub - https://github.com/MichaelisTrofficus
🐦 Twitter - https://x.com/moteropedrido
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
0:00 Introduction
1:36 WebSockets in a nutshell
7:54 FastAPI application
10:29 Test request (HTTP)
11:34 WebSockets endpoint (code)
14:52 WebSockets Client (game UI)
17:43 Conclusion
––––––––––––––––––––––––––––––
/ mehulchoudhary
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3wVnIXs
Music promoted by Audio Library https://bit.ly/3TDW3TT
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
Carefree by Kevin MacLeod http://incompetech.com
Creative Commons — Attribution 4.0 International — CC BY 4.0
Free Download / Stream: https://bit.ly/_carefree
Music promoted by Audio Library • Carefree – Kevin MacLeod (No Copyrigh...
––––––––––––––––––––––––––––––