Lesson W7.1.2 "An agent with the Agents SDK" built the connection: ChatTurn checks the message, IQuoteChat answers, so far with an echo. Now the quote agent from T7 comes behind the port. Three things need rules of their own: Its memory (the AgentSession) belongs to one person and must not stay forever. It sometimes answers at length. And it sometimes fails without the person being meant to see internals.

What you bring: Kladde.Agents from T7 (QuoteAgent, QuoteApprovals), lesson T7.5 "Memory" and Kladde.M365 from the previous lesson.

State of the checks

Nothing here ran against a tenant, Teams or Azure.

  • Built and tested (helper project outside the repository, .NET 10, xunit v3, Shouldly, warnings as errors): QuoteChatService with the ports IQuoteAgentRun and IChatSessionStore, SessionKeys, MessageChunker and the tests with their solutions. Together with W7.1.2, 22 tests ran without errors, exit code 0.
  • Not built: ChatClientAgentRun (needs the T7 types; its calls come from T7.3 and T7.5), the adapter over IStorage, the changes to KladdeAgentApp. Streaming and the AI label were read, not built.