Skip to main content

Agora Workbench

Agora Workbench logo

Python 3.11+ MIT License

A workbench for wrapping your tooling with MCP

Documentation

[!IMPORTANT] Research software and support

Agora Workbench is research software and is not an officially supported Microsoft product. It is provided as-is and may change without notice. No support, service-level commitments, or compatibility guarantees are provided. Issues and contributions are welcome, but responses, fixes, and continued maintenance are not guaranteed.

Overview

Agora Workbench is a toolkit for building MCP (Model Context Protocol) servers that provide sandboxed Python execution with domain-specific packages. It is agent-framework agnostic — any MCP-compatible client can take advantage of the servers created by Agora Workbench.

Use Agora Workbench to:

  • Wrap domain-specific Python tooling as MCP servers — expose Python environments through isolated, session-aware execution environments that any MCP client can call
  • Make tools discoverable — register tools and skills in a searchable catalog so agents can find what they need by natural-language query
  • Serve data alongside code — attach a file catalog so agents can locate and load datasets without hardcoded paths
  • Deploy to Azure Container Apps — use the included Bicep templates and CLI to ship your servers with Entra ID auth and managed identity

Getting Started

Prerequisites

  • Python 3.11+
  • Git
  • uv for dependency management
  • Docker (required for the bundled container examples and local Compose workflows)

Installation

With uv (recommended for development):

git clone https://github.com/microsoft/agora-workbench.git
cd agora-workbench
uv sync --group dev  # install the project and dev tools

With pip (for using as a library):

pip install "agora-workbench==0.2.1"

The installed deployment CLI can also scaffold the standalone Activity UI:

agora-workbench-deploy init --target activity-ui

With uv, add the same release to your project with:

uv add "agora-workbench==0.2.1"

See the changelog for release history and release guide for the versioning policy.

Optional extras for examples — the base package is all you need to build and run MCP servers. Extras pull in dependencies used by the example integrations:

Extra Example integration
openai-agents OpenAI Agents SDK adapter
copilot-sdk GitHub Copilot SDK adapter
geo Geospatial example server dependencies (rasterio, etc.)

Use the command for your installation method:

# uv (inside the cloned repo)
uv sync --extra openai-agents

# pip (consuming as a library)
pip install "agora-workbench[openai-agents]==0.2.1"

Configuration

For local testing, no external credentials are required. Use the no-op auth config to skip authentication entirely:

from agora_workbench.code_execution import CodeExecutionServer, ServerConfig
from agora_workbench.code_execution.auth import create_noop_auth_config

config = ServerConfig(
    name="myserver",
    description="My local test server",
    type="uv",
    dependency_file="numpy\npandas\n",
)
server = CodeExecutionServer(
    server_config=config,
    auth_config=create_noop_auth_config(),
)

For Docker-based local deployment and Azure Container Apps, see the deployment guide. For Entra ID authentication setup, see the authentication guide.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit Contributor License Agreements.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Guidelines:

  • For changes more complex than typos, please submit an issue first to discuss the proposed changes
  • Follow the development practices outlined in the project documentation

Contact

For questions or feedback, please open an issue.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Download files

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

Source Distribution

agora_workbench-0.2.1.tar.gz (255.0 kB view details)

Uploaded Source

Built Distribution

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

agora_workbench-0.2.1-py3-none-any.whl (301.5 kB view details)

Uploaded Python 3

File details

Details for the file agora_workbench-0.2.1.tar.gz.

File metadata

  • Download URL: agora_workbench-0.2.1.tar.gz
  • Upload date:
  • Size: 255.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for agora_workbench-0.2.1.tar.gz
Algorithm Hash digest
SHA256 73f508fce7151caab0da304f746175617b212c6bbf51601bf92501ced1295077
MD5 3a4465082e97d7712fd358ff2a22c0e6
BLAKE2b-256 440be20fd15fecd65ea348d6530d1a95c80cb20d714627eb97c2f92b06924409

See more details on using hashes here.

Provenance

The following attestation bundles were made for agora_workbench-0.2.1.tar.gz:

Publisher: publish-pypi.yml on microsoft/agora-workbench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agora_workbench-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: agora_workbench-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 301.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for agora_workbench-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53cd9b0d6a7f36bc451dfab8b24f2fc7474c6597967c1db8b37a69de450411aa
MD5 6b261d9640d744402303f83b04fb5849
BLAKE2b-256 8af4b13e9bf284ae5dab5a87496a97c98f0c3bc4e39d2905d71c8e62b7551f9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for agora_workbench-0.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on microsoft/agora-workbench

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page