# 使用 Cosmos 编写代码：构建有状态的多代理系统

> 全文为英语

**Published:** 2026年10月22日
**Author:** Microsoft Developer
**Source:** YouTube — Microsoft Developer
**Language:** en-US
**HTML:** https://aiqazaqstan.com/zh/articles/code-with-cosmos-building-stateful-and-multi-agent-systems

因此，今天我们要为我们的多代理旅行计划程序添加内存。 - 当用户关闭应用程序并在第二天返回时会发生什么？ -别担心，Marko，一切都不是从零开始的。应用程序和代理使用代理内存工具包 API 来保存和检索...

> 内容来自原始来源： **YouTube — Microsoft Developer**
> [在 YouTube — Microsoft Developer 阅读全文](https://www.youtube.com/watch?v=JD4aUQM85K8)

**标签：** #Microsoft #YouTube

---

*AI Qazaqstan — non-commercial informational portal about AI in Kazakhstan. Machine translations and summaries are AI-generated.*