本文へ移動
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 agents (use agent/deploy), evaluating agents (use agent/evaluate), Azure AI Foundry agents without Agent Framework SDK.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md6.6 KB
  • metadata.json863 B

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)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when you need to install the embedded robot agents into either .cursor/agents or .claude/agents, selecting the destination interactively and copying the embedded agent definitions from project assets. This should trigger for requests such as Install embedded agents; Bootstrap .cursor/agents; Bootstrap .claude/agents; Copy robot agents. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

majiayu000/claude-skill-registry-data262026年10月11日 更新

Use when you need to generate an AGENTS.md file for a Java repository — covering project conventions, tech stack, file structure, commands, Git workflow, and contributor boundaries — through a modular, step-based interactive process that adapts to your specific project needs. This should trigger for requests such as Create AGENTS.md; Update AGENTS.md file; Add agent instructions. Part of cursor-rules-java project

日本語の概要は準備中です。原文の説明を表示しています。

majiayu000/claude-skill-registry-data262026年10月11日 更新

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape. Activate on "find expungement data", "scrape state laws", "legal research", "court URLs", "statute sources", "Clean Slate laws", "automatic expungement research". NOT for interpreting laws (use national-expungement-expert), building UI, or legal advice.

日本語の概要は準備中です。原文の説明を表示しています。

majiayu000/claude-skill-registry-data262026年10月11日 更新

Generated by Gremlin Forge Meta-Agent 🍆👾⚡

日本語の概要は準備中です。原文の説明を表示しています。

majiayu000/claude-skill-registry-data262026年10月11日 更新

Work autonomously without waiting for hand-holding — complete tasks end-to-end without asking for permission at every step.

日本語の概要は準備中です。原文の説明を表示しています。

majiayu000/claude-skill-registry-data262026年10月11日 更新

abmahnung

無料

Entwurf einer BAG-konformen Abmahnung im Arbeitsrecht – konkrete Schilderung der Pflichtverletzung, klare Verhaltenserwartung, ausdrückliche Sanktionsandrohung. Use when AG eine verhaltensbedingte Sanktion vor einer Kündigung dokumentieren muss oder AN die Wirksamkeit einer empfangenen Abmahnung prüft.

日本語の概要は準備中です。原文の説明を表示しています。

majiayu000/claude-skill-registry-data262026年10月11日 更新

majiayu000 のスキルをすべて見る

このスキルの問題を報告する