Skip to main content
Gravix Layer ships a platform template named claude with Claude Code already installed. Most workflows only need:
Building a custom template is optional. Use this page when you want extra packages, a baked-in CLAUDE.md, or MCP tools inside the sandbox. The open-source agent-claude.Dockerfile documents what the platform claude image is based on (Claude Code install, IS_SANDBOX=1, base toolchain).

Build your own image

Only if you need a private variant. From a checkout of gravixlayer-python:
See Templates for from_image vs dockerfile.

Bake packages and a default CLAUDE.md

Advanced: publish a Claude base image to your registry, then layer packages:
Or write skills at runtime on the platform claude template (no rebuild) — see Anthropic’s skills docs:

Register an MCP server

Works on the platform claude template. Your network policy must allow Anthropic and the MCP host. Keep tokens in Identity / env_vars, not in the image.

Prefer the platform image

Endpoint

POST /v1/agents/template/build