Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How to Give Your AI Agent Infinite Context with Hierarchical Memory

Chris Hay via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement advanced AI session management techniques that enable infinite context handling and sophisticated memory management within AI agent frameworks through this 22-minute tutorial. Discover how to build a comprehensive conversation manager featuring hierarchy definition, branching capabilities, and automatic conversation tracking that works seamlessly with any LLM provider. Master the creation of systems that support A/B testing of AI responses, choose-your-own-adventure style interactions, and token usage monitoring. Explore practical implementations including automatic conversation tracking, session management, conversation history retrieval, chat summarization, key point extraction, chat statistics, branching conversations, resuming branches or conversations, hierarchical sessions, infinite context handling, and direct LLM integration. Access the accompanying GitHub repositories for hands-on implementation of the chuk-llm and chuk-ai-session-manager tools to enhance your AI development projects.

Syllabus

00:00 - introduction
01:30 - automatic conversation tracking
06:08 - session manager
08:15 - get conversation history
09:00 - chat summarization
10:10 - extract key points
10:50 - chat stats
12:30 - branching conversations
14:30 - resuming branches or conversations
16:39 - hierarchal sessions
17:55 - infinite context
20:03 - working directly with llms

Taught by

Chris Hay

Reviews

Start your review of How to Give Your AI Agent Infinite Context with Hierarchical Memory

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.