Skip to content

[agentserver] azure-ai-agentserver-core to 1.0.0b17#45704

Open
lusu-msft wants to merge 10 commits intomainfrom
lusu/agentserver-refine-core
Open

[agentserver] azure-ai-agentserver-core to 1.0.0b17#45704
lusu-msft wants to merge 10 commits intomainfrom
lusu/agentserver-refine-core

Conversation

@lusu-msft
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI review requested due to automatic review settings March 16, 2026 02:32
@lusu-msft lusu-msft requested a review from JC-386 as a code owner March 16, 2026 02:32
@github-actions github-actions bot added the Hosted Agents sdk/agentserver/* label Mar 16, 2026
@lusu-msft lusu-msft changed the title [agentserver] azure-ai-agentserver-core to 1.0.0b17 [agentserver] azure-ai-agentserver-core to 1.0.0b16 Mar 16, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates azure-ai-agentserver-core with new tooling/runtime components, checkpoint client support, expanded documentation stubs, and a significant new unit test suite, alongside dependency and sample import updates to match new internal module layouts.

Changes:

  • Added new Tools runtime/client utilities (catalog/resolver/invoker, Starlette middleware, name resolver) with unit tests.
  • Added a new checkpoints client (sessions/items) and related docs.
  • Updated package metadata/docs/samples and adjusted dependencies/versioning artifacts.

Reviewed changes

Copilot reviewed 98 out of 107 changed files in this pull request and generated 13 comments.

Show a summary per file
File Description
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/_version.py Updates package version constant (currently b16).
sdk/agentserver/azure-ai-agentserver-core/CHANGELOG.md Adds release history entries through 1.0.0b16.
sdk/agentserver/azure-ai-agentserver-core/pyproject.toml Updates dependencies and package metadata (beta classifier, urls).
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/client/operations/_base.py Introduces shared operations base with status handling + JSON extraction.
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/client/operations/_foundry_hosted_mcp_tools.py Adds MCP hosted tools operations (formatting/doc issues noted).
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/client/operations/_foundry_connected_tools.py Adds connected tools operations (formatting/doc issues noted).
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/tools/runtime/_catalog.py Adds cached catalog with in-flight de-dupe (bare except noted).
sdk/agentserver/azure-ai-agentserver-core/azure/ai/agentserver/core/logger.py Refactors logging setup (print usage noted).
sdk/agentserver/azure-ai-agentserver-core/tests/unit_tests/** Adds comprehensive unit tests for new tools/runtime/client behavior.
sdk/agentserver/azure-ai-agentserver-core/doc/** Adds/updates Sphinx package/module stubs for new modules.
sdk/agentserver/azure-ai-agentserver-core/samples/** Updates sample imports and agent construction.

Comment on lines 22 to +27
dependencies = [
"azure-monitor-opentelemetry>=1.5.0",
"azure-ai-projects",
"azure-ai-agents>=1.2.0b5",
"azure-monitor-opentelemetry>=1.5.0,<1.8.5",
"azure-ai-projects>=2.0.0b1",
"azure-ai-agents==1.2.0b5",
"azure-core>=1.35.0",
"azure-identity",
"azure-identity>=1.25.1",
Comment on lines +91 to +95
except:
# exception can only be caused by fetching tasks, remove them from cache
for k, _ in tools_to_fetch.items():
if k in self._cache:
del self._cache[k]
Comment on lines +49 to +53
log_level = os.getenv(Constants.AGENT_LOG_LEVEL, "INFO").upper()
valid_levels = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]
if log_level not in valid_levels:
print(f"Invalid log level '{log_level}' specified. Defaulting to 'INFO'.")
log_level = "INFO"
Comment on lines +227 to 228
except Exception as e: # pylint: disable=broad-exception-caught
print(f"Failed to configure logging: {e}")
Comment on lines +11 to +17
from .._models import FoundryHostedMcpTool, FoundryToolDetails, FoundryToolSource, ListFoundryHostedMcpToolsResponse, \
ResolvedFoundryTool
from ..._exceptions import ToolInvocationError


class BaseFoundryHostedMcpToolsOperations(BaseOperations, ABC):
"""Base operations for Foundry-hosted MCP tools."""
Comment on lines +4 to +9
## 1.0.0b16 (2026-03-10)

### Other Changes

- Upgraded to support agent-framework v1.0.0rc3.

Comment on lines +62 to +64
if response.status_code not in [200]:
map_error(status_code=response.status_code, response=response, error_map=self._error_map)
raise HttpResponseError(response=response)
Comment on lines +130 to +134
"""List MCP tools.

:param allowed_tools: List of allowed MCP tools to filter.
:type allowed_tools: List[FoundryHostedMcpTool]
:return: An async iterable of tuples containing tool definitions and their details.
Comment on lines +11 to +17
from .._models import FoundryConnectedTool, FoundryToolDetails, FoundryToolSource, InvokeFoundryConnectedToolsResponse, \
ListFoundryConnectedToolsResponse, ResolvedFoundryTool, UserInfo
from ..._exceptions import ToolInvocationError


class BaseFoundryConnectedToolsOperations(BaseOperations, ABC):
"""Base operations for Foundry connected tools."""
Comment on lines +140 to +142
:return: An async iterable of tuples containing the tool definition and its details.
:rtype: AsyncIterable[Tuple[FoundryConnectedTool, FoundryToolDetails]]
"""
@lusu-msft lusu-msft changed the title [agentserver] azure-ai-agentserver-core to 1.0.0b16 [agentserver] azure-ai-agentserver-core to 1.0.0b17 Mar 16, 2026
@github-actions
Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-ai-agentserver-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Hosted Agents sdk/agentserver/*

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants