# wetwork.dev Many agents. One clean host. No loose ends. wetwork.dev is an AI-agent development style built around one long-lived Docker host. The machine running the agent CLI stays clean: it edits files and controls Docker. The deliverable lives in `app/`; the agent workbench lives in `tools/`. Agents add narrow Dockerfiles and Compose services for tests, browsers, SDKs, scanners, migrations, and one-off jobs, then clean up the services they start. ## Example Repo Layout ```text repo/ |-- AGENTS.md |-- app/ | |-- Dockerfile | `-- src/ `-- tools/ |-- Dockerfile.test |-- Dockerfile.browser |-- docker-compose.yml `-- README.md ``` ## AGENTS.md Files The same methodology file is available for the major coding agents. Codex and Grok Build both use AGENTS.md: ```text website/public/files/AGENTS.md website/public/files/CLAUDE.md website/public/files/GEMINI.md ``` Copy, curl, and wget commands are on the website: ```text https://wetwork.dev/#rules ``` Full LLM-readable text: ```text https://wetwork.dev/llms.txt ``` ## Setup Instructions Use a clean Ubuntu 26 LTS Docker host, including WSL. Install Docker first, add GPU container support only if the host needs it, then install the agent CLI directly on the host. ### 1. Install Docker Engine #### Remove conflicting distro packages Source: Docker Engine on Ubuntu - https://docs.docker.com/engine/install/ubuntu/ ```bash sudo apt remove $(dpkg --get-selections docker.io docker-compose docker-compose-v2 docker-doc podman-docker containerd runc | cut -f1) ``` #### Add Docker's official apt repository Source: Docker Engine on Ubuntu - https://docs.docker.com/engine/install/ubuntu/ ```bash # Add Docker's official GPG key: sudo apt update sudo apt install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: sudo tee /etc/apt/sources.list.d/docker.sources < ``` #### List AMD render nodes Source: ROCm Docker containers - https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/docker.html ```bash ls /dev/dri/render* ``` #### Run ROCm checks inside the container Source: ROCm Docker containers - https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/docker.html ```bash rocminfo amd-smi list ``` ### 4. Install Agent CLI #### Codex CLI Install Codex CLI with OpenAI's standalone installer. ##### Install Codex CLI Source: OpenAI Codex CLI - https://github.com/openai/codex ```bash curl -fsSL https://chatgpt.com/codex/install.sh | sh ``` ##### Start Codex CLI Source: OpenAI Codex CLI - https://github.com/openai/codex ```bash codex ``` #### Grok Build Install and start Grok Build from xAI's setup docs. ##### Install Grok Build Source: Grok Build setup - https://docs.x.ai/build/overview ```bash curl -fsSL https://x.ai/cli/install.sh | bash ``` ##### Start Grok Build Source: Grok Build setup - https://docs.x.ai/build/overview ```bash grok ``` #### Claude Code Install, start, and verify Claude Code from Anthropic's setup docs. ##### Install Claude Code Source: Claude Code setup - https://docs.anthropic.com/en/docs/claude-code/setup ```bash curl -fsSL https://claude.ai/install.sh | bash ``` ##### Start Claude Code Source: Claude Code setup - https://docs.anthropic.com/en/docs/claude-code/setup ```bash claude ``` ##### Verify Claude Code Source: Claude Code setup - https://docs.anthropic.com/en/docs/claude-code/setup ```bash claude doctor ``` #### Gemini CLI Install and start Gemini CLI from Google's Gemini CLI docs. ##### Install nvm Source: nvm install docs - https://github.com/nvm-sh/nvm ```bash curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash ``` ##### Load nvm in this shell Source: nvm install docs - https://github.com/nvm-sh/nvm ```bash export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm ``` ##### Install current Node.js Source: nvm install docs - https://github.com/nvm-sh/nvm ```bash nvm install node # "node" is an alias for the latest version ``` ##### Use current Node.js Source: nvm install docs - https://github.com/nvm-sh/nvm ```bash nvm use node ``` ##### Install Gemini CLI Source: Gemini CLI docs - https://google-gemini.github.io/gemini-cli/docs/get-started/ ```bash npm install -g @google/gemini-cli ``` ##### Start Gemini CLI Source: Gemini CLI docs - https://google-gemini.github.io/gemini-cli/docs/get-started/ ```bash gemini ``` ## Template Repo The downloadable template repo is generated from `website/server.py` and includes: ```text AGENTS.md CLAUDE.md GEMINI.md app/ tools/ docker-compose.yml ``` Download it from: ```text https://wetwork.dev/download/wetwork.dev-template.tar.gz ``` ## Website Source This repository also contains the `wetwork.dev` website and Cloudflare Worker deploy tooling. Local run: ```bash docker compose -f website/docker-compose.yml up --build ``` ```text http://127.0.0.1:8787 ``` Cloudflare deploy: ```bash python3 cloudflare/deploy.py ``` Required local `.env` values: ```text CLOUDFLARE_ACCOUNT_ID=... CLOUDFLARE_API_TOKEN=... ```