Implement CLI Agent for AKS with AI-powered troubleshooting capabilities #5235
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.
This PR implements the CLI Agent for Azure Kubernetes Service (AKS) as described in the AKS blog post, providing AI-powered operations and diagnostics for AKS clusters.
Overview
The AKS CLI Agent is an intelligent command-line assistant that helps users troubleshoot, optimize, and operate their AKS clusters with AI-driven insights and automated diagnostics. It integrates seamlessly with the Azure CLI as
az aks agentand follows the security model outlined in the blog post.Key Features
🤖 AI-Powered Troubleshooting
🔒 Security & Privacy
az loginsession and RBAC permissions🛠 Comprehensive Diagnostics
Usage Examples
Architecture
The implementation follows a modular design built on open-source foundations:
Installation Options
./az-aks-agent.sh --helpfor immediate testingpip install -e cli-agent/python -m aks_agent.cliFiles Added
cli-agent/: Complete Python package implementationaz-aks-agent.sh: Azure CLI integration script with demo modecli-agent/README.md: Comprehensive usage documentationcli-agent/INSTALLATION.md: Installation guide for different deployment scenarioscli-agent/examples/: Configuration templates and usage examplescli-agent/tests/: Unit tests for core functionalityThis implementation provides the foundation described in the AKS CLI Agent blog post, enabling users to leverage AI-powered assistance for complex Kubernetes troubleshooting scenarios while maintaining security and privacy through local execution.
Fixes #5232.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.