본문으로 건너뛰기
cccskills
무료GitHub에 공개

agent-framework

Create AI agents and workflows using Microsoft Agent Framework SDK. Supports single-agent and multi-agent workflow patterns. USE FOR: create agent, build agent, scaffold agent, new agent, agent framework, workflow pattern, multi-agent, MCP tools, create workflow. DO NOT USE FOR: deploying ...

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Azure
설치 방법 보기

포함된 파일(7)

  • SKILL.md6.5 KB
  • references/agent-as-server.md3.1 KB
  • references/agent-samples.md3.3 KB
  • references/debug-setup.md6.6 KB
  • references/workflow-agents.md2.8 KB
  • references/workflow-basics.md2.3 KB
  • references/workflow-foundry.md3.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Create Agent with Microsoft Agent Framework

Build AI agents, agentic apps, and multi-agent workflows using Microsoft Agent Framework SDK.

Quick Reference

PropertyValue
SDKMicrosoft Agent Framework (Python)
PatternsSingle Agent, Multi-Agent Workflow
ServerAzure AI Agent Server SDK (HTTP)
DebugAI Toolkit Agent Inspector + VSCode
Best ForEnterprise agents with type safety, checkpointing, orchestration

When to Use This Skill

Use when the user wants to:

  • Create a new AI agent or agentic application
  • Scaffold an agent with tools (MCP, function calling)
  • Build multi-agent workflows with orchestration patterns
  • Add HTTP server mode to an existing agent
  • Configure F5/debug support for VSCode

Defaults

  • Language: Python
  • SDK: Microsoft Agent Framework (pin version 1.0.0b260107)
  • Server: HTTP via Azure AI Agent Server SDK
  • Environment: Virtual environment (create or detect existing)

References

TopicFileDescription
Server Patternreferences/agent-as-server.mdHTTP server wrapping (production)
Debug Setupreferences/debug-setup.mdVS Code configs for Agent Inspector
Agent Samplesreferences/agent-samples.mdSingle agent, tools, MCP, threads
Workflow Basicsreferences/workflow-basics.mdExecutor types, handler signatures, edges, WorkflowBuilder — start here for any workflow
Workflow Agentsreferences/workflow-agents.mdAgents as executor nodes, linear pipeline, run_stream event consumption
Workflow Foundryreferences/workflow-foundry.mdFoundry agents with bidirectional edges, loop control, register_executor factories

💡 Tip: For advanced patterns (Reflection, Switch-Case, Fan-out/Fan-in, Loop, Human-in-Loop), search microsoft/agent-framework on GitHub.

MCP Tools

This skill delegates to microsoft-foundry MCP tools for model and project operations:

ToolPurpose
foundry_models_listBrowse model catalog for selection
foundry_models_deployments_listList deployed models for selection
foundry_resource_getGet project endpoint

Creation Workflow

  1. Gather context (read agent-as-server.md + debug-setup.md + code samples)
  2. Select model & configure environment
  3. Implement agent/workflow code + HTTP server mode + .vscode/ configs
  4. Install dependencies (venv + requirements.txt)
  5. Verify startup (Run-Fix loop)
  6. Documentation

Step 1: Gather Context

Read reference files based on user's request:

Always read these references:

  • Server pattern: agent-as-server.md (required — HTTP server is the default)
  • Debug setup: debug-setup.md (required — always generate .vscode/ configs)

Read the relevant code sample:

  • Code samples: agent-samples.md, workflow-basics.md, workflow-agents.md, or workflow-foundry.md

Model Selection: Use microsoft-foundry skill's model catalog to help user select and deploy a model.

Recommended: Search microsoft/agent-framework on GitHub for advanced patterns.

Step 2: Select Model & Configure Environment

Decide on the model BEFORE coding.

If user hasn't specified a model, use microsoft-foundry skill to list deployed models or help deploy one.

ALWAYS create/update .env file:

FOUNDRY_PROJECT_ENDPOINT=<project-endpoint>
FOUNDRY_MODEL_DEPLOYMENT_NAME=<model-deployment-name>
  • Standard flow: Populate with real values from user's Foundry project
  • Deferred Config: Use placeholders, remind user to update before running

Step 3: Implement Code

All three are required by default:

  1. Agent/Workflow code: Use gathered context to structure the agent or workflow
  2. HTTP Server mode: Wrap with Agent-as-Server pattern from agent-as-server.md — this is the default entry point
  3. Debug configs: Generate .vscode/launch.json and .vscode/tasks.json using templates from debug-setup.md

⚠️ Warning: Only skip server mode or debug configs if the user explicitly requests a "minimal" or "no server" setup.

Step 4: Install Dependencies

  1. Generate/update requirements.txt
# pin version to avoid breaking changes

# agent framework
agent-framework-azure-ai==1.0.0b260107
agent-framework-core==1.0.0b260107

# agent server (for HTTP server mode)
azure-ai-agentserver-core==1.0.0b10
azure-ai-agentserver-agentframework==1.0.0b10

# debugging support
debugpy
agent-dev-cli
  1. Use a virtual environment to avoid polluting the global Python installation

⚠️ Warning: Never use bare python or pip — always use the venv-activated versions or full paths (e.g., .venv/bin/pip).

Step 5: Verify Startup (Run-Fix Loop)

Enter a run-fix loop until no startup errors:

  1. Run the main entrypoint using the venv's Python (e.g., .venv/Scripts/python main.py on Windows, .venv/bin/python main.py on macOS/Linux)
  2. If startup fails: Fix error → Rerun
  3. If startup succeeds: Stop server immediately

Guardrails:

  • ✅ Perform real run to catch startup errors
  • ✅ Cleanup after verification (stop HTTP server)
  • ✅ Ignore environment/auth/connection/timeout errors
  • ❌ Don't wait for user input
  • ❌ Don't create separate test scripts
  • ❌ Don't mock configuration

Step 6: Documentation

Create/update README.md with setup instructions and usage examples.

Error Handling

ErrorCauseResolution
ModuleNotFoundErrorMissing SDKRun pip install agent-framework-azure-ai==1.0.0b260107 in venv
AgentRunResponseUpdate not foundWrong SDK versionPin to 1.0.0b260107 (breaking rename in newer versions)
Agent name validation errorInvalid charactersUse alphanumeric + hyphens, start/end with alphanumeric, max 63 chars
Async credential errorWrong importUse azure.identity.aio.DefaultAzureCredential (not azure.identity)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

_shared

무료

Shared SDD references for installed skills. Not invokable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

JantonioFC/skillsbank92026년 8월 4일 업데이트

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

JantonioFC/skillsbank92026년 8월 4일 업데이트

007

무료

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

JantonioFC/skillsbank92026년 8월 4일 업데이트

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

JantonioFC/skillsbank92026년 8월 4일 업데이트

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

JantonioFC/skillsbank92026년 8월 4일 업데이트

2d-games

무료

2D game development principles. Sprites, tilemaps, physics, camera.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

JantonioFC/skillsbank92026년 8월 4일 업데이트

JantonioFC의 스킬 모두 보기

이 스킬의 문제 신고