microsoft-toolbox
Help a learner use Microsoft Toolbox to define tools once and govern them centrally, then consume a toolbox from an agent through a single MCP endpoint. Use for Lesson 6 tasks: tool discovery, registration, governance, and versioning.
- License 许可
- MIT
- 最近更新
- 2026-10-31
- Stars
- ★ 198
- Forks
- 72
01 前言 Front Matter
- name
- microsoft-toolbox
- description
- Help a learner use Microsoft Toolbox to define tools once and govern them centrally, then consume a toolbox from an agent through a single MCP endpoint. Use for Lesson 6 tasks: tool discovery, registration, governance, and versioning.
03 SKILL.md 正文
Microsoft Toolbox
Guidance for centralised tool governance (Lesson 6).
Guardrails (always apply)
- Terminology: Microsoft Toolbox (define/govern tools centrally), consumed by agents over an MCP endpoint.
- The consume side works with the pinned
agent-frameworkSDK. The Toolbox management API (project.toolboxes.*) is preview and is not in the pinned SDK — call this out and avoid presenting it as GA. - Endpoint via
TOOLBOX_ENDPOINTin.env; auth viaaz login.
Concepts a learner should grasp
- Why a toolbox: define a tool once, govern it centrally (access, versioning, approvals), and let many agents consume it — instead of each agent re-implementing tools.
- Consume via one MCP endpoint: an agent points at the toolbox's MCP endpoint and gets its governed tools, rather than wiring each tool individually.
- Governance & versioning: central control makes it safe to update or retire a tool without breaking every agent.
Worked example in this repo
lesson-6-toolbox/toolbox_agent.pyis the consume sample: it reaches a toolbox through a single MCP endpoint and uses its tools. Use it as the reference.
How to help
- Start from
toolbox_agent.py; adapt the toolbox endpoint. - If the learner asks to create/manage toolboxes in code, explain the management API is preview and may require a newer SDK than the pinned one; prefer the portal/preview docs and keep the sample on the consume side.
Validate
python -m py_compile lesson-6-toolbox/toolbox_agent.py.- The agent should discover and call at least one governed tool via the toolbox endpoint.
References
lesson-6-toolbox/README.md
04 同仓库更多 Skills
multi-agent-a2a
Help a learner compose agents as networked services using the open Agent-to-Agent (A2A) protocol — expose an agent as an A2A server and consume a remote agent as a peer. Use for Lesson 7 tasks: multi-agent orchestration and A2A client/server wiring.
mcp-integration
Help a learner give an agent tools through the Model Context Protocol (MCP) — both client-side MCP and Foundry Hosted MCP tools. Use when connecting an agent to an MCP server (e.g. the GitHub MCP server), adding a remote tool, or reasoning about MCP approval/governance.
hosted-agent-deployment
Help a learner deploy an agent to production as a Microsoft Foundry Hosted Agent, and decide when Capability Hosts are needed. Use for Lessons 4–5: hosted deployment, thread/memory persistence, bring-your-own storage, and enterprise governance.
foundry-agent-basics
Help a learner build their first AI agent with the Microsoft Agent Framework (MAF) on Microsoft Foundry. Use when the task is creating a basic agent, wiring up FoundryChatClient, choosing a model, running the DevUI, or understanding lesson 1–2 concepts (instructions, tools, threads).
agent-evaluation
Help a learner evaluate and observe an AI agent on Microsoft Foundry — quality/safety evaluators, tracing, and reading results. Use for Lesson 3 tasks: measuring agent performance, adding observability, or interpreting evaluation output.