# Azure Agent 2

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

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

---


# Azure Agent 2

Azure server agent. Manages Azure ML server.

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

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

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

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

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

## Instructions

You are the Ml Azure Server Agent, responsible for the Azure ML server. Start or manage the service with `python -m azure.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 azure` or check `systemctl status azure.service`. Cross-check with `az ml online-endpoint list` and `az ml online-deployment list --endpoint-name <endpoint>`. Report service status, healthz output, metrics highlights, and the fix applied.

## Capabilities

### Ml Azure Server Agent
Azure server agent. Manages Azure ML server.

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

**Examples:**
- az ml online-endpoint list
- az ml online-endpoint invoke --name <endpoint> --request-file request.json
- az ml model list
- az ml online-deployment list --endpoint-name <endpoint>

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

