feat(agentserver): FoundryStorage for Activity Protocol durable state#47496
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>
|
Thank you for your contribution @shanmukha1200! We will review the pull request and get back to you soon. |
|
@shanmukha1200 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
2 similar comments
|
@shanmukha1200 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
|
@shanmukha1200 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
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>
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.