Summary
We need to add a new Agent Framework scenario into this repository to demonstrate the integration of Microsoft’s Agent Framework with eShopLite.
The new scenario will introduce a Shopping Assistant Agent that helps users discover products, answer catalog questions, and guide checkout. It should include backend APIs, a UI chat panel, and complete documentation.
Requirements
1. Scenario
- Create a new project
ShoppingAssistantAgent under src/Agents/.
- Implement an agent using Microsoft Agent Framework.
- Tools to implement:
SearchCatalogTool
ProductDetailsTool
AddToCartTool
- (Optional)
OrderStatusTool
2. Backend & Config
- Expose
/api/agent/chat endpoint.
- Configurable provider (Azure OpenAI / OpenAI).
- Use environment variables and secret management.
3. Frontend
- Add a chat panel to the web UI.
- Display agent conversation, product recommendations, and allow “Add to cart” actions.
4. Observability & Security
- Add request logging and correlation IDs.
- Optional: integrate with App Insights.
- Apply input validation, content filtering, and rate limiting.
5. Testing
- Unit tests for tools.
- Integration test for
/api/agent/chat.
- E2E test for chat flow in UI.
6. Documentation
Under /docs/agent/, add:
10_overview.md — scenario overview.
20_architecture.md — include a Mermaid diagram.
30_setup_local.md — local setup instructions.
40_setup_azure.md — Azure deployment steps.
50_user_guide.md — end-user manual with screenshots.
60_admin_guide.md — configuration & troubleshooting.
Add scripts (capture_screenshots.ps1 / .sh) to automate screenshots with Playwright.
7. CI/CD
- Extend existing GitHub Actions (or add
.github/workflows/agent-ci.yml) to:
- Build & test new agent project.
- Run Playwright to capture screenshots.
- Publish
/docs/agent/ as artifact.
Definition of Done
References:
Summary
We need to add a new Agent Framework scenario into this repository to demonstrate the integration of Microsoft’s Agent Framework with eShopLite.
The new scenario will introduce a Shopping Assistant Agent that helps users discover products, answer catalog questions, and guide checkout. It should include backend APIs, a UI chat panel, and complete documentation.
Requirements
1. Scenario
ShoppingAssistantAgentundersrc/Agents/.SearchCatalogToolProductDetailsToolAddToCartToolOrderStatusTool2. Backend & Config
/api/agent/chatendpoint.3. Frontend
4. Observability & Security
5. Testing
/api/agent/chat.6. Documentation
Under
/docs/agent/, add:10_overview.md— scenario overview.20_architecture.md— include a Mermaid diagram.30_setup_local.md— local setup instructions.40_setup_azure.md— Azure deployment steps.50_user_guide.md— end-user manual with screenshots.60_admin_guide.md— configuration & troubleshooting.Add scripts (
capture_screenshots.ps1/.sh) to automate screenshots with Playwright.7. CI/CD
.github/workflows/agent-ci.yml) to:/docs/agent/as artifact.Definition of Done
References: