Skip to content

AI-Powered DevContainers

Infrashift DevContainer Features includes first-class support for AI coding assistants. Run Claude Code or OpenAI Codex directly inside your development container with full access to your project files, terminal, and development tools.

DevContainers provide the ideal environment for AI coding assistants:

  • Isolation: AI agents operate within a container boundary, not on your host machine
  • Reproducibility: Every team member gets the same AI tooling configuration
  • Consistency: Pin specific versions of AI tools across your team

Claude Code installs Anthropic’s AI coding assistant CLI. Claude Code can read and edit files, run terminal commands, search your codebase, and help with complex software engineering tasks.

  • Installed via Bun as a global npm package
  • Requires ANTHROPIC_API_KEY environment variable
  • VS Code extension: anthropics.claude-code

Claude Code deep-dive →

OpenAI Codex installs OpenAI’s Codex CLI for code generation and assistance.

  • Installed via Bun as a global npm package
  • Requires OPENAI_API_KEY environment variable
  • VS Code extension: openai.chatgpt

OpenAI Codex deep-dive →

Add an AI assistant to your devcontainer.json:

{
"features": {
"ghcr.io/infrashift/trusted-devcontainer-features/bun:latest": {},
"ghcr.io/infrashift/trusted-devcontainer-features/claude-code:latest": {}
},
"containerEnv": {
"ANTHROPIC_API_KEY": "${localEnv:ANTHROPIC_API_KEY}"
}
}