Clarify sample maturity tiers and add durable-state reference samples - #641
Clarify sample maturity tiers and add durable-state reference samples#641andrewmatkin wants to merge 35 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- New Tier 2 sample: samples/dotnet/persistent-state - PersistentState.csproj references Microsoft.Agents.Storage.Blobs 1.5.* - Program.cs reads AZURE_BLOB_STORAGE_CONNECTION_STRING (fail-fast) and AZURE_BLOB_STORAGE_CONTAINER_NAME (default: agents-persistent-state), registers BlobsStorage as IStorage singleton - MyAgent.cs uses turnState.Conversation.GetValue/SetValue to maintain a per-conversation message counter across restarts - AspNetExtensions.cs, appsettings.json, launchSettings.json copied from QuickStart to preserve local auth and launch behavior - README follows SAMPLE_README_TEMPLATE.md; covers local connection string setup, Azurite emulation, container naming rules, verify steps, and managed identity / workload identity as the cloud deployment path - Project added to samples/dotnet/Samples.sln Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- nodejs/persistent-state: fix broken Next starter link from ../multiagent/README.md to ../multi-turn-prompt/README.md - python/persistent-state: fix broken Next starter link from ../multi-turn-prompt/README.md (path does not exist) to ../semantic-kernel-multiturn/README.md - nodejs/README.md: move Persistent State row before Copilot SDK Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
# Conflicts: # samples/dotnet/README.md # samples/dotnet/Samples.sln # samples/nodejs/README.md
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsoft-github-policy-service agree company="Microsoft" |
|
Any reason that using state couldn't be incorporated into another example? For example, quickstart? |
|
Why do we need a Blobs specific storage options in the production-reference? As opposed to: https://learn.microsoft.com/en-us/microsoft-365/agents-sdk/storage?tabs=csharp |
|
I'm generally OK with the idea of a sample that shows a complete production bot. It should be coupled with a doc, which would include things like "how to secure your agent" (there is a dotnet version in PR), include the existing doc on registering persistent storage, etc... Then preferably a Claude/Copilot skill to aid in adding production features to an agent (see #653) |
Summary
Closes #640
Validation
pm run --prefix samples\nodejs\persistent-state build
pm run lint -- --quiet
pm run validate-plugin