DCP
dcp and docat
One small command line tool for people and AI agents in a terminal. dcp deploys and runs DCP instances (free, sandboxed mini VPS's). docat talks to and controls your DoCat. Same binary, two names.
curl -fsSL https://dcp.run/cli/install.sh | sh
Linux and macOS (amd64, arm64). Checks the download against SHA256SUMS, installs to ~/.local/bin (or /usr/local/bin, or $DCP_INSTALL_DIR), no sudo. Windows: dcp-windows-amd64.exe.
dcp
dcp deploy deploy this folder, prints live and claim links
dcp push index.html add or replace files on the linked instance
dcp status state, URL, version
dcp logs -f follow runtime logs
dcp env set API_KEY=... encrypted, write-only secrets
dcp versions list versions; dcp rollback 3 to undo
dcp claim the claim link and QR code
dcp init --node a tiny starter app that runs on DCP
docat
docat login https://NAME.dcp.run
docat ask "summarise today's news"
cat error.log | docat ask "why does this fail"
docat chat interactive chat
docat remind "stand up" --in 2h
docat sh ls /data/work run a command in its sandbox
docat tasks background tasks; docat stop to stop them
For agents
Every command takes --json and prints one JSON object. Exit codes: 0 ok, 1 error, 2 usage, 3 auth, 4 not found. Agent skills: SKILL-dcp.md and SKILL-docat.md (also printed by dcp skill and docat skill).
Plain HTTPS works too: agent guide, discovery.