Skip to content

Added a new sample to show how to bring your own store. - #1005

Open
Sapinder Pal Singh (sapinderpalsingh) wants to merge 23 commits into
microsoft-foundry:mainfrom
sapinderpalsingh:main
Open

Sapinder Pal Singh (sapinderpalsingh) wants to merge 23 commits into
microsoft-foundry:mainfrom
sapinderpalsingh:main

Conversation

@sapinderpalsingh

Copy link
Copy Markdown

Summary

Added a Responses protocol hosted-agent sample that demonstrates how to replace all four Foundry hosting storage extension points with custom Redis-backed implementations.

Changes

  • Implemented custom stores for:
    • Responses and conversation history
    • Agent session state
    • Workflow checkpoints
    • Function approval requests
  • Added deterministic validation tools and a hosted-agent test specification that exercises all four stores, including checkpoint restoration and human approval continuation.
  • Added azd and Foundry Toolkit configuration for local development and hosted deployment.

Sithu (sithukyaw007) pushed a commit to sithukyaw007/foundry-samples that referenced this pull request Sep 21, 2026
Document support for RFC 1918 and RFC 6598 address spaces across private network Bicep and Terraform templates, including excluded CGNAT ranges and removal of outdated region-specific Class A guidance.
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@ankitbko

Copy link
Copy Markdown
Contributor

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@ankitbko

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

@ankitbko

Copy link
Copy Markdown
Contributor

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

Unresolved moderate issues remain in response-history handling and checkpoint-restoration validation.

Review effort: Lite
Findings: 1 Medium severity

Open (1)

@antriksh30

Antriksh Jain (antriksh30) commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The CI-side changes identified while validating this sample are tracked separately in #1048. That PR adds the shared REDIS_* environment passthrough and correct multi-turn Responses chaining in the hosted-agent test runner.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔧 - Generated by Copilot

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The hosted-agent persistence scenario and checkpoint restoration validation must be corrected before approval.

Review effort: Lite
Findings: None

Resolved since last review (1)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

One or more issues must be addressed before approval.

Review effort: Lite
Findings: None

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Checkpoint restoration is not exercised, and the requirements-only dependency layout needs documented justification.

2 open findings

🧠 Review effort: Lite


Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.

Comment on lines +1 to +2
agent-framework-foundry
agent-framework-foundry-hosting>=1.0.0b260813
Copilot AI lite review requested due to automatic review settings October 10, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The setup omits authentication needed by the deployment hooks, and the tests can pass without proving that the store validation tools ran.

3 open findings
1 resolved since last review

🧠 Review effort: Lite

Comment on lines +51 to +53
- source: assistant_text
type: regex
value: 'response_store=[1-9][0-9]*'
Comment on lines +132 to +136
3. Authenticate:

```bash
azd auth login
```

This branch was successfully deployed

1 active deployment
L4-validation — 63c84e8c Deployed Oct 10, 2026 by sapinderpalsingh via trusted #488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants