cloud-byte-consulting/agentic-harness/volcano-genai-serving
Claude Code and agent skill by cloud-byte-consulting/agentic-harness
- community
Checking that the SKILL.md file is still in the repository.
Orchestrate and route generative AI serving and interactive agent workloads on Kubernetes using Kthena and AgentCube. Use for Kthena LLM orchestration (ModelServing, ModelServer, ModelRoute, AutoscalingPolicy), prefill-decode disaggregation, KV cache connectors, LoRA adapter routing, and AgentCube serverless agent sandboxes. Trigger when users discuss LLM serving on Kubernetes, vLLM / SGLang orchestration, prefix/KV cache-aware routing, LoRA adapter routing, secure code interpreter sandboxes, AgentCube python SDK, or serverless AI agents.
Install
npx vskill@latest install cloud-byte-consulting/agentic-harness/volcano-genai-servingSKILL.md
The same SKILL.md was published earlier as cloud-byte-consulting/agentic-harness/volcano-genai-serving.
Volcano GenAI & serving Orchestration (Kthena & AgentCube)
This skill equips Claude with cutting-edge expertise in next-generation Generative AI orchestration, serving, and interactive agent execution using Volcano's specialized subprojects: Kthena and AgentCube. It covers high-throughput low-latency LLM routing, prefill-decode disaggregation, LoRA adapter-aware routing, and secure, high-density serverless code interpreter sandboxes.
When to use this skill
- Deploying and scaling LLM serving runtimes (vLLM, SGLang, Triton, TensorRT-LLM) using Kthena's
ModelServingandModelBoosterCRDs. - Configuring advanced LLM request routing (canary rollouts, premium-tier traffic splitting, and LoRA adapter-specific routing) via
ModelRouteandModelServer. - Optimizing LLM throughput and latency (TTFT, TPOT) through Prefill-Decode Disaggregation (PD) and KV cache state-transfer connectors (LMCache, MoonCake, NIXL).
- Enforcing token-level rate limiting, request-level priority, or fair-queuing scheduling at the ingress proxy layer via Kthena Router.
- Provisioning secure, multi-tenant execution sandboxes for AI agents or interactive python sessions using AgentCube's
CodeInterpreterandAgentRuntimeCRDs. - Integrating AgentCube with agent-frameworks like LangChain or Model Context Protocol (MCP) servers.
Core concepts
- Kthena: An ecosystem subproject designed specifically for LLM inference orchestration and traffic control. Unlike traditional general-purpose ingress proxies, Kthena understands the internal semantics of LLM requests (tokens, prompt lengths, KV cache hits, adapter paths) and coordinates with Volcano to schedule and route requests with high accuracy.
- Prefill-Decode Disaggregation: LLM inference has two distinct steps: the compute-bound prefill phase (processing the input prompt) and the memory-bound decode phase (generating tokens one-by-one). Running them on the same GPU leads to performance interference. Kthena splits them into dedicated
prefillanddecodepods, transferring the intermediate KV cache state via highly optimized connectors. - KV Cache Connector: Specialized protocols (like
lmcacheormooncake) that sync the key-value cache between prefill and decode instances to reduce TTFT (Time To First Token) and prevent redundant prompt recalculations. - AgentCube: A serverless execution platform for interactive AI Agents and code interpreter tools. It provides ultra-fast sandbox creation (sub-second cold starts via pre-warmed pools), dynamic idle-timeout hibernation (garbage collection), and a secure imperative API (PicoD/AgentD sidecars) for running untrusted code on behalf of LLMs.
Workflow / how to approach tasks
- Deploy LLM Models: Use
ModelBoosterfor simple, one-command deployments that abstract serving and routing setup, orModelServingfor complex, multi-role (prefill-decode) clustered runtimes. - Setup Gateway Routing: Deploy the
ModelServerto expose your inference pods, and write aModelRoutewithmodelMatchrules to handle canary routing, headers filtering, or LoRA adapter targets. - Bind Autoscaling Policies: Rather than using standard CPU-based HPA, write an
AutoscalingPolicytargetinggpu_utilizationorqueue_depth. Bind it usingAutoscalingPolicyBindingto heterogeneous hardware pools (e.g., scale up on cheap A100s first, overflow to H100s). - Implement Sandbox Execution: For AI agents requiring code execution, deploy AgentCube. Define
CodeInterpreterspecs withwarmPoolSize: 2to maintain pre-warmed containers, and use the AgentCube Python SDK to securely execute Python scripts, read/write workspace files, and enforce timeouts.
Common pitfalls & anti-patterns
- Using Standard Ingress / HPA for LLMs: Traditional HTTP ingress controllers load-balance based on raw connections, which leads to GPU starvation or VRAM overflow because LLM requests have vastly different token counts and computation lengths. Standard HPA scales on CPU%, which doesn't reflect active GPU cores or VRAM pressure. Always use Kthena and
AutoscalingPolicy. - Ignoring KV Cache Decay: Deploying a Prefill-Decode disaggregated architecture without setting up a
kvConnectorforces the decode pods to recalculate prompts locally anyway, completely negating the latency benefit of the split. - Allowing Unlimited Sandbox TTL: Setting
sessionTimeoutto 0 or omittingmaxSessionDurationon AgentCube sandboxes allows idle containers to stay alive indefinitely, saturating cluster resources. Always enforce short idle timeouts (e.g.,15m). - Running Untrusted Sandbox Code without Kata Containers: Running AgentCube code interpreter containers on standard shared Linux kernels opens the node to host-escape security vulnerabilities. For production setups, always define a secure
runtimeClassName(like Kata or Kuasar) in your templates to enforce VM-level isolation.
Reference files
references/kthena-llm-orchestration.md— Kthena architecture,ModelServing,ModelServer,ModelBoosterspecs, control plane lifecycles, and Helm configuration.references/kthena-advanced-routing.md— Prefill-decode split topologies, KV cache connectors, LoRA adapter routing, Canary rollouts, token rate limits, and request flows.references/agentcube-sandboxes.md— AgentCube split-plane architecture,CodeInterpreterandAgentRuntimeCRDs, PicoD daemon, Python SDK integration, and MCP deployment.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpod-bundle/router-skills/team-alpha/volcano-genai-serving/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cloud-byte-consulting/agentic-harness/volcano-genai-serving)