Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,15 @@ npm install
docker compose up -d
```

For Ruby projects, install your Ruby version in the runtime script:

```bash
# your-project/.agent-vm.runtime.sh
rbenv install 3.3.0 --skip-existing
rbenv local 3.3.0
bundle install
```

### MCP servers

The base VM comes with [Chrome DevTools MCP](https://github.com/ChromeDevTools/chrome-devtools-mcp) pre-configured for Claude, giving the agent headless browser access.
Expand Down Expand Up @@ -201,6 +210,7 @@ Each VM is fully isolated — agents must authenticate independently inside thei
|----------|----------|
| Core | git, curl, wget, jq, build-essential, unzip, zip |
| Python | python3, pip, venv |
| Ruby | rbenv, ruby-build (no version pre-installed) |
| Node.js | Node.js 24 LTS (via NodeSource) |
| Search | ripgrep, fd-find |
| Utilities | htop, GitHub CLI (gh) |
Expand Down
17 changes: 16 additions & 1 deletion agent-vm.setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,26 @@ sudo apt-get install -y \
ripgrep fd-find htop \
unzip zip \
ca-certificates \
iptables
iptables \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libffi-dev

# Set zsh as default shell
sudo chsh -s /usr/bin/zsh "$(whoami)"

# Install rbenv + ruby-build (Ruby version manager)
echo "Installing rbenv and ruby-build..."
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build

# Auto-install bundler after every rbenv install
echo "bundler" > ~/.rbenv/default-gems

# Configure rbenv in shell
echo 'export PATH=$HOME/.rbenv/bin:$PATH' >> ~/.zshrc
echo 'eval "$(rbenv init -)"' >> ~/.zshrc
echo 'export PATH=$HOME/.rbenv/bin:$PATH' >> ~/.zshenv
echo 'eval "$(rbenv init -)"' >> ~/.zshenv

# Install Docker from official repo (includes docker compose)
echo "Installing Docker..."
sudo install -m 0755 -d /etc/apt/keyrings
Expand Down