App Service Custom AI Middleware
Python middleware and tools for AI agents hosted behind Azure App Service Authentication and App Service Hooks.
Install
pip install aw-appservice-custom-ai-middleware-extension
The distribution name is aw-appservice-custom-ai-middleware-extension. The
stable Python import remains:
import app_service_extensions as ase
For Azure Functions:
pip install "aw-appservice-custom-ai-middleware-extension[functions]"
For Azure Functions hosted skills:
pip install "aw-appservice-custom-ai-middleware-extension[hosted-skills]"
The hosted-skills integration patches runtime seams that are not yet public API. Its dependency range is intentionally narrow and is expanded only after the integration suite passes against a new runtime release.
Azure Functions
Configure the middleware before creating the hosted-skills app, then attach it to the generated Function app:
import app_service_extensions as ase
from azure_functions_agents import create_function_app
ase.configure()
app = create_function_app()
ase.configure(app)
The package preserves App Service caller identity and the opaque
X-MS-Hook-Invocation recursion chain for same-site callbacks. It does not
send those credentials to third-party MCP servers.
Metadata
Release files for aw-appservice-custom-ai-middleware-extension 0.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aw_appservice_custom_ai_middleware_extension-0.3.4.tar.gz | 68.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aw_appservice_custom_ai_middleware_extension-0.3.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 155.6 kB
Release files / aw_appservice_custom_ai_middleware_extension-0.3.4.tar.gz
| Download URL | aw_appservice_custom_ai_middleware_extension-0.3.4.tar.gz |
|---|---|
| Size | 68.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818f590a2f17e2ca41fcfe2d0976ecc45de36f623678d3ae71531c83b05b4668
|
|
BLAKE2b-256 checksum How to use checksums |
ac885d88a0047ccbd5f09b8e8f1081209a22e22228337cb907ecc8eaf84b7afc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / aw_appservice_custom_ai_middleware_extension-0.3.4-py3-none-any.whl
| Download URL | aw_appservice_custom_ai_middleware_extension-0.3.4-py3-none-any.whl |
|---|---|
| Size | 87.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0cfa9b204b224d70f5dc8d85cb1efa2a11e01845f5f0ad11ddab44ed7a7cc9b
|
|
BLAKE2b-256 checksum How to use checksums |
82464360bea3c498fb02679488b364c7a90151f2d988fa48245394e00f744a0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|