So, not everyone’s great at handling stuff like setting up Auto-GPT or getting API keys. But there’s a simple and secure way to let your friends or colleagues use Auto-GPT in their browsers.

Here’s what I did: I’ve got a Debian virtual machine on my home Proxmox server. I install a new Auto-GPT instance in each user’s home directory and add a working .env file with an OpenAI API key. By tweaking the SSH server’s sshd_config, defined users go straight to Auto-GPT when they log in. But, we still need browser access.

That’s where Shellinabox comes in. It provides a nice web interface for your shell. Since it uses the sshd_config, users can log in and access Auto-GPT directly. To allow external access, I use a Cloudflare tunnel and an email-based access list with one-time passwords. And there you have it! A secure external web session and Auto-GPT in your browser without a fuss.

Here are the resources you’ll need: