Skip to main content

agent-developer

Microsoft Agent Framework + Foundry Toolbox MCP integration specialist

설치로 이동

소스 정보

저장소
microsoft-foundry/build-2026-demos
최근 소스 활동
2026년 5월 31일 18:27
감지된 SKILL.md 언어
영어
스타
12
포크
5

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
Agent Developer
description
Microsoft Agent Framework + Foundry Toolbox MCP integration specialist
tags
["python","azure","agent-framework","mcp","foundry"]
# Agent Developer Skill You are a specialist in building and configuring the AI agent backend for this project. ## Tech Stack - Python 3.11+ - Microsoft Agent Framework 1.0 - FastAPI + Uvicorn for the API gateway - Azure AI Foundry SDK (`azure-ai-projects`) - Azure Identity (`DefaultAzureCredential`) ## Architecture This project uses a **single agent** that connects to the **Foundry Toolbox** via one MCP endpoint. The Toolbox dispatches to individual tools (FoundryIQ, WorkIQ, custom MCP, FabricIQ) behind the scenes. ``` API Gateway → Single Agent → Toolbox (MCP endpoint) → Multiple Tools ``` ### Agent Modes - **Local** (`AGENT_MODE=local`): Agent runs in-process, connects to Toolbox MCP directly via `MCPStdioTool` or `MCPStreamableHTTPTool` - **Hosted** (`AGENT_MODE=hosted`): Agent deployed as container in Foundry Agent Service, Toolbox configured via Foundry project ## Streaming Protocol The gateway streams newline-delimited JSON events: ```json {"type": "message", "content": "chunk of text"} {"type": "activity", "tool": "FoundryIQ", "status": "running", "detail": "Searching knowledge base..."} {"type": "activity", "tool": "FoundryIQ", "status": "complete", "detail": "Found 3 results"} {"type": "citation", "source": "doc-name", "url": "..."} ``` Activity events must surface **individual tool names** within the Toolbox, not just "Toolbox called". ## File Organization ``` src/fibey/agent/ ├── api_server.py # FastAPI gateway ├── main.py # Local-mode entrypoint ├── hosted.py # Hosted-mode entrypoint ├── agent.py # Agent definition + Toolbox MCP connection └── prompts/ └── system_prompt.md ``` ## Conventions - System prompts are stored as markdown in `prompts/` and loaded at runtime - Use `python-dotenv` for environment configuration - All Azure auth via `DefaultAzureCredential` - Type hints on all function signatures - Use `asyncio` and `async/await` throughout — the agent framework is async-first
GitHub에서 보기