No project description provided
Project description
agentic-layer-sdk-msaf
Microsoft Agent Framework adapter for the Agentic Layer SDK.
This package provides utilities to convert a Microsoft Agent Framework agent into an instrumented A2A Starlette web application.
Usage
from agent_framework import Agent
from agenticlayer.msaf.agent_to_a2a import to_a2a
from agenticlayer.msaf.client import create_openai_client
agent = Agent(
client=create_openai_client(),
name="MyAgent",
instructions="You are a helpful assistant.",
)
app = to_a2a(agent, name="MyAgent", rpc_url="http://localhost:8000/")
# Then run with: uvicorn module:app
Configuration
OpenAI-compatible gateway (LiteLLM proxy)
Set the following environment variables to point the agent at an OpenAI-compatible gateway such as LiteLLM proxy:
| Variable | Description |
|---|---|
LITELLM_PROXY_API_BASE |
Base URL of the gateway, e.g. http://litellm-proxy:4000 |
LITELLM_PROXY_API_KEY |
API key for the gateway |
OPENAI_CHAT_MODEL_ID |
Model name to use, e.g. gpt-4o |
create_openai_client() reads these variables automatically and passes them to
OpenAIChatClient as base_url and api_key.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_layer_sdk_msaf-0.13.0.tar.gz.
File metadata
- Download URL: agentic_layer_sdk_msaf-0.13.0.tar.gz
- Upload date:
- Size: 80.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb0631938bc98855960fb20c9be399000505cdda494e19ed1ddec6f2208392a0
|
|
| MD5 |
bb437ed5e85266cbf13f8afbd131d4bc
|
|
| BLAKE2b-256 |
887c9f3258f3c58cb1975a156011d2b2e41a10291b2d96a2ee5e85d830e10481
|
Provenance
The following attestation bundles were made for agentic_layer_sdk_msaf-0.13.0.tar.gz:
Publisher:
publish.yml on agentic-layer/sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_layer_sdk_msaf-0.13.0.tar.gz -
Subject digest:
fb0631938bc98855960fb20c9be399000505cdda494e19ed1ddec6f2208392a0 - Sigstore transparency entry: 1038445617
- Sigstore integration time:
-
Permalink:
agentic-layer/sdk-python@e51c2378ce01d59140e162b1d9ee4105b9cbca1d -
Branch / Tag:
refs/tags/v0.13.0 - Owner: https://github.com/agentic-layer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e51c2378ce01d59140e162b1d9ee4105b9cbca1d -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentic_layer_sdk_msaf-0.13.0-py3-none-any.whl.
File metadata
- Download URL: agentic_layer_sdk_msaf-0.13.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35a32b4d3bc73c63e8706fbb713f546437bf292c16768ea3d7ccaf8a8a52a820
|
|
| MD5 |
b1544ee3289fdd00f552c59414001f4b
|
|
| BLAKE2b-256 |
b2fa2db002375e27554e19f35473414e01513229f881b0ab5cad67d66e145a39
|
Provenance
The following attestation bundles were made for agentic_layer_sdk_msaf-0.13.0-py3-none-any.whl:
Publisher:
publish.yml on agentic-layer/sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_layer_sdk_msaf-0.13.0-py3-none-any.whl -
Subject digest:
35a32b4d3bc73c63e8706fbb713f546437bf292c16768ea3d7ccaf8a8a52a820 - Sigstore transparency entry: 1038445685
- Sigstore integration time:
-
Permalink:
agentic-layer/sdk-python@e51c2378ce01d59140e162b1d9ee4105b9cbca1d -
Branch / Tag:
refs/tags/v0.13.0 - Owner: https://github.com/agentic-layer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e51c2378ce01d59140e162b1d9ee4105b9cbca1d -
Trigger Event:
push
-
Statement type: