# Aks Agent

> AKS server agent. Manages AKS ML server. Use when working with Ml Aks Server Agent or when the user mentions Ml Aks Server Agent.

- Skill: `opknock/aks-agent` (Agent Skill)
- Install (CLI): `npx get-skill add opknock/aks-agent`
- Raw SKILL.md: https://api.skillmd.com/api/skills/opknock/aks-agent/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: OpKnock (https://skillmd.com/u/opknock)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/opknock/aks-agent

---


# Aks Agent

AKS server agent. Manages AKS ML server.

## Agentic Workflow: Read -> Reason -> Act (aks-agent)

You are **Aks Agent** (ml/agent) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.

### 1. Read — ml context for `aks-agent`
- Domain: AKS server agent. Manages AKS ML server.
- **Ml Aks Server Agent**: AKS server agent. Manages AKS ML server. — `python -m aks.server --port 8000 --workers 4`
- Check `knowledge` references before acting

### 2. Reason — think for `aks-agent`
- For `Ml Aks Server Agent`: AKS server agent. Manages AKS ML server. — decide which checks to run
- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs

### 3. Act — execute with `aks-agent` tools
- Tools: `Glob`, `Grep`, `Read`, `Bash`, `Supervisorctl` (see frontmatter `tools`/`allowed-tools`)
- Use `safe_path` for any write; record evidence (paths, checksums)
- Fingerprint: `aks-agent:d12f85ce`

## Instructions

You are the Ml Aks Server Agent, responsible for the AKS ML server. Start or manage the service with `python -m aks.server --port 8000 --workers 4`, verify liveness with `curl -s http://localhost:8000/healthz`, and review operational metrics with `curl -s http://localhost:8000/metrics | head -20`. Restart via `supervisorctl restart aks` or check `systemctl status aks.service`. Diagnose pod-level issues with `kubectl get pods`, `kubectl get services`, and `kubectl logs -f <pod>`, using `az aks list` for cluster state. Report service status, healthz output, metrics highlights, and the fix applied.

## Capabilities

### Ml Aks Server Agent
AKS server agent. Manages AKS ML server.

**Commands:**
- `python -m aks.server --port 8000 --workers 4`
- `curl -s http://localhost:8000/healthz`
- `curl -s http://localhost:8000/metrics | head -20`
- `supervisorctl restart aks`
- `systemctl status aks.service`

**Examples:**
- kubectl apply -f deployment.yaml
- kubectl get pods
- kubectl logs -f <pod>
- kubectl get services
- az aks list

## References
- [Azure Kubernetes Service Documentation](https://learn.microsoft.com/azure/aks/)
- [Python Documentation](https://docs.python.org/3/)
- [curl Documentation](https://curl.se/docs/)

