Skip to content

feat(agentserver): FoundryStorage for Activity Protocol durable state - #47496

Closed
Shanmukha Pasumarthy (shanmukha1200) wants to merge 2 commits into
Azure:hameed-kunkanoor/agentserver-activity-protocolfrom
shanmukha1200:foundry-storage-sdk
Closed

feat(agentserver): FoundryStorage for Activity Protocol durable state#47496
Shanmukha Pasumarthy (shanmukha1200) wants to merge 2 commits into
Azure:hameed-kunkanoor/agentserver-activity-protocolfrom
shanmukha1200:foundry-storage-sdk

Conversation

@shanmukha1200

Copy link
Copy Markdown
Member

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.

…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>
@github-actions github-actions Bot added Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Hosted Agents sdk/agentserver/* labels Jun 15, 2026
@github-actions

Copy link
Copy Markdown
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>
@Hameedkunkanoor
Hameed Kunkanoor (Hameedkunkanoor) deleted the branch Azure:hameed-kunkanoor/agentserver-activity-protocol July 21, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Hosted Agents sdk/agentserver/*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants