skillfed

agent-framework-declarative

Declarative specification support for Microsoft Agent Framework.

agent-framework-declarative v1.0.2 478.7K downloads/30d#6,436 on PyPI12,804
Permissive license Active released

What it is and what it does

This package adds declarative YAML-based specification support to Microsoft's Agent Framework, letting you define agents and workflows in configuration files rather than pure Python code. It wraps agent-framework-core with a higher-level abstraction layer and depends on httpx for HTTP operations, powerfx for formula evaluation, and pyyaml for parsing specifications.

The package splits its API into two stability tiers: WorkflowFactory and related workflow execution surfaces are production-ready, while AgentFactory and the YAML agent loading path are experimental and may change without notice—the package emits ExperimentalWarning when you use those symbols. This split means you can rely on declarative workflows in production but should treat agent configuration loading as subject to breaking changes.

Use it for:

  • Define multi-step agent workflows in YAML and execute them without writing orchestration code
  • Build agents with declarative configuration for easier version control and non-programmer configuration
  • Prototype agent behavior by editing YAML specifications and reloading without code changes
  • Integrate HTTP-based services into agent workflows using httpx under the hood
  • Evaluate dynamic formulas within agent workflows using powerfx expressions

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Enables building agents from YAML specifications using Microsoft's Agent Framework, with stable workflow support and experimental agent configuration loading.

Yes, if you are building agents within Microsoft's Agent Framework ecosystem and want YAML-based configuration. The stable workflow tier is production-ready, and the package has low install friction and active maintenance. However, avoid the experimental AgentFactory and YAML agent loading APIs in production code until they stabilize, as they carry no backward-compatibility guarantee.

Install

agent-framework-declarative on PyPI

pip

pip install agent-framework-declarative

uv

uv add agent-framework-declarative

poetry

poetry add agent-framework-declarative

Installing agent-framework-declarative

Before you install

Low install friction with a pure Python wheel. Active maintenance as of 2026-08-14 with recent release. Depends on agent-framework-core, httpx, powerfx, and pyyaml.

License in practice

MIT license permits commercial and private use with minimal restrictions; permissive treatment means you can integrate freely into most projects.

Quickstart

pip install agent-framework-declarative

from agent_framework_declarative import WorkflowFactory

workflow = WorkflowFactory.create(spec)
result = workflow.execute()

Requires Python 3.10 or later. Experimental agent loading APIs emit ExperimentalWarning and may break in future releases.

Verify before relying

  • Stability guarantees for the experimental AgentFactory and YAML agent loading path beyond the ExperimentalWarning
  • Performance characteristics when loading large or complex YAML agent specifications
  • Compatibility matrix with specific versions of agent-framework-core and powerfx

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — agent-framework-core, httpx, powerfx, pyyaml
Maintenance actively maintained — 0 days since the last release
Last repo commit
First released
Downloads 478,657/month — #6,436 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: agent_framework_declarative-1.0.2-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed

Tags

declarative agent frameworkyaml agent specificationagent framework declarativeworkflow factory pythonmicrosoft agent frameworkdeclarative workflow builderagent configuration yaml
agent-frameworkdeclarative-configworkflow-orchestration

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

agent-framework-foundry

Provides Microsoft Foundry integrations for the…

permissive · top 15,000 on PyPI

regopy

regopy wraps the Open Policy Agent's Rego…

permissive · top 15,000 on PyPI

agent-framework-foundry-local

Integrates Microsoft Agent Framework with…

permissive · top 15,000 on PyPI

agent-framework-ollama

Integrates Ollama LLM provider support into…

permissive · top 15,000 on PyPI

agent-framework-orchestrations

Provides high-level builder patterns for…

permissive · top 15,000 on PyPI

agent-framework-lab

Provides experimental lab modules (GAIA, TAU2,…

permissive · top 15,000 on PyPI

agent-framework-claude

Integrates Claude with Microsoft Agent…

permissive · top 15,000 on PyPI

agent-framework-devui

Provides a lightweight web UI and…

permissive · top 15,000 on PyPI

strands-agents-builder

Strands Agent Builder is a terminal-based…

permissive · top 15,000 on PyPI

datacontract-specification

Reads and writes YAML files conforming to the…

permissive · top 5,000 on PyPI

Further reading