ktamas77/openborg
About
Your agents. Their computers. Your infrastructure.
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
OpenBorg
Your agents. Their computers. Your infrastructure.
An open-source, self-hosted alternative to Grokbot. Give Claude, GPT, Grok, Gemini, or an OpenRouter model a real Linux computer, watch it work, and take over whenever you need to.
openborg.org · Quick start · Deploy · Roadmap
Every agent gets its own computer
Run two agents side by side, each signed in to the same site with a different account. Each agent gets a dedicated Linux container with its own desktop, network, terminal, workspace, and Chromium data. Cookies and local storage stay with that agent. Within one agent, switch between named Chromium profiles to keep work and personal logins separate. CI verifies that browser sessions survive restarts and stay isolated across agents and named profiles. Security model
Grok Bot’s current documentation describes one cloud computer per user, with browser sessions and files shared by the user’s Bots. Grok Bot computer and apps
Give your AI a computer
Ask your agent to research a site and save a report. Follow along in the live desktop, take the keyboard for a sign-in, and hand it back when you’re ready. Close your browser and return later to the same conversation, browser profile, and files. Use Emergency stop to halt an agent and its automations until you explicitly resume it.
- Give agents teammates. Organize the sidebar into sections, choose a coordinator, and grant selected agents permission to message or delegate. Teamwork setup
- Pick up where you left off. Conversation history, browser sessions, and workspace files survive restarts. Agent replies appear as the model writes them and show readable tables, links, lists, and code.
- Hands-on whenever you need it. See the agent’s click targets while watching, then switch to private keyboard and mouse takeover. Open an interactive shell from the same workspace. On phones, expand the remote desktop and use the touch keyboard.
- Hand off files. Upload inputs or download reports through Files in the agent workspace. Each agent keeps its own copies.
- Choose the model per agent. Use Claude, eligible GPT and Codex models, Grok, Gemini, models from OpenRouter, or an OpenAI-compatible endpoint you run. They can use bundled Playwright, desktop input, screenshots, and a bounded shell. Claude models · OpenAI models · Grok models · Gemini models · OpenRouter catalog
- Find the official browser add-ons. The agent browser’s OpenBorg add-ons bookmark folder includes ChatGPT and Claude in Chrome. Install and authorize them within a supported browser profile. Browser add-ons
- Host it yourself. Run on your laptop or a Linux server with Docker Compose. Your agent computers, browser state, files, and conversation history stay on your host. The configured model API processes task messages and tool results.
| Live desktop takeover | Remote terminal |
|---|---|
![]() |
![]() |
| Use the actual desktop for sign-ins or to pick up a task yourself. | Work in the same persistent filesystem as the agent. |
Desktop app
Use OpenBorg in your browser or install the desktop app for macOS, Linux, or Windows. In the web workspace, choose Settings → Desktop app for the installers from the latest stable release, with checksums and release notes. Enter your server’s HTTPS address, or http://localhost:4080 for local Docker. Both clients open the same workspace with full Linux desktop viewing, keyboard and mouse takeover, and the terminal. The macOS installers are notarized, the Linux package includes an OpenPGP signature, and the Windows installer is unsigned. Latest stable download · Setup and platform notes
Quick start
Install Docker Engine 28 or newer with Compose and Chromium-compatible user namespaces. From a new checkout, run the local installer to generate private settings and start the stack.
git clone https://github.com/ktamas77/openborg.git
cd openborg
bin/openborg install
- Open http://localhost:4080 and sign in with
OPENBORG_PASSWORDfrom.env. Use Settings → Passkeys after signing in to enroll passwordless access on localhost or HTTPS. - Create an agent and select Start computer. Try Take over or Terminal. Both work before you set up a model.
- Set your provider’s API key in
.envusingANTHROPIC_API_KEY,OPENAI_API_KEY,XAI_API_KEY,GEMINI_API_KEY, orOPENROUTER_API_KEYand rundocker compose up -d dispatcher. Choose a provider and a model from its catalog when creating an agent, or click an existing agent’s current model to change it. Use ↻ beside the dropdown to refresh it on demand. - Give the agent a task like Open example.com, tell me the page title, and save it to /workspace/report.txt. A task can make up to 40 model calls by default and run for up to five minutes. Task limits
Open Account → Billing. It shows recorded tokens and USD costs per agent and across the installation, using standard-rate estimates for Anthropic, OpenAI, and supported Gemini models and reported request costs for xAI and OpenRouter where available. Filter by period, provider, or model, and expand Recent runs for details. Calls with missing usage or prices are flagged. In Spending limits, set optional daily, weekly, or monthly USD limits per agent and for the installation. See how much remains and when each limit resets. Anthropic pricing · OpenAI pricing · xAI usage costs · Gemini pricing · OpenRouter request usage
To connect an OpenAI-compatible Responses endpoint, set OPENBORG_COMPATIBLE_BASE_URL and select OpenAI-compatible with a model from the endpoint’s catalog. For private local inference, see the endpoint setup guide.
Connect GitHub
Create a GitHub App with the read permissions you need for repository metadata, issues, or pull requests. Install it on the repositories you want to share. In Vault, add a GitHub App credential with the app client ID, installation ID, private key, and allowed repositories. Grant access to one or more agents. OpenBorg requests a short-lived token scoped to the repository and read operation each time an agent uses the connection. GitHub App permissions
The vault works when the server has a 32-byte hex OPENBORG_VAULT_KEY. If you’re upgrading an existing installation, generate one with openssl rand -hex 32, save it in .env, and recreate the API and dispatcher. Back up that key separately from the database. GitHub, Slack, and monitoring connections can keep their secrets in the built-in vault, Doppler, or a self-hosted OpenBao KV v2 vault. OpenBorg reads external values when a granted connector needs them. External vault setup · Vault security
Operators can verify configured Doppler and OpenBao test credentials with the standalone vault check. It needs an owner session and the test credential IDs. Live release checks
An agent can link a pull request from a granted repository to its work. Activity shows the latest linked requests and their open, closed, or merged status. Use Refresh status to check again. GitHub Activity setup
Connect monitoring
Add a DigitalOcean, Cloudflare, or New Relic credential in Vault, enter the allowed resource IDs, and grant the agents that should use it. Agents can check Droplet status and CPU counters, Cloudflare zone status, and New Relic transaction counts, error rate, and latency. Permissions and supported reads
Connect Google
Connect a Google account through browser consent using your own Google OAuth client. Give selected agents read access to Gmail labels, Sheets ranges, Drive folder listings, Calendar events, Google Analytics, AdSense, and Search Console. Keep each credential scoped to the resources the agent needs. Google Sheets can also update a named range after you review the exact cells in the conversation. Google setup and scopes
Use the signed-in agent browser to open and edit Google Docs.
Manage agent state
Rename an agent from its workspace, or ask it to suggest its own name and approve the suggestion in the conversation. Renaming preserves its computer and history.
Download a stopped agent’s persistent state from Agent settings → Export, or export the installation database from Settings → Export settings. Both downloads are .tar.gz files with checksums. The host CLI saves encrypted restic snapshots and syncs selected workspace files to a private GitHub or Gitea repository. Backup and restore · Off-site backups · Selected-file sync
Connect a local assistant to OpenBorg
Open Settings → MCP keys to create a key for one agent, a selection, or all agents. Every key can read conversations and browse earlier messages, and each result links to that agent or turn in the web workspace. Give it only the other permissions the client needs: Send messages, Rename agents, Cancel runs, Start and stop computers, Pause and resume work, and Read routine history. A key for all agents can also create agents from templates you select. Resume any conversation from the web workspace, and revoke a key at any time. MCP access setup
Connect a custom MCP tool
Allowlist a trusted HTTPS MCP server, inspect its tool contract in Vault, and grant a selected tool to the agents that need it. OpenBorg checks the approved contract again before each call. Custom MCP setup
Run work in the background
Open Activity next to an agent’s live desktop to see its routines, pause or resume them, and check recent runs. Choose Manage routines to add a one-time, daily, custom cron, or webhook-triggered task for that agent. You can also ask the agent to manage its routines in chat. Try “Run this on weekdays at 9 AM in New York” or “Pause my weekend digest.” Review the task and timing in the conversation, then approve the change.
Open Automations, choose an agent and browser profile, and enter a task. Use a one-time date, a recurring cron schedule, a webhook, or Run now. Scheduled work can start a stopped computer and runs without an open browser tab. Pause schedules, cancel runs, and see recent outcomes in execution history. OpenBorg retries transient desktop startup failures before it contacts the model. If a task is interrupted or a Slack send is unconfirmed, Needs review holds that automation until you check the result.
Add a Slack bot credential in Vault, allow automation notifications, and grant it to the agent. A configured automation can post run status to an allowed channel. The same credential supports reads of allowed channels when the bot has history access. Enable Allow agent messages with approval to review a draft and its destination in the conversation before sending. Slack setup
A scheduled agent can read a granted Google Sheets range, propose an update, and send the result to a Slack channel. Review the exact sheet edit and message separately. The live release check verified the saved values, one Slack message, and one completed run. Reproduce the live check
A webhook uses its own Bearer token and an Idempotency-Key for each delivery. A repeated key returns the original run. The configured task and profile stay the same across webhook deliveries.
Talk to agents in Slack
Add Slack workspaces in global Settings, then connect each agent to one workspace and channel. Allowed members can mention the bot, see when it’s working, stop the current task, and receive replies in the same thread. Exchange emoji reactions and attachments. Approve an exact workspace file before sharing it back to the thread. Enable shared conversation for an agent to continue new turns across the web, desktop, Slack, and MCP. Slack setup
Deploy on your server
Start with 2 vCPUs, 4 GiB RAM, and 50 GiB disk for one active desktop. For two concurrent desktops, start with 4 vCPUs and 8 GiB RAM. DigitalOcean and AWS instance types and prices
Provision a Droplet or EC2 VM with bin/openborg deploy droplet agents.example.com or bin/openborg deploy ec2 agents.example.com. The deployment guide covers prerequisites, DNS, backups, and recovery. Fresh DigitalOcean and EC2 deployments passed the public HTTPS, reboot, and restore rehearsals.
On an existing server, start with the same Compose stack. Set OPENBORG_ORIGIN to the HTTPS URL you’ll use to sign in, then choose an ingress option.
| Access | Setup |
|---|---|
| Direct HTTPS | Point your domain at the host, allow inbound ports 80 and 443, and set OPENBORG_DOMAIN. Run docker compose -f docker-compose.yml -f infrastructure/deployment/compose.tls.yml up -d --build. |
| Cloudflare Tunnel | Route your tunnel’s public hostname to http://api:4080 and set CLOUDFLARE_TUNNEL_TOKEN. Run docker compose -f docker-compose.yml -f infrastructure/deployment/compose.cloudflare.yml up -d --build. Cloudflare Tunnel |
| Private Tailscale Serve | Enable MagicDNS and HTTPS certificates, then use the node’s .ts.net address as the origin. Set TAILSCALE_AUTH_KEY for unattended enrollment or follow the sign-in URL in the service logs. Set TAILSCALE_HOSTNAME to change the node name from openborg. Run docker compose -f docker-compose.yml -f infrastructure/deployment/compose.tailscale.yml up -d --build. Tailscale Docker setup |
OpenBorg currently targets a trusted, single owner. Linux deployments can cap each agent’s browser and workspace storage and restrict outbound traffic to a list of hostnames. Network and storage setup The agent has broad access to its own desktop and shell. Use accounts and data you can entrust to it, and use private takeover when entering website passwords. OpenBorg’s passkeys secure browser sign-in. The desktop app uses the owner password. Website passkeys on your local device stay on that device. Security model
Roadmap
Today — Persistent agent computers, browser and terminal access, live takeover, password sign-in, browser passkeys, Claude, OpenAI, Grok, Gemini, OpenRouter, and OpenAI-compatible endpoints, the per-agent and total usage meter with optional spending limits, named browser profiles, phone takeover, desktop apps for macOS, Linux, and Windows, background automations and agent-proposed routines, the encrypted vault with scoped connectors for GitHub, Slack, Google, DigitalOcean, Cloudflare, and New Relic, Doppler and OpenBao references for supported connector credentials, Slack conversations and status notifications, scoped MCP keys for local assistants, agent teamwork, and encrypted off-site backups.
Planned — Broader connector operations and approvals, sandboxed stdio MCP, a signed Windows installer, desktop app updates, native mobile apps, and validation on managed container platforms. Full roadmap · 1.0 sign-off
Tests
Changes to main go through a pull request. GitHub auto-merge waits for lint, TypeScript checks, unit tests, web and desktop builds, the Compose integration suite, and the install, upgrade, and rollback rehearsal. Address and resolve review threads, then use bin/merge-reviewed-pr PR_NUMBER once CodeMouse approves the current commit. The command records the approval as a required GitHub status. GitHub deletes the source branch after merge. Pull requests build desktop installers when packaging or its integration inputs change. Release tags and manual runs also build installers. Documentation-only changes report the required desktop checks without building installers. Run npm run lint, npm run check, npm test, and npm run build locally.
Chromium checks passkeys and desktop takeover. Chromium and WebKit both exercise takeover and remote input in phone-sized viewports. The 1.0 rehearsals verified touch takeover in Safari on a physical iPhone and Chrome on a physical Android phone, plus passkey sign-in on the iPhone. The Compose smoke test uses local Anthropic, OpenAI, xAI, Gemini, and OpenRouter fixtures and a controlled website to verify tool execution, usage accounting, browser-session persistence, and profile isolation.
Run the browser checks from a fresh checkout on a disposable Docker host. The Compose test overlay starts the local provider and connector fixtures. The tests create demo agents and use fixed fixture accounts.
npm ci
npm exec -- playwright-core install chromium webkit
COMPOSE_FILE=docker-compose.yml:tests/compose.yml bin/openborg install
node --env-file=.env --test tests/browser.test.mjs
Project docs
- Product and MVP acceptance
- Architecture and deployment options
- Open-source project research
- Changelog
OpenBorg is licensed under the MIT License.
Explore related projects
Loading…


