Skip to content

[azure-ai-projects] Emit SDK from TypeSpec (agent version drafts)#47695

Draft
dargilco wants to merge 71 commits into
mainfrom
dargilco/emit-from-typespec-26-06-1252
Draft

[azure-ai-projects] Emit SDK from TypeSpec (agent version drafts)#47695
dargilco wants to merge 71 commits into
mainfrom
dargilco/emit-from-typespec-26-06-1252

Conversation

@dargilco

Copy link
Copy Markdown
Member

Summary

Emits the azure-ai-projects Python SDK from TypeSpec.

TypeSpec source: commit 7bd62b7689df90f311019f835f4f1bb0fdf25f9b in Azure/azure-rest-api-specs.

Changes

  • Part 1: Emit SDK from TypeSpec
  • Part 2: Apply post-emitter fixes (PostEmitter.ps1)
  • Part 3: Update api.md / api.metadata.yml via apistub

Notable API changes

  • Added preview draft keyword to agent version create operations.
  • Added preview include_drafts keyword to list agent versions.
  • Adjusted expected response status codes for two agent operations.

No new beta sub-clients or foundry feature opt-in enum values were introduced; no breaking changes to existing public APIs.

dargilco and others added 30 commits June 2, 2026 13:46
* sample update routines

* Add test for routines samples and update sample skipping logic
* sample update routines

* Add test for routines samples and update sample skipping logic
dargilco and others added 27 commits June 15, 2026 10:56
#47572)

* Add sample for deploying Hosted Agent with toolbox MCP skills and update requirements

* Refactor Azure AI Projects SDK samples and tests

- Updated import paths for ResourceManagementClient in evaluation samples.
- Added a new sample for deploying a code-based Hosted Agent with a shipping-cost skill.
- Introduced CRUD operations for Skills in both synchronous and asynchronous samples.
- Implemented upload and download functionality for Skills in both synchronous and asynchronous contexts.
- Created CRUD operations for Toolboxes in both synchronous and asynchronous samples.
- Enhanced test coverage for Skills and Toolboxes samples in both synchronous and asynchronous test files.
- Updated instruction handling in tests to include new Skills and Toolboxes samples.

* recording

* Add mypy configuration to exclude specific hosted agent assets

* fix test

* Update asset tag to reflect latest version in assets.json

* fix test

* Update Hosted Agent echo-agent assets and samples to improve dependency resolution and remove deprecated files

* Add utility function to create deterministic skill zip files and corresponding tests

- Implemented `build_skill_zip` function in `util.py` to zip files from a specified directory, ensuring deterministic output and calculating SHA256 hash.
- Created unit tests for `build_skill_zip` in `test_util.py` to validate functionality, including file structure and attributes in the generated zip.

* Update canvas-design samples and assets to improve structure and licensing

* test

* assets

* recording

* Update asset tags and refactor echo agent sample code for clarity

* Update internal communications samples and assets to reflect new structure and guidelines

* test

* Update changelog, assets, and samples for internal communications; introduce team status update skill

* Refactor asset tags and improve skill zip handling; normalize text line endings and preserve binary data

* test

* test

* test
* Refactor skill zip handling and enhance RBAC setup options

- Updated skill zip creation to use a new `zip` function for consistency.
- Added environment variable support for storing agent responses.
- Enhanced RBAC setup to allow skipping via an environment variable.
- Introduced new test cases for hosted agents and skills with environment variable configurations.
- Added binary assets for testing purposes.

* test data

* Update asset tag and remove unused environment variable in sample tests

* fix test

* fix test

* fix test

* test

* use lazy load for replay
…ath". Add `overwrite` option when downloading to path. (#47673)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dargilco dargilco self-assigned this Jun 26, 2026
Base automatically changed from feature/azure-ai-projects/2.3.0 to main June 29, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants