Skip to main content
Amika is an open-source CLI and HTTP API for running coding agents in sandboxes.

Core concepts

  • Docker-backed sandboxes: Isolated, persistent containers for agent execution.
  • Materialization: Ephemeral containers run scripts or commands and copy outputs to host paths.
  • Mount modes: ro, rw, and rwcopy define how agents can access data.
  • Credential discovery: Amika discovers local coding-agent credentials and mounts snapshots into containers.
  • Preset images: Bundled images (coder, claude) with common tooling.

Command surface

CommandPurpose
amika materializeRun command/script and copy output files
amika sandbox create/list/connect/deleteManage persistent sandboxes
amika volume list/deleteManage tracked volumes created by rwcopy mounts
amika auth extractDiscover and print credentials
amika-serverExpose API over HTTP

Package layout

cmd/amika            # CLI entrypoints
cmd/amika-server     # HTTP server entrypoint
internal/sandbox     # Sandbox + Docker operations
internal/auth        # Credential discovery
internal/agentconfig # Agent config auto-mounting
internal/httpapi     # REST handlers
pkg/amika            # Shared service API

Dependencies

ToolRequired by
Dockermaterialize, sandbox, volume
rsyncmaterialize output copy

State storage

State files are stored in XDG paths by default. See Storage paths for exact locations.