Skip to content

[ext-agents] Add microsoft.foundry service target (foundation: single hosted agent) #8628

@huimiu

Description

@huimiu

Summary

Wire the new host: microsoft.foundry service target in the azure.ai.agents extension, implementing the foundation of design spec #8590 §2.1, §2.2, and §2.6.

A single microsoft.foundry service represents a whole Foundry project, with agents declared inline as top-level service properties delivered on ServiceConfig.AdditionalProperties (not under config:).

Scope (foundation)

  • Register the microsoft.foundry service target (listen.go + extension.yaml).
  • Bind AdditionalProperties → typed FoundryProjectConfig / FoundryAgent (aligned with Agent.json / microsoft.foundry.json from feat(agents): add microsoft.foundry azure.yaml schema #8603).
  • Initialize validation: single hosted agent, exactly one deploy mode, project resolution, shared auth setup.
  • Endpoints and GetTargetResource.
  • Package/Publish/Deploy for a single hosted agent end-to-end:
    • prebuilt image:CreateAgentVersion
    • code-deploy runtime: (python/dotnet) → ZIP package + create/update agent version

Out of scope (follow-ups)

Notes / open items

  • Code-deploy entry point is derived from startupCommand (the agent schema models entry via startupCommand, not an explicit field); this is the documented seam if the schema later adds one.
  • Endpoint-only projects still require AZURE_AI_PROJECT_ID for GetTargetResource, consistent with the azure.ai.agent host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ext-agentsazure.ai.{agents,connections,inspector,projects,routines,skills,toolboxes} extensions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions