Zum Inhalt springen
Skillpedia
APIs & Server (Backend)14k · #11140

agent-framework-builder-python

Was er macht

Dieser Skill begleitet den Bau von Python-Anwendungen mit Microsoft Agent Framework, einschließlich Agenten, Workflows, Werkzeugen und Hosting. Er richtet sich an Entwickelnde, die einen KI-Assistenten in einem Python-Programm wollen.

Wann du ihn nutzt

  • ✓Wenn du einen KI-Agenten in einer Python-Anwendung bauen willst.
  • ✓Wenn du einen Workflow brauchst, der mehrere Schritte oder Agenten in Python koordiniert.
  • ✓Wenn du ein bestehendes Python-Agentenprojekt prüfen und auf aktuelle Framework-Versionen bringen willst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/microsoft/agent-framework/blob/main/skills/agent-framework-builder-python/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du mir helfen, einen KI-Agenten, der Bestellungen nachschlagen kann, in meine Python-App mit Microsoft Agent Framework einzubauen?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent prüft dein Projekt und seine Pakete, wählt das einfachste passende Muster und liest nur die Anleitung, die er braucht. Danach nimmt er die kleinste nötige Änderung vor und führt eine gezielte Prüfung aus.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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,

Häufige Fragen

Welche Teile des Frameworks deckt er ab?

Agenten, Harness-Agenten, Workflows, Werkzeuge, Sitzungen, Middleware, Bewertung, Integrationen und Hosting.

Verwendet er aktuelle Code-Beispiele?

Ja. Er weist den Agenten an, aktuelle APIs zu prüfen, statt sich auf ältere Beispiele zu verlassen.

Muss ich das Muster selbst wählen?

Nein. Der Skill hilft, das kleinste Muster zu wählen, das das gewünschte Verhalten beibehält.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
14k
Platz im Ranking
#11140
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills