Pular para o conteúdo
Skillpedia
APIs e servidores (backend)14 mil · #11140

agent-framework-builder-python

O que ela faz

Esta skill orienta a criação de aplicações Python com o Microsoft Agent Framework, incluindo agentes, fluxos de trabalho, ferramentas e hospedagem. Ela é para desenvolvedores que querem um assistente de IA dentro de um programa Python.

Quando usar

  • ✓Quando você quiser criar um agente de IA em uma aplicação Python.
  • ✓Quando precisar de um fluxo de trabalho que coordene várias etapas ou agentes em Python.
  • ✓Quando quiser revisar um projeto Python de agente existente e atualizá-lo para as versões atuais do framework.

Link da skill

https://github.com/microsoft/agent-framework/blob/main/skills/agent-framework-builder-python/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/microsoft/agent-framework/blob/main/skills/agent-framework-builder-python/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode me ajudar a adicionar um agente de IA que consulte pedidos ao meu app Python usando o Microsoft Agent Framework?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente inspeciona o seu projeto e os pacotes dele, escolhe o padrão mais simples e lê apenas o guia de que precisa. Depois faz a menor mudança possível e roda uma verificação focada.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Agent Framework builder for Python

Use this skill as the entry point for Python Agent Framework application work. Choose the smallest framework pattern that preserves the required behavior, load only the relevant references, and validate against current APIs instead of relying on remembered preview-era syntax.

Workflow

  1. Inspect the existing project, Python version, dependency manager, and installed Agent Framework packages.
  2. Choose the simplest matching path from the table below.
  3. Resolve design questions only when they materially change the implementation.
  4. Read only the linked reference for the selected path.
  5. Implement the smallest coherent change and run the narrowest validation that exercises it.

Core abstractions

  • A chat client implements the model-facing SupportsChatGetResponse protocol. It sends messages and options to a model provider and returns chat responses or streaming updates.
  • An agent implements the SupportsAgentRun protocol. The standard Agent implementation combines a chat client with instructions, tools, middleware, context providers, and session handling behind one run(...) interface.
  • A harness agent is a regular Agent assembled by create_harness_agent. It adds an opinionated set of context providers and middleware; it does not introduce a separate agent abstraction.
  • A workflow coordinates explicit execution paths. Graph workflows and most orchestration builders can use multiple SupportsAgentRun implementations or executors. HandoffBuilder is the exception: its participants must be concrete Agent instances.

User interface options

  • DevUI is a local development, testing, and debugging tool for interacting with agents and workflows. Never run or deploy DevUI as a production application host.
  • AG-UI is the application-facing protocol integration for connecting an agent or workflow to an AG-UI-compatible frontend. Use the agent-framework-ag-ui package when the product needs streaming UI events, tool interactions, shared state, interrupts, or resume behavior.

Choose the build path

Path Choose it when Details
Plain agent One model-driven actor owns the task and tools, sessions, context, and middleware are sufficient. Plain agents
Harness agent The product needs an operating loop with todos, modes, memory, approvals, skills, optional file access, background agents, shell, compaction, or repeated execution. Harness agents
Workflow or orchestration Explicit stages, routing, parallelism, multiple participants, checkpointing, human input, or intermediate outputs are central to correctness. Workflows
Declarative definition YAML or JSON should be the source of truth for a supported agent or workflow. Declarative definitions
Evaluation Expected outputs, tool calls, failed runs, or quality regressions are the main concern. Evaluation
Observability The task is diagnosing or monitoring runtime behavior with traces, logs, and metrics. Observability
Extensibility The application needs a custom provider, ContextProvider, or middleware component. Extensibility
Integration The task is choosing or wiring a provider, protocol, memory store, tool service, UI, or platform extension. Integrations
Hosting and deployment Working Agent Framework code needs a process host, protocol endpoint, identity contract, or deployment shape. Hosting and deployment

Defaults

  • Agent Framework requires Python 3.11 or later. Prefer the latest supported Python release or the previous release (N-1), unless a required dependency has a narrower compatibility range.
  • Install the narrow Agent Framework distribution needed by the application instead of defaulting to the agent-framework meta-package.
  • Agent Framework does not automatically read .env files. If the project uses one, call load_dotenv() explicitly or use the selected API's documented env_file_path or equivalent initialization option.

Current documentation lookup

Use local guidance for stable decisions and common patterns. For provider matrices, package maturity, hosted tools,

Perguntas frequentes

Quais partes do framework ela cobre?

Agentes, agentes com harness, fluxos de trabalho, ferramentas, sessões, middleware, avaliação, integrações e hospedagem.

Ela vai usar exemplos de código atuais?

Sim. Ela manda o agente verificar as APIs atuais, em vez de confiar em exemplos antigos.

Preciso escolher o padrão sozinho?

Não. A skill ajuda a escolher o padrão mais simples que mantém o comportamento que você precisa.

Detalhes

Descrição original do autor

Use this skill when building, modifying, reviewing, evaluating, integrating, or hosting Python applications with Microsoft Agent Framework. Use it for Agent Framework agents, harness agents, workflows, orchestrations, declarative definitions, tools, sessions, middleware, evaluation, observability, integrations, or hosting, even when the user has not yet chosen the correct framework pattern.

repo: microsoft/agent-framework

Popularidade

Estrelas no GitHub
14 mil
Posição no ranking
#11140
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas