A fresh instance has no login gate, the image's agent user has a known password, and the keychain is not a vault
pi coding agent in a technicolor web trenchcoat
At a glance
- What is it?
- PiClaw is a self-hosted AI workspace built on the Pi coding agent, single-user by default, distributed as a Docker image, a portable bundle and a Bun install. It is unusually candid about its own limits, from the missing login gate on first run to a keychain that does not encrypt the workspace, but several defaults in the image and the compose file deserve a look before you expose it.
- Who is it for?
- PiClaw suits a single person who wants an agent, a file browser, a terminal and viewers in one browser tab, running in a container they control on their own machine. Do not expose it before configuring browser authentication, because the first-run warning is explicit that an unprotected instance hands over the agent's files and tools.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 22, 2026, and from our analysis. They are not legal advice.
Star history
- rcarmo/piclaw922 ★ · +65
| Repository | 2026-09-11 | 2026-11-22 |
|---|---|---|
| rcarmo/piclaw | 857 | 922 |
65 Stars in the last 72 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
A fresh instance has no login gate, and the run command binds to localhost
The warning sits directly above the quick start command and is not subtle. A fresh instance has no web login gate, the command publishes the port on localhost only, and anyone with access to an unprotected instance can use the agent's files and tools. The command honours that by mapping the port to the loopback interface rather than all interfaces:
docker run -d \
--init \
--name piclaw \
--restart unless-stopped \
-p 127.0.0.1:8080:8080 \
-e PICLAW_WEB_PORT=8080 \
-v "$(pwd)/home:/config" \
-v "$(pwd)/workspace:/workspace" \
ghcr.io/rcarmo/piclaw:latestThe setup path then separates two things that sound alike. Sending `/login` in chat configures a model provider, and that is separate from browser sign-in; PiClaw reuses the Pi core's provider credentials, so no API keys go in the Docker command. Before allowing access from other machines, the instruction is to set up browser authentication, which supports authenticator codes and passkeys, and HTTPS. That step is the gate the first-run warning is pointing at.
Pin a release tag, then copy a command that uses latest
The install section tells you that published downloads are on GitHub Releases and container images are on GHCR, and then says to pin a release tag for repeatable deployments. The quick start command two paragraphs later ends with `ghcr.io/rcarmo/piclaw:latest`. Both instructions are in the same file, separated by a few lines, so the concrete artifact a reader runs is the floating one. The release naming makes the difference visible: the three most recent tags are named after films, v3.2.5 Cliffhanger on 2026-09-29, v3.2.4 The Breakfast Club on 2026-09-26 and v3.2.3 The Adjustment Bureau on 2026-09-25, so a tag is a specific build but the name tells you nothing about what changed. Version state is duplicated in three places in the tree, a `VERSION` file, the package manifest version, which both read 3.2.5, and a Makefile target named sync-version that copies one into the other.
The image creates an agent user with a written password and a sudo group
The builder stage of the Dockerfile installs far more than a runtime would need: build-essential, cmake, make, pkg-config, strace, procps, psmisc, fuse3, sshfs, openssh-client, vim, tmux, htop, tree, ripgrep, jq, sqlite3, less and man, on a Debian trixie slim base pinned by digest. It also puts Homebrew on the PATH at `/home/linuxbrew/.linuxbrew/bin` and pins a Tailscale version as a build argument. Then it creates the account the agent runs as, with `useradd -m -s /bin/bash -G sudo agent`, and sets that account's password with a chpasswd call fed the literal string agent:agent, followed by a sudoers rule for the same user. So the process identity inside the container is a member of the sudo group with a password written into the build. That is a builder-stage convenience rather than the final runtime, but it is worth knowing before reusing the image for anything sensitive.
The keychain is scoped to credentials, not to your workspace
The security section is the part of this README worth reading in full, because it says what its own features do not do. Self-hosting keeps application state on your machine, and cloud models and external tools still receive whatever you send them. The optional keychain needs a master key and does not encrypt the whole workspace or chat history. Browser authentication supports authenticator codes and passkeys, the backend is meant to stay private with HTTPS for remote access, and forwarded headers are to be trusted only from a configured reverse proxy. Multi-user is a separate story: single-user is the default, family mode is described as experimental and trusted for small groups, promoted `family-shared` deployments give each member owned conversations while sharing one workspace and one process, and they do not provide filesystem isolation. Isolated-container mode is listed as unavailable.
The compose file starts an image named pibox, not the published one
The quick start pulls `ghcr.io/rcarmo/piclaw:latest`, and the compose file in the repository starts a service called pibox from `image: pibox:latest`. Two names for the same application, which means a reader who copies the compose file and expects the published image gets a local name that has to be built first. The rest of that file is more careful. It sets a shared memory size of 256m, enables an init process, passes `PUID` and `PGID` defaulting to 1000, and applies deploy limits with a CPU cap of 2 and a memory cap of 4G, both overridable. The port mapping binds to a configurable host defaulting to 127.0.0.1. The agent home directory maps to `/config` and the comment explains that `/home/agent/.pi` reaches it through a symlink the entrypoint sets up. The workspace is a named volume whose driver options turn it into a bind of `WORKSPACE_PATH`, so the host path is fixed when the volume is created.
Core and add-ons are maintained as two separate deliverables
The README splits the product in two. Core covers an agent with streaming chat, model selection, live steering, queued follow-ups, separate conversations and a `/btw` side question; a workspace browser with uploads, a CodeMirror editor, shell tools and a detachable xterm.js terminal; result viewers for CSV and TSV tables, PDF, image, video and code, plus VNC remote-display panes; and continuity through scheduled tasks, searchable chat history and a file-based Dream memory. Everything else is an add-on installed separately through Settings: Draw.io, Office document rendering, kanban boards, alternative terminal renderers, Windows desktop automation, Proxmox, Portainer, Microsoft 365 and paired-instance messaging. The packaging shows the same split mechanically, with a prepack script that prepares core add-ons and a postpack script that cleans them, so the published tarball is assembled and then partly dismantled during the pack.
Two command line entry points, and an editor vendored through an import alias
The package manifest declares two binaries. `piclaw` points at `runtime/src/index.ts`, which is also the module main, and a second one named `imgcat` points at `runtime/scripts/imgcat.ts`, an image handling helper that ships as a user-facing command. The editor is not loaded from a registry: an imports map aliases `#editor-vendor/codemirror` to a vendored file under the runtime extensions tree, so CodeMirror resolves locally rather than from a dependency. Skills are collected by three globs rather than one, covering `runtime/skills`, every skills directory nested under `runtime/extensions`, and every skills directory nested under `runtime/vendor`, which means skills can arrive bundled inside a vendored extension as easily as from the core tree. The published file list is explicit and small, including a skeleton directory holding an MCP config example, a `.pi` directory, a `.piclaw` directory, a skeleton AGENTS.md and Makefile, and the vendored xterm manifest.
The autonomous loop is still in the root while the credits say it moved to an add-on
Three files named for the autonomous experiment loop sit in the repository root: `autoresearch.sh`, `autoresearch.checks.sh` and `autoresearch.md`. The credits section, meanwhile, lists `davebcn87/pi-autoresearch` and notes it is now carried by the autoresearch add-on in a separate repository. Both statements describe the same loop in two places with different homes. The root also carries `RESTIC_VERSION` and `BUN_VERSION` as pinned version files next to `VERSION`, plus `electrobun.config.ts` for the desktop shell, `entrypoint.sh`, `supervisor/`, `historical/`, `reports/`, `artifacts/` and `release/`. The Makefile target list explains what those are for, including an install-git-hooks target that installs local hooks running fast CI before pushes to main, a publish-smoke target that smoke-tests a published image using environment-provided arguments, and portable build variants including a baseline Linux artifact using a non-AVX Bun for hosts without AVX2.
Editorial conclusion
PiClaw suits a single person who wants an agent, a file browser, a terminal and viewers in one browser tab, running in a container they control on their own machine. Do not expose it before configuring browser authentication, because the first-run warning is explicit that an unprotected instance hands over the agent's files and tools. Before you rely on the security features, note what they are not: the keychain needs a master key and does not encrypt the workspace or chat history, family mode shares one workspace and process with no filesystem isolation, and isolated-container mode is unavailable. If you use the compose file, check which image it actually starts, because the image name in that file is not the one published on GHCR.
Frequently asked questions
Does a new PiClaw instance require a login?
No, and the README warns about it directly. A fresh instance has no web login gate, which is why the quick start maps the port to 127.0.0.1 and tells you to set up browser authentication and HTTPS before allowing access from other machines. Sending /login in chat configures a model provider and is separate from browser sign-in.
Does the PiClaw keychain encrypt my files and chat history?
No. The optional keychain needs a master key and does not encrypt the whole workspace or chat history. What it is for is credentials, while application state stays on your machine and anything you send to a cloud model or an external tool still leaves.
Can PiClaw isolate different users from each other?
Not at the filesystem level. Single-user is the default, and the experimental family mode for small groups shares one workspace and one process even though members keep owned conversations, with no filesystem isolation. Isolated-container mode is listed as unavailable.
How do I install PiClaw without Docker?
With a portable release for Docker-free Linux, Apple Silicon macOS or experimental Windows, which bundles Bun and the runtime dependencies. A tagged install using an existing Bun is offered as experimental, and a source build plus desktop shell is the route for development, with the desktop wrapper also marked experimental.
What should I keep when replacing the PiClaw container?
Both persistent directories, home and workspace, are described as data that has to survive a container replacement. The file warns specifically never to delete workspace/.piclaw/store/messages.db when resetting or upgrading, since that store holds the conversation history.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/rcarmo-piclaw)Star history chart for your README
[](https://hysenlabs.com/projects/rcarmo-piclaw)Was this useful?