Skip to content

Add toolbox samples: LangGraph, MAF, and Copilot SDK with Foundry too…#649

Closed
lindazqli wants to merge 9 commits intomainfrom
zhuoqunli/add-toolbox-samples
Closed

Add toolbox samples: LangGraph, MAF, and Copilot SDK with Foundry too…#649
lindazqli wants to merge 9 commits intomainfrom
zhuoqunli/add-toolbox-samples

Conversation

@lindazqli
Copy link
Copy Markdown
Contributor

…lbox MCP

Three hosted agent implementations wired to Azure AI Foundry toolbox MCP:

  • langgraph/: LangGraph ReAct agent with OAuth consent handling and tool schema sanitization
  • maf/: Microsoft Agent Framework agent using MCPStreamableHTTPTool
  • copilot-sdk/: GitHub Copilot SDK agent with toolbox MCP and local skills

Also includes:

  • sample_toolboxes_crud.py: Comprehensive SDK samples for all toolbox CRUD operations (MCP, OpenAPI, A2A, File Search, AI Search, Web Search, Code Interpreter)
  • SUPPORTED_TOOLBOX_TOOLS.md: Tool support matrix and auth reference
  • .env.sample: Template environment configuration

…lbox MCP

Three hosted agent implementations wired to Azure AI Foundry toolbox MCP:
- langgraph/: LangGraph ReAct agent with OAuth consent handling and tool schema sanitization
- maf/: Microsoft Agent Framework agent using MCPStreamableHTTPTool
- copilot-sdk/: GitHub Copilot SDK agent with toolbox MCP and local skills

Also includes:
- sample_toolboxes_crud.py: Comprehensive SDK samples for all toolbox CRUD operations
  (MCP, OpenAPI, A2A, File Search, AI Search, Web Search, Code Interpreter)
- SUPPORTED_TOOLBOX_TOOLS.md: Tool support matrix and auth reference
- .env.sample: Template environment configuration
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

👋 Thanks for your interest in contributing, @lindazqli!

This repository does not accept pull requests directly. If you'd like to report a bug, suggest an improvement, or propose a new sample, please open an issue instead.

See CONTRIBUTING.md for more details.

@github-actions github-actions bot closed this Apr 9, 2026
@lindazqli lindazqli reopened this Apr 9, 2026
lindazqli and others added 8 commits April 9, 2026 01:49
…ring sanitization'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ring sanitization'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

# ── Configuration ─────────────────────────────────────────────────────────────

PROJECT_ENDPOINT = os.getenv("AZURE_AI_PROJECT_ENDPOINT")
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.

Align these to the latest samples for MAF, reach out to @eamonoreilly for the link

This sample does not use the latest version of MAF, there should be no openai endpoint, it should just be FoundryChatClient( ) pointed at the project endpoint

@lindazqli lindazqli closed this Apr 10, 2026
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.

3 participants