diff --git a/cli/azd/cmd/testdata/TestFigSpec.ts b/cli/azd/cmd/testdata/TestFigSpec.ts index 6dfda95136b..56890ac835c 100644 --- a/cli/azd/cmd/testdata/TestFigSpec.ts +++ b/cli/azd/cmd/testdata/TestFigSpec.ts @@ -237,7 +237,7 @@ const completionSpec: Fig.Spec = { }, { name: ['--host'], - description: '[Optional] For container based agents, can override the default host to target a container app instead. Accepted values: \'containerapp\'', + description: 'For container based agents, can override the default host to target a container app instead. Accepted values: \'containerapp\'', args: [ { name: 'host', @@ -253,6 +253,24 @@ const completionSpec: Fig.Spec = { }, ], }, + { + name: ['--model'], + description: 'Name of the AI model to use (e.g., \'gpt-4o\'). If not specified, defaults to \'gpt-4.1-mini\'. Mutually exclusive with --model-deployment, with --model-deployment being used if both are provided', + args: [ + { + name: 'model', + }, + ], + }, + { + name: ['--model-deployment', '-d'], + description: 'Name of an existing model deployment to use from the Foundry project. Only used when paired with an existing Foundry project, either via --project-id or interactive prompts', + args: [ + { + name: 'model-deployment', + }, + ], + }, { name: ['--project-id', '-p'], description: 'Existing Microsoft Foundry Project Id to initialize your azd environment with', @@ -264,7 +282,7 @@ const completionSpec: Fig.Spec = { }, { name: ['--src', '-s'], - description: '[Optional] Directory to download the agent definition to (defaults to \'src/\')', + description: 'Directory to download the agent definition to (defaults to \'src/\')', args: [ { name: 'src', @@ -273,6 +291,60 @@ const completionSpec: Fig.Spec = { }, ], }, + { + name: ['invoke'], + description: 'Send a message to your agent.', + options: [ + { + name: ['--conversation'], + description: 'Explicit conversation ID override', + args: [ + { + name: 'conversation', + }, + ], + }, + { + name: ['--local', '-l'], + description: 'Invoke on localhost instead of Foundry', + }, + { + name: ['--new-conversation'], + description: 'Force a new conversation (discard saved one)', + }, + { + name: ['--new-session'], + description: 'Force a new session (discard saved one)', + }, + { + name: ['--port'], + description: 'Local server port', + args: [ + { + name: 'port', + }, + ], + }, + { + name: ['--session', '-s'], + description: 'Explicit session ID override', + args: [ + { + name: 'session', + }, + ], + }, + { + name: ['--timeout', '-t'], + description: 'Request timeout in seconds (0 for no timeout)', + args: [ + { + name: 'timeout', + }, + ], + }, + ], + }, { name: ['monitor'], description: 'Monitor logs from a hosted agent container.', @@ -337,6 +409,30 @@ const completionSpec: Fig.Spec = { }, ], }, + { + name: ['run'], + description: 'Run your agent locally for development.', + options: [ + { + name: ['--port', '-p'], + description: 'Port to listen on', + args: [ + { + name: 'port', + }, + ], + }, + { + name: ['--start-command', '-c'], + description: 'Explicit startup command (overrides azure.yaml and auto-detection)', + args: [ + { + name: 'start-command', + }, + ], + }, + ], + }, { name: ['show'], description: 'Show the status of a hosted agent deployment.', @@ -3064,10 +3160,18 @@ const completionSpec: Fig.Spec = { name: ['init'], description: 'Initialize a new AI agent project. (Preview)', }, + { + name: ['invoke'], + description: 'Send a message to your agent.', + }, { name: ['monitor'], description: 'Monitor logs from a hosted agent container.', }, + { + name: ['run'], + description: 'Run your agent locally for development.', + }, { name: ['show'], description: 'Show the status of a hosted agent deployment.', diff --git a/cli/azd/extensions/azure.ai.agents/cspell.yaml b/cli/azd/extensions/azure.ai.agents/cspell.yaml index a9fbde001d3..8973ab87723 100644 --- a/cli/azd/extensions/azure.ai.agents/cspell.yaml +++ b/cli/azd/extensions/azure.ai.agents/cspell.yaml @@ -1,5 +1,6 @@ words: - aiservices + - agentserver - anonymousconnection - aoai - azdaiagent @@ -16,6 +17,7 @@ words: - myregistry - openapitool - posixpath + - projectpkg - protocolversionrecord - Vnext - webp diff --git a/cli/azd/extensions/registry.json b/cli/azd/extensions/registry.json index f4448405dfd..2ebf747785b 100644 --- a/cli/azd/extensions/registry.json +++ b/cli/azd/extensions/registry.json @@ -2510,6 +2510,82 @@ "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.13-preview/azure-ai-agents-windows-arm64.zip" } } + }, + { + "version": "0.1.14-preview", + "requiredAzdVersion": "\u003e1.23.6", + "capabilities": [ + "custom-commands", + "lifecycle-events", + "mcp-server", + "service-target-provider", + "metadata" + ], + "providers": [ + { + "name": "azure.ai.agent", + "type": "service-target", + "description": "Deploys agents to the Foundry Agent Service" + } + ], + "usage": "azd ai agent \u003ccommand\u003e [options]", + "examples": [ + { + "name": "init", + "description": "Initialize a new AI agent project.", + "usage": "azd ai agent init" + } + ], + "artifacts": { + "darwin/amd64": { + "checksum": { + "algorithm": "sha256", + "value": "5c77b6f268659c93f91865a977970a941e36b00f2af2004a60556fd6692d8a28" + }, + "entryPoint": "azure-ai-agents-darwin-amd64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.14-preview/azure-ai-agents-darwin-amd64.zip" + }, + "darwin/arm64": { + "checksum": { + "algorithm": "sha256", + "value": "dda0c803d1f116325c560e2673d3e803999a84145bc873e2d68a4dfb0b5fca5e" + }, + "entryPoint": "azure-ai-agents-darwin-arm64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.14-preview/azure-ai-agents-darwin-arm64.zip" + }, + "linux/amd64": { + "checksum": { + "algorithm": "sha256", + "value": "9006a086c3b5d4d1a7819ca50c749075e3cb2bf0520e43c5027ceb1ff072c9f8" + }, + "entryPoint": "azure-ai-agents-linux-amd64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.14-preview/azure-ai-agents-linux-amd64.tar.gz" + }, + "linux/arm64": { + "checksum": { + "algorithm": "sha256", + "value": "6d426f8658705012f6672d2c718f392babf0a9e448bdf6adea1736c944406070" + }, + "entryPoint": "azure-ai-agents-linux-arm64", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.14-preview/azure-ai-agents-linux-arm64.tar.gz" + }, + "windows/amd64": { + "checksum": { + "algorithm": "sha256", + "value": "8c7f6d83d55ca7f16f7de2ee41421a90cdc35aea617112fe4d0f169c57d2b90d" + }, + "entryPoint": "azure-ai-agents-windows-amd64.exe", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.14-preview/azure-ai-agents-windows-amd64.zip" + }, + "windows/arm64": { + "checksum": { + "algorithm": "sha256", + "value": "4e47b751bccea4518b803a4980bc53453925bc88c75f9c7fd5417116bb468b98" + }, + "entryPoint": "azure-ai-agents-windows-arm64.exe", + "url": "https://github.com/Azure/azure-dev/releases/download/azd-ext-azure-ai-agents_0.1.14-preview/azure-ai-agents-windows-arm64.zip" + } + } } ] },