feat(agentserver): FoundryStorage for Activity Protocol durable state - #47496
Closed
Shanmukha Pasumarthy (shanmukha1200) wants to merge 2 commits into
Conversation
…tate Add a Foundry-backed implementation of the M365 Agents SDK Storage abstraction so Activity Protocol agents can persist conversation/user state and proactive references in Foundry-managed Cosmos storage. - core: async Activity-state REST transport client + settings, error mapping, serializer, and masked logging policy under azure-ai-agentserver-core/storage (read/write/delete batch envelopes; POST /storage/activity/state:read|:write|:delete?api-version=v1) - activity: FoundryStorage(Storage) adapter; ActivityAgentServerHost gains a storage= arg wired through the M365 bridge into Authorization / AgentApplication (falls back to MemoryStorage) - samples: foundry_storage_state_agent (durable state) and foundry_storage_proactive_agent (proactive reference) - tests for transport client and adapter/bridge wiring; docs updated Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
Thank you for your contribution Shanmukha Pasumarthy (@shanmukha1200)! We will review the pull request and get back to you soon. |
Add a simple sample that persists the full conversation transcript with FoundryStorage by appending each turn to a history list in conversation state. Includes /history and /clear commands; updates samples README. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hameed Kunkanoor (Hameedkunkanoor)
deleted the branch
Azure:hameed-kunkanoor/agentserver-activity-protocol
July 21, 2026 12:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #47489 (hameed-kunkanoor/agentserver-activity-protocol); review/merge after #47489, then rebase to main.
Adds a Foundry-backed implementation of the M365 Agents SDK Storage abstraction. core: async Activity-state REST transport (POST /storage/activity/state:read|:write|:delete?api-version=v1). activity: FoundryStorage(Storage) adapter + ActivityAgentServerHost(storage=...) wired through the M365 bridge (falls back to MemoryStorage). Samples for durable state and proactive. Tests: core 103 pass/5 skip, activity 32 pass. Known gaps: activity pylint pre-existing debt; mypy blocked by feed 401. Pairs with vienna server PR #2151881.