tool-containers
Menu
GitHub (opens in new tab)

Pi Coding Agent

Pi (opens in new tab), a small terminal coding agent that you extend with your own tools and prompts, on the devbox development image. Pi works with Anthropic, OpenAI, Google, and other model providers. The entrypoint is pi, and the container starts in /workspace as sysadmin (UID 1000). No credentials are stored in the image.

Images
  • GHCRghcr.io/hambn/pi-agent
  • Docker Hubdocker.io/hambn/pi-agent
Upstream
github.com/earendil-works/pi (opens in new tab)
Source
tools/ai/pi-agent (opens in new tab)
On this page

Images

Pull ghcr.io/hambn/pi-agent:<tag> or docker.io/hambn/pi-agent:<tag>. pi-agent-<version> names the Pi npm release in the current ubuntu build. All tags move when the image is rebuilt; pin a digest to keep one build.

Included software

  • Pi
    • Command: pi
    • Source: npm package @earendil-works/pi-coding-agent, installed with --ignore-scripts and pinned in the Dockerfile (opens in new tab)

Git, Node.js, Python, Go, the Docker CLI, and the other devbox tools come from the devbox full tier. The *-browser variants add the browser tier.

Use cases

  • Interactive coding on a local checkout with Docker, including hosts that load the image from a saved tar.
  • Repeatable local sessions with Docker Compose, with an air-gapped Compose file.
  • Rootless sessions on a workstation with Podman.
  • Code review in CI on GitHub pull requests with GitHub Actions or on GitLab merge requests with GitLab CI.

Sources

Topics