> ## Documentation index
> Fetch the complete documentation index at: https://k7d.org/llms.txt
> Ask it with GET https://k7d.org/ask?q=<keywords or question>. Short keywords rank best.
> Use these to discover all available pages before exploring further.

# k7

> Secure sandboxed compute for AI agents and workloads

<Frame>
<img src="/k7/images/k7-cover-upgrade.png" alt="k7 logo" />
</Frame>

k7 is self-hosted infra for secure VM sandboxes — orchestrated with Kubernetes, driven by a CLI, REST API, and Python SDK. Pick a backend per sandbox: Firecracker via Kata (`kfd`), QEMU + Longhorn (`kql`), [k7d](/k7d/index) for warm CoW forks in milliseconds, or `k7d-fc` — the same k7d daemon driving jailed Firecracker. Run `docker build` inside any of them with `--docker`; sandboxes are locked away from the platform by default and reachable only through the ports you open.

<CardGroup cols={2}>
<Card title="Quickstart" icon="rocket" href="/k7/getting-started/installation">
Get running in minutes: install, trust the API's CA, create your first sandbox.
</Card>
<Card title="CLI" icon="terminal" href="/k7/guides/cli">
All `k7` commands with examples.
</Card>
<Card title="Backends" icon="server" href="/k7/concepts/backends">
kfd, kql, k7d, k7d-fc — pick per sandbox; what forks, what persists, what is jailed.
</Card>
<Card title="Docker in a sandbox" icon="docker" href="/k7/guides/docker">
`k7 create --docker`: pinned dockerd, overlay2 on a block disk, forkable on k7d.
</Card>
<Card title="Python SDK" icon="python" href="/k7/guides/python-sdk">
Sync and async clients with complete examples.
</Card>
<Card title="REST API" icon="code" href="/k7/api/introduction">
Endpoint overview, request/response formats, and errors.
</Card>
<Card title="LangChain agent" icon="robot" href="/k7/guides/langchain-agent">
Build a ReAct agent that executes inside a sandbox.
</Card>
</CardGroup>
