Uploaded May 2026 | Updated September 2026, 2 weeks ago
In this clip from Bill's Ultimate AI Workshop, Bill walks through "step one" of building a custom AI chat agent before diving into more advanced concepts like tool calling. He covers how to establish a basic chat server that connects to an OpenAI-compatible model server. You will learn how to capture terminal input, format the client data, and stream model responses back in real-time using Server-Side Events (SSE).
Bill goes on to explain how to maintain message history locally so your AI remembers the conversation. Because the model server doesn't retain state on its own, he demonstrates how to store user inputs and assistant responses in a conversation slice, passing the full context window back to the model with every new prompt.
What you'll learn in this clip:
• Building a basic AI chat client
• Streaming responses in real-time
• Managing conversation history locally
• Verifying context memory in action
---
Explore more from Ardan Labs
Online Courses: ardanlabs.com/education
Live Training Events: ardanlabs.com/live-training-events
Technical Blog: ardanlabs.com/blog
Github: github.com/ardanlabs
---
Connect with Ardan Labs
Website: ardanlabs.com
X: https://x.com/ardanlabs
LinkedIn: linkedin.com/company/ardanlabs
Kronk AI: kronkai.com
#AIChatAgent #golang #llm #sse #machinelearning
In this clip from Bill's Ultimate AI Workshop, Bill walks through "step one" of building a custom AI chat agent before diving into more advanced concepts like tool calling. He covers how to establish a basic chat server that connects to an OpenAI-compatible model server. You will learn how to capture terminal input, format the client data, and stream model responses back in real-time using Server-Side Events (SSE).
Bill goes on to explain how to maintain message history locally so your AI remembers the conversation. Because the model server doesn't retain state on its own, he demonstrates how to store user inputs and assistant responses in a conversation slice, passing the full context window back to the model with every new prompt.
What you'll learn in this clip:
• Building a basic AI chat client
• Streaming responses in real-time
• Managing conversation history locally
• Verifying context memory in action
---
Explore more from Ardan Labs
Online Courses: ardanlabs.com/education
Live Training Events: ardanlabs.com/live-training-events
Technical Blog: ardanlabs.com/blog
Github: github.com/ardanlabs
---
Connect with Ardan Labs
Website: ardanlabs.com
X: https://x.com/ardanlabs
LinkedIn: linkedin.com/company/ardanlabs
Kronk AI: kronkai.com
#AIChatAgent #golang #llm #sse #machinelearning










