Chuyển đến nội dung chính
megaphone icon

AI Dev Days Hackathon

Build production‑ready AI during our global hack using Microsoft’s latest AI, agent, and dev tools to solve real‑world problems and compete for prizes.

HỌC HỎI, KẾT NỐI, XÂY DỰNG

Microsoft Reactor

Tham gia Microsoft Reactor và tương tác trực tiếp với các nhà phát triển

Bạn đã sẵn sàng bắt đầu với AI và các công nghệ mới nhất chưa? Microsoft Reactor cung cấp các sự kiện, đào tạo và tài nguyên cộng đồng để giúp các nhà phát triển, doanh nhân và công ty khởi nghiệp xây dựng dựa trên công nghệ AI và hơn thế nữa. Tham gia với chúng tôi!

HỌC HỎI, KẾT NỐI, XÂY DỰNG

Microsoft Reactor

Tham gia Microsoft Reactor và tương tác trực tiếp với các nhà phát triển

Bạn đã sẵn sàng bắt đầu với AI và các công nghệ mới nhất chưa? Microsoft Reactor cung cấp các sự kiện, đào tạo và tài nguyên cộng đồng để giúp các nhà phát triển, doanh nhân và công ty khởi nghiệp xây dựng dựa trên công nghệ AI và hơn thế nữa. Tham gia với chúng tôi!

Quay lại

Python + Agents: Adding context and memory to agents

25 tháng 2, 2026 | 6:30 CH - 7:30 CH (UTC) Giờ phối hợp quốc tế

  • Định dạng:
  • alt##LivestreamPhát trực tiếp

Chủ đề: Agents

Ngôn ngữ: Tiếng Anh

In the second session of our Python + Agents series, we’ll extend agents built with the Microsoft Agent Framework by adding two essential capabilities: context and memory.

We’ll begin with context, commonly known as Retrieval‑Augmented Generation (RAG), and show how agents can ground their responses using knowledge retrieved from local data sources such as SQLite or PostgreSQL.

This enables agents to provide accurate, domain‑specific answers based on real information rather than model hallucination. Next, we’ll explore memory—both short‑term, thread‑level context and long‑term, persistent memory.

You’ll see how agents can store and recall information using solutions like Redis or open‑source libraries such as Mem0, enabling them to remember previous interactions, user preferences, and evolving tasks across sessions.

By the end, you’ll understand how to build agents that are not only capable but context‑aware and memory‑efficient, resulting in richer, more personalized user experiences.

Điều kiện tiên quyết

To follow along with the live examples, sign up for a free GitHub account. If you are brand new to generative AI with Python, start with our our 9-part Python + AI series, which covers LLMs, embedding models, RAG, tool calling, MCP, and more.

Người phát biểu

Bạn đã đăng ký và cần hủy? Hủy đăng ký

Đăng ký

Đăng nhập bằng Tài khoản Microsoft của bạn

Đăng nhập

Hoặc nhập địa chỉ email của bạn để đăng ký

*

Bằng cách đăng ký sự kiện này, bạn đồng ý tuân thủ Quy tắc ứng xử của lò phản ứng Microsoft.

Các phần của trang này có thể được dịch bằng máy hoặc AI.