Skip to content

feat: delegate agent project ownership to projects - #9512

Draft
Hui Miao (huimiu) wants to merge 2 commits into
hui/foundry-projects-ownershipfrom
hui/foundry-agents-delegation
Draft

feat: delegate agent project ownership to projects#9512
Hui Miao (huimiu) wants to merge 2 commits into
hui/foundry-projects-ownershipfrom
hui/foundry-agents-delegation

Conversation

@huimiu

@huimiu Hui Miao (huimiu) commented Aug 10, 2026

Copy link
Copy Markdown
Member

Why this is needed

Agent initialization and deployment need to create or reuse a Foundry project, but project ownership and lifecycle belong in the azure.ai.projects extension. Delegating those operations keeps azure.ai.agents focused on agent-specific resources while Projects owns project provisioning, environment setup, and managed deployment reconciliation.

Why this approach

Agents invokes Projects through the existing WorkflowService.Run boundary with a versioned, owner-only request.json. Projects reports workflow completion only; after success, Agents rereads Project and Environment state through the existing APIs and validates the unique project service and deployment signals it needs. There is no result.json or protobuf wire-detail dependency, so the layer remains compatible with the existing core API while preserving cancellation, gRPC status, and legacy fallback behavior.

This is the second layer and targets hui/foundry-projects-ownership from PR #9511. PR #9510 is not a prerequisite.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
21 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@github-actions github-actions Bot added area/extensions Extensions (general) ext-agents azure.ai.agents extension ext-foundry azure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes}, microsoft.foundry ext-projects azure.ai.projects extension labels Aug 10, 2026
@huimiu
Hui Miao (huimiu) force-pushed the hui/foundry-projects-ownership branch from b644a9e to acd1efb Compare August 10, 2026 10:55
@huimiu
Hui Miao (huimiu) force-pushed the hui/foundry-agents-delegation branch from 555fc80 to 127ffd5 Compare August 10, 2026 10:56
@huimiu
Hui Miao (huimiu) force-pushed the hui/foundry-projects-ownership branch from acd1efb to 387f5a7 Compare August 10, 2026 12:54
@huimiu
Hui Miao (huimiu) force-pushed the hui/foundry-agents-delegation branch from 127ffd5 to 1077cbd Compare August 10, 2026 13:19
@microsoft-github-policy-service microsoft-github-policy-service Bot added the no-recent-activity identity issues with no activity label Aug 17, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Hi @Hui Miao (@huimiu). Thank you for your interest in helping to improve the Azure Developer CLI experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

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

Labels

area/extensions Extensions (general) ext-agents azure.ai.agents extension ext-foundry azure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes}, microsoft.foundry ext-projects azure.ai.projects extension no-recent-activity identity issues with no activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant