Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Agent Framework Lab

This is the experimental package for Microsoft Agent Framework, agent-framework-lab, which contains various lab modules built on top of the core framework. Lab modules are not part of the core framework and may experience breaking changes or be deprecated in the future.

What are Lab Modules?

Lab modules are extensions to the core Agent Framework that fall into one of the following categories:

  1. Incubation of new features that may get incorporated by the core framework.
  2. Research prototypes built on the core framework.
  3. Benchmarks and experimentation tools.

Lab Modules

  • gaia: Evaluate your agents using the GAIA benchmark for general assistant tasks
  • tau2: Evaluate your agents using the TAU2 benchmark for customer support tasks
  • lightning: RL training for agents using Agent Lightning

Repository Structure

agent-framework-lab/
├── pyproject.toml          # Single package configuration for agent-framework-lab
├── README.md               # This file
├── LICENSE                 # License file
├── namespace/              # Centralized namespace package files
│   └── agent_framework/
│       └── lab/
│           ├── gaia/       # Re-exports from agent_framework_lab_gaia
│           ├── lightning/  # Re-exports from agent_framework_lab_lightning
│           └── tau2/       # Re-exports from agent_framework_lab_tau2
├── gaia/                   # GAIA module implementation
│   └── agent_framework_lab_gaia/
├── lightning/              # Lightning module implementation
│   └── agent_framework_lab_lightning/
└── tau2/                   # TAU2 module implementation
    └── agent_framework_lab_tau2/

This structure maintains a single PyPI package agent-framework-lab while supporting modular imports through the namespace package mechanism.

Installation

To install each lab module, use the extras syntax with pip:

pip install "agent-framework-lab[gaia]"
pip install "agent-framework-lab[tau2]"
pip install "agent-framework-lab[lightning]"

Usage

Import and use lab modules from the agent_framework.lab namespace. For example, to use the GAIA module:

# Using GAIA module
from agent_framework.lab.gaia import GAIA

Running Tests Locally

For machine-safe local runs, prefer package-scoped commands first:

uv run --directory packages/lab poe test
uv run --directory packages/lab pytest -q -m "not integration"

When you need to run lab tests from the repository root, scope the root task to the lab package:

uv run poe test -P lab

Lightning observability tests intentionally exercise heavier tracing paths and are marked as resource_intensive:

uv run --directory packages/lab pytest lightning/tests/test_lightning.py -m "resource_intensive" -q

Should I consume Lab Modules?

If you are looking for stable and production-ready features, you should not use lab modules. Stick to the core framework.

If you are looking for experimentation, research, or want to benchmark different approaches -- most importantly, if you don't mind breaking changes and potential deprecations -- then lab modules are for you.

Contributing to Lab Modules

Microsoft-maintained modules

For Microsoft-maintained modules in this repository, please follow standard contribution guidelines and submit pull requests directly to this repository.

Community modules

If you want to contribute a community-maintained lab module:

  1. Create a new repository on GitHub for your module
  2. Tag your repository with agent-framework-lab for discoverability
  3. Submit a PR to add a link to your repository in the Lab Modules section above
  4. Use the PR title format: [New Lab Module] Your Module Name

We will review your submission based on the guidelines below.

Guidelines

  1. Purpose: Community modules should fit into one of the three categories of lab modules (incubation, research, benchmarks)
  2. Namespace: Community modules should avoid the agent_framework.lab namespace (reserved for modules maintained in this repository)
  3. Dependencies: Minimize external dependencies, always include agent-framework as a base dependency
  4. Documentation: Include comprehensive README with installation instructions and usage examples
  5. Tests: Write comprehensive tests with good coverage
  6. Type hints: Always include type hints and a py.typed file
  7. Versioning: Use semantic versioning, start with 0.1.0 for initial releases

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_framework_lab-1.0.0b260709.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_framework_lab-1.0.0b260709-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file agent_framework_lab-1.0.0b260709.tar.gz.

File metadata

  • Download URL: agent_framework_lab-1.0.0b260709.tar.gz
  • Upload date:
  • Size: 25.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_framework_lab-1.0.0b260709.tar.gz
Algorithm Hash digest
SHA256 8b7a231e036033bec69fe7fd0ad61f639d1029bfb9e0e9188cbd2854c0533ce7
MD5 d48a0ca48757ba2258532af143804f93
BLAKE2b-256 4a47d4fe313afd1aeda2cc23904fb063362b34e80cb1f044b56431827598ea27

See more details on using hashes here.

File details

Details for the file agent_framework_lab-1.0.0b260709-py3-none-any.whl.

File metadata

  • Download URL: agent_framework_lab-1.0.0b260709-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agent_framework_lab-1.0.0b260709-py3-none-any.whl
Algorithm Hash digest
SHA256 b5a141170701cf6055bfed520d634f3ec4e961f123b634f222f84e186327695f
MD5 841b3ab1ed07e09d35d4a74b858e385d
BLAKE2b-256 84ad67b0fb29c22d97d29d0edc084e3a9438befca110c7c5a305217bb2d63e8f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page