Warn during deploy when two agents reference the same name, which is the unique identifier in Foundry for an agent.
Consider an example like:
toolbox-agent-2:
project: src/toolbox-agent-2
host: azure.ai.agent
language: docker
docker:
remoteBuild: true
container:
resources:
cpu: "0.5"
memory: 1Gi
description: |
An Agent Framework agent with Foundry Toolbox integration.
environmentVariables:
- name: AZURE_AI_MODEL_DEPLOYMENT_NAME
value: gpt-5.4-mini
- name: TOOLBOX_ENDPOINT
value: '{{TOOLBOX_ENDPOINT}}'
kind: hosted
metadata:
tags:
- Agent Framework
- AI Agent Hosting
- Azure AI AgentServer
- Responses Protocol
- Streaming
name: toolbox-agent-2
protocols:
- protocol: responses
version: 1.0.0
startupCommand: python main.py
toolbox-agent-4:
project: src/toolbox-agent-2
host: azure.ai.agent
language: docker
docker:
remoteBuild: true
container:
resources:
cpu: "0.5"
memory: 1Gi
description: |
An Agent Framework agent with Foundry Toolbox integration.
environmentVariables:
- name: AZURE_AI_MODEL_DEPLOYMENT_NAME
value: gpt-5.4-mini
- name: TOOLBOX_ENDPOINT
value: '{{TOOLBOX_ENDPOINT}}'
kind: hosted
metadata:
tags:
- Agent Framework
- AI Agent Hosting
- Azure AI AgentServer
- Responses Protocol
- Streaming
name: toolbox-agent-2
protocols:
- protocol: responses
version: 1.0.0
startupCommand: python main.py
Warn during deploy when two agents reference the same
name, which is the unique identifier in Foundry for an agent.Consider an example like: