Use Copilot CLI or Claude Code as the conversational agent creator, while KMX remains the deterministic authority for:
- validating a typed agent intent;
- asking for missing human-owned configuration;
- choosing the agent runtime and execution sandbox;
Use Copilot CLI or Claude Code as the conversational agent creator, while KMX remains the deterministic authority for:
TL;DR: Let the local coding agent describe requirements, not choose infrastructure directly. KMX should compile the agent and tool requirements into an explainable, portable sandbox plan:
The selected backend and the requirements that caused the decision belong in the portable agent revision. Runtime adapters then translate that plan into platform-specific resources. KMX must refuse underspecified or incompatible choices and must not claim isolation until the runtime reports observed evidence.
Researched and drafted with GitHub Copilot on September 25, 2026.
Date: September 25, 2026
Scope: Repositories under /Users/sajay/code/src/kaimahi-agents, organization-level .github material, kaimahi-agents/kaimahi#194, kaimahi-agents/kaimahi#223, and every revision of the gist linked by #223.
Recommendation: KMX should be the stable, CLI-first workload-lifecycle layer through which agent and tool authors define, render, deploy, observe, evaluate, diff, and roll back workloads on Kubernetes. Authors should not need to depend on Orka, kagent, Azure, Kubernetes object schemas, or vendor SDKs. Orka and kagent should be internal built-in lifecycle implementations behind shared KMX contracts and selected by deployment/operator policy; Kubernetes mechanics should sit behind a separate target port; inference and cloud infrastructure should remain sibling domains.[^1][^2]
Automated cleanup for Azure Container Registry repositories. Deploys a scheduled ACR task that retains only the last N images per repository and deletes the rest.
The ACR task uses the built-in acr purge command with:
| Flag | Value | Purpose |
|---|
| #!/bin/bash | |
| echo 'linux/amd64' > README-linux-amd64.md | |
| echo 'linux/arm64' > README-linux-arm64.md | |
| # Push the artifact for amd64 and get the digest | |
| DIGEST_LINUX_AMD64=$(oras push --oci-layout layout-dir README-linux-amd64.md --format go-template='{{.digest}}') | |
| # Push the artifact for arm64 and get the digest | |
| DIGEST_LINUX_ARM64=$(oras push --oci-layout layout-dir README-linux-arm64.md --format go-template='{{.digest}}') |
| #!/bin/bash | |
| # Variables | |
| acrName= | |
| resourceGroup= | |
| vmName= | |
| # Create ACR task with encoded YAML | |
| az acr task create \ | |
| --name startvm \ |
Create readonly token in the security tab - https://hub.docker.com/settings/security
This is optional and you can use an existing keyvault