Designing AI Agents: Context Window and Token Management Fundamentals
Learn how to handle token limits, manage agent run loops, and compact conversation history to build efficient and reliable AI agents.
เกี่ยวกับคอร์สนี้
As AI agents engage in longer, more complex conversations, managing the context window becomes a critical challenge to prevent execution errors and control API costs. This course guides you through the foundational concepts of token limits, tracking context usage, and optimizing your agent's memory. You will transition from writing simple scripts to designing robust, state-aware AI agents that intelligently manage their own conversational history.
What you'll learn:
- Understand the fundamentals of tokenization and how large language models process context.
- Track token usage dynamically within an active agent run loop.
- Apply conversation compacting and summarization strategies when thresholds are reached.
- Implement sliding window techniques to maintain relevant history without exceeding limits.
- Configure fallback mechanisms for handling unexpected token overflows.
You will start with core definitions and token calculations before moving into step-by-step code structures for run loops and memory management. The material focuses on clear written explanations and practical code snippets that you can adapt to any modern LLM framework. This course is designed for beginner AI developers and programmers transitioning to agentic workflows, with no prior AI agent experience required. Start reading today to master the essentials of efficient AI memory architecture.
สิ่งที่คุณจะได้รับ
-
📜
ใบประกาศนียบัตร
เพิ่มในโปรไฟล์ LinkedIn ของคุณ -
💬
ติวเตอร์ AI ส่วนตัว
ติดขัดในบทเรียน? ถามติวเตอร์ในตัวของคุณได้ทุกอย่าง ทุกเวลา -
🎧
รวมเวอร์ชันเสียง
เรียนได้ทุกที่ ไม่ต้องดูจอ -
♾️
เข้าถึงตลอดชีพ
กลับมาเรียนได้ตลอด ไม่มีหมดอายุ -
📱
โทรศัพท์หรือคอมพิวเตอร์
ใช้งานได้ทุกที่ ทุกอุปกรณ์ -
💸
คืนเงิน 14 วัน
ไม่ต้องอธิบาย -
⚡
กระชับและตรงประเด็น
1 ชม. 34 นาที เนื้อหาเชิงปฏิบัติ
รีวิว
ยังไม่มีรีวิว — เป็นคนแรกที่แชร์ประสบการณ์
ผู้เรียนคนอื่นเรียน
🏆 ยอดนิยมมากที่สุด
🎓 มีใบรับรอง
Claude AI Proficiency: วิศวกรรมแบบกระตุ้นและอัตโนมัติ
ใบรับรอง
ลงมือทำ
150,00 kr
→
🌟 ที่นิยมในหมู่ผู้เรียน
🎓 มีใบรับรอง
การเขียนโปรแกรมภาษาไพธอนและการรวมเข้ากับ AI สำหรับผู้เริ่มต้น
ใบรับรอง
ลงมือทำ
150,00 kr
→
🔥 เป็นที่ต้องการ
🎓 มีใบรับรอง
วิศวกรรม QA และทดสอบซอฟต์แวร์ด้วย AI
ใบรับรอง
ลงมือทำ
150,00 kr
→
🏆 ยอดนิยมมากที่สุด
🎓 มีใบรับรอง
การพัฒนาซอฟต์แวร์สมัยใหม่ด้วย AI สำหรับผู้เริ่มต้น
ใบรับรอง
ลงมือทำ
150,00 kr
→
คำถามที่พบบ่อย
ฉันต้องใช้อะไรในการเรียนคอร์สนี้? +
แค่โทรศัพท์หรือคอมพิวเตอร์ที่มีอินเทอร์เน็ต ไม่ต้องติดตั้งหรือใช้อุปกรณ์พิเศษ
ฉันชำระเงินอย่างไร? +
ผ่านบัตรด้วย Stripe เราไม่เก็บข้อมูลบัตร — Stripe จัดการอย่างปลอดภัย
ฉันขอคืนเงินได้ไหม? +
ใช่ — คืนเงินเต็มจำนวนใน 14 วัน ไม่ต้องอธิบาย
ฉันมีสิทธิ์เข้าถึงนานเท่าไร? +
ตลอดไป เมื่อซื้อแล้วคอร์สเป็นของคุณ กลับมาเรียนได้ตลอด
ฉันจะได้ใบประกาศนียบัตรไหม? +
ได้ เมื่อเรียนจบจะได้รับใบประกาศนียบัตรที่เพิ่มในโปรไฟล์ LinkedIn ได้
ออกแบบสำหรับผู้เรียนใน
เทคโนโลยี
ดีไซน์
การเงิน
การตลาด
สาธารณสุข
การศึกษา
ธุรกิจการบริการ
อุตสาหกรรม
×2
เติมครั้งเดียว จ่ายครึ่งเดียว
เพิ่ม 700 kr → รับ 200 เครดิต แต่ละคลาสราคา 87,50 kr แทน 150,00 kr เครดิตไม่มีวันหมดอายุ
700 kr
200 เครดิต
87,50 kr / คลาส
คุ้มที่สุด
1.800 kr
550 เครดิต
81,82 kr / คลาส
3.500 kr
1200 เครดิต
72,92 kr / คลาส
ไม่มีการสมัครสมาชิก เครดิตใช้ได้กับทุกคลาสและไม่หมดอายุ