Skip to content

v0.8.11

Choose a tag to compare

@corticalstack corticalstack released this 30 May 13:45
· 114 commits to main since this release

Two new 08-agents labs: invoking a Foundry agent over raw REST, and deploying a GitHub Copilot SDK agent as a Foundry hosted agent.

Added

  • 08-agents/08-09-invoke-agent-via-rest - three notebooks that invoke a Foundry agent over raw REST (the responses API) instead of the SDK: 08-09-01-rest-single-shot, 08-09-02-rest-multi-turn, 08-09-03-rest-streaming, plus an 08-09-00 overview. Closes the gap where the repo only demonstrated agent consumption through the SDK.
  • 08-agents/08-10-hosted-copilot-sdk-agent - deploys a GitHub Copilot SDK agent (CopilotClient + the azure-ai-agentserver-invocations protocol) as a Microsoft Foundry hosted agent. The 08-10-01 notebook walks Bicep (az deployment sub create), az acr build, and AIProjectClient.agents.create_version, with a two-pass register and bootstrap-version delete, runtime role grants on the per-agent managed identity, a smoke test, and an M365 license-analytics demo.
  • BYOK Foundry model path - the Copilot SDK routes inference to a Foundry-deployed gpt-5.4-mini over the project endpoint (<project>/openai/v1/, audience ai.azure.com) via Managed Identity, with a GITHUB_TOKEN Copilot-model fallback.
  • Analytics demo with rendered tables and a downloadable chart - markdown tables render inline (new render=True mode on invoke()), and the agent generates a cost-by-department chart (matplotlib, pip-installed into its own session shell, with a dependency-free SVG fallback) which the notebook pulls back via a new download_session_file() helper.
  • Docs - 08-10-00 covers the two-layer agentic loop, the BYOK wiring, and the agent permission model (PermissionHandler.approve_all as the yolo-equivalent, a four-layer "what the agent is allowed to do" table, and tool-call observability). OpenTelemetry tracing maps Copilot SessionEvents to GenAI-semantic-convention spans surfaced in the Foundry portal.

Changed

  • pyproject.toml: bumped azure-ai-projects from >=2.0.0b1 to >=2.1.0 (required for the hosted-agent agents.create_version API).

Removed

  • pyproject.toml: dropped the unused azure-ai-inference>=1.0.0 from the finetune group (zero usages; its floor conflicted with agent-framework-azure-ai's <1.0.0b10 pin and blocked uv lock).
  • Removed an accidentally-committed upstream .git directory and azd scaffolding from the old 08-agents/08-09 path.

Full Changelog: v0.8.10...v0.8.11