forked from apache/incubator-devlake
-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub Copilot custom agent for Azure deployment workflows with MCP tools integration #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
Copilot
wants to merge
7
commits into
main
Choose a base branch
from
copilot/start-custom-agent-implementation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Created .github/agents/azure-deployment.agent.md with comprehensive deployment guide - Supports both Docker container (ACI) and AKS deployment methods - Provides interactive step-by-step workflow with user prompts - Includes prerequisites validation, resource creation, and deployment commands - Updated .gitignore to allow custom agent files Co-authored-by: ewega <[email protected]>
- Created comprehensive guide for using the Azure deployment agent - Includes usage instructions, examples, and troubleshooting tips - Documents agent configuration format and best practices Co-authored-by: ewega <[email protected]>
Copilot
AI
changed the title
[WIP] Start implementation of interactive Azure deployment agent
Add GitHub Copilot custom agent for Azure deployment workflows
Jan 30, 2026
ewega
reviewed
Jan 30, 2026
- Added mcp-servers section to YAML frontmatter with Azure MCP server - Configured namespaces: resource, storage, aks, cosmos, keyvault, appconfig, monitor - Added "Available Azure MCP Tools" section documenting all tool namespaces - Updated README to highlight Azure MCP Tools integration - Provides programmatic access to Azure services alongside Azure CLI Addresses feedback to include Azure MCP tools from Microsoft documentation Co-authored-by: ewega <[email protected]>
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Copilot
AI
changed the title
Add GitHub Copilot custom agent for Azure deployment workflows
Add GitHub Copilot custom agent for Azure deployment workflows with MCP tools integration
Jan 30, 2026
…t for Azure deployment
…zure deployment documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds a custom GitHub Copilot agent that provides interactive deployment guidance for DevLake on Azure. Agent supports both Azure Container Instances (simple Docker deployments) and AKS (production Kubernetes clusters), with full integration of Azure MCP (Model Context Protocol) tools for programmatic resource management.
Implementation:
.github/agents/azure-deployment.agent.md- Agent definition with YAML frontmatter configuration.github/agents/README.md- Usage documentation and examples with MCP tools reference.gitignore- Uncommenting.github/agents/to track deployment agentsAzure MCP Tools:
The agent integrates the Azure MCP server (
@azure/mcp-server) providing programmatic access to Azure services:Usage:
Agent prompts for deployment type, subscription, region, database preferences, then executes appropriate workflow using both Azure CLI and MCP tools. Configured with
infer: falserequiring explicit invocation.Screenshots
N/A - Text-based agent configuration files
Other Information
Agent configuration validated against GitHub Copilot YAML schema. Compatible with VS Code GitHub Copilot extension. Total implementation: 804 lines (630 agent + 165 docs + 9 YAML config). MCP tools configuration follows Microsoft Azure MCP Server documentation at https://learn.microsoft.com/en-us/azure/developer/azure-mcp-server/tools/
Original prompt
Start implementation but please make sure you work off of ewega/incubator-devlake, not the upstream apache/incubator-devlake
The user has attached the following file paths as relevant context:
- AGENTS.md
- AGENTS.md
[Chronological Review: The conversation began with the user expressing a desire to build a custom agent that assists users in deploying a project to Azure, either as a Docker container or on AKS. The user specified that the agent should be interactive, asking questions at each stage to gather necessary information. The user also mentioned prerequisites such as logging into Azure via VS Code and having the AZ CLI installed. The user later inquired if all functionalities could be implemented in a single agent rather than multiple sub-custom agents. Finally, the user requested to start the implementation based on a specific repository, 'ewega/incubator-devlake', instead of the upstream 'apache/incubator-devlake'.][Intent Mapping:
[Technical Inventory:
[Code Archaeology: No specific files or code changes were discussed yet, as the conversation focused on planning and requirements gathering for the custom agent.]
[Progress Assessment: The user has outlined the requirements for the custom agent and confirmed the repository to be used for implementation. No code has been implemented yet, but the groundwork for the agent's functionality has been established.]
[Context Validation: All necessary context for continuing the development of the custom agent is captured, including user requirements, desired functionalities, and the specific repository to be used.]
[Recent Commands Analysis:
1. Conversation Overview: - Primary Objectives: The user wants to create a custom agent for deploying a project to Azure, ensuring it is interactive and supportive throughout the process. They also want to confirm that the implementation is based on a specific repository. - Session Context: The conversation has focused on defining the requirements for the custom agent, discussing its functionalities, and confirming the repository for implementation. - User Intent Evolution: The user initially sought to build an interactive agent, then inquired about consolidating functionalities into a single agent, and finally specified the repository for implementation.- Technical Foundation:
- Azure MCP Tools: Tools like 'mcp_azure_mcp_extension_cli_generate', 'mcp_azure_mcp_extension_cli_install', and 'mcp_azure_mcp_aks' are relevant for resource creation and deployment.
- AZ CLI: The Azure Command-Line Interface is a prerequisite for the agent's functionality.
- Codebase Status:
- No specific files or code changes have been discussed yet, as the focus has been on planning the agent's functionalities.
- Problem Resolution:
- Issues Encountered: None reported yet, as the conversation has been primarily about planning.
- Solutions Implemented: No solutions have been implemented yet.
- Debugging Context: No debugging efforts have been initiated.
- Lessons Learned: The importance of user interaction and sequential guidance in the agent's design.
- Progress Tracking:
- Completed Tasks: Requirements for the custom agent have been outlined.
- Partially Complete Work: Implementation has not yet started.
- Validated Outcomes: No features have been confirmed working yet.
- Active Work State:
- Current Focus: Preparing to implement the custom agent based on user specifications.
- Recent Context: The user has confirmed the repository 'ewega/incubator-devlake' for the implementation.
- Working Code: No code snippets have been discussed yet.
- Immediate Context: The user is awaiting the start of the implementation process.
- Recent Operations:
- Last Agent Commands: The user requested to start implementation based on 'ewega/incubator-devlake'.
- Tool Results Summary: No tool results were generated as implementation has not commenced.
- Pre-Summary State: The age...
Created from VS Code.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.