# Code with Cosmos: Building Stateful and Multi-Agent Systems

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

So today we're adding memory to our multi-agent travel planner. -What happens when the user closes the app and comes back the next day? -Don't worry, Marko, it doesn't start from a blank slate. The applications and agents use the Agent Memory Toolkit APIs to persist and retrieve…

> From the original source: **YouTube — Microsoft Developer**
> [Read full article at YouTube — Microsoft Developer](https://www.youtube.com/watch?v=JD4aUQM85K8)

**Tags:** #Microsoft #YouTube

---

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