Run Anthropic self-hosted sandboxes on your own Kubernetes cluster with kagent
pjausovec · x · 2026-11-10
A kagent tutorial walks through Anthropic's self-hosted sandboxes (released May 2026), which let Claude agents provision sandboxes and execute code on your own infrastructure: Anthropic hosts the agent loop while kagent runs the code-execution sandbox on your Kubernetes cluster.
Key steps:
- Prerequisites: Kind, the kagent CLI (v1.0.0), and the Anthropic ant CLI with ant auth login
- Create a self-hosted environment on Claude Platform to get the environment ID and key
- Provision a Kind cluster and store the environment key in a Kubernetes Secret to keep it out of controller config
- Demo covers creating an agent on Anthropic, watching kagent provision its sandbox, and how kagent suspends idle sandboxes while persisting state
The author notes kagent aims to be a complete agentic solution regardless of provider or harness; Anthropic is the focus here, with similar integrations planned for other managed agent platforms.
More from coding & agent
- NODES session: Test-time strategies like confidence decoding and schema filtering for reliable Text2Cypher — JeremyCMorgan · 2026-11-10
- Stacking More MCP Servers Made My Agent Worse, Reddit User Says — Glittering-Bus-8500 · 2026-11-10
- Anthropic engineer's AI-built browser FPS nears COD quality, sparking 'one year to Sea of Thieves' claim — ChrisGPT · 2026-11-10
- Tech debt in the AI era: paid in full whenever the next frontier model ships — doodlestein · 2026-11-10
- Claude-coded Valheim mod rebuilds Ocarina of Time's Kokiri Forest from your own ROM — Any-Explanation3814 · 2026-11-10
- App Store Connect CLI 6.5 adds subscription retention messages and offers — rudrank · 2026-11-10