Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented May 19, 2025

This PR adds a new Python script that enables deployment of the Werewolf game to Azure AI Foundry Agent Service, as specified in the Microsoft documentation.

Key Components

  • Created deploy_agent_service.py - a standalone Python script for agent deployment with the following features:

    • Flexible configuration via command-line args or environment variables
    • Authentication using Azure Identity
    • Definition of game mechanics as functions and actions
    • System instructions for the Werewolf game host agent
  • Added necessary dependencies:

    • Added azure-ai-resources to Poetry dependencies
  • Updated documentation:

    • Added deployment instructions to README.md
    • Extended .env.sample with additional required environment variables

Usage

# With environment variables
poetry run python deploy_agent_service.py

# With command line arguments
poetry run python deploy_agent_service.py \
    --subscription-id "your-subscription-id" \
    --resource-group "your-resource-group" \
    --ai-project "your-ai-project" \
    --deployment-name "werewolf-agent"

Fixes #2.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] Add Agent Service deployment script Add Agent Service Deployment Script for Azure AI Foundry May 19, 2025
@Copilot Copilot AI requested a review from jjgriff93 May 19, 2025 18:25
Copilot finished work on behalf of jjgriff93 May 19, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Agent Service deployment script
2 participants