Viberglass – a self-hosted internal tool builder run by coding agents Viberglass is an open-source, self-hosted internal tool builder in which coding agents write the applications and Viberglass runs them, with each change previewed against a copy of live data before the requester or a maintainer makes it live. The tool keeps code in a private repository, signs users in, backs up app data and supports rollback to a recent release, and it runs on the user's own servers with the coding agents and models they choose, sending a model only what the current task needs using the user's own key. A read-only demo at demo.viberglass.io, signing in as demo@viberglass.io with the password viberglass-demo, shows a 25-person company's workspace and resets every night. Viberglass is an open-source internal tool builder that you host yourself, where coding agents write the apps and Viberglass runs them. Anyone on the team describes the tool they need in a task, such as an equipment tracker or an approval list. The agent builds it and asks the requester when something is unclear. Each change runs in a preview with a copy of the live data before the requester or a maintainer makes it live. Viberglass keeps the code in a private repository, signs people in, backs up the data and can roll back to a recent release. The same tasks can produce documents and presentations, or change your own product through a reviewed GitHub pull request. Viberglass runs on your own servers, with the coding agents and models you choose. Your tasks, files, app data and code stay there, and there's no Viberglass cloud or account to sign up for. Agents send a model only what the task in front of them needs, with your own key, and with a model you host yourself nothing leaves your network. Documentation https://github.com/Ilities/viberglass/blob/main/docs | Architecture https://github.com/Ilities/viberglass/blob/main/docs/ARCHITECTURE.md | Contributing https://github.com/Ilities/viberglass/blob/main/CONTRIBUTING.md | Security https://github.com/Ilities/viberglass/blob/main/SECURITY.md Try the read-only demo at demo.viberglass.io https://demo.viberglass.io : sign in as demo@viberglass.io with the password viberglass-demo and look around a 25-person company's workspace, with its apps, documents and code changes. It resets every night. An App space builds one internal tool for the team, such as an equipment tracker or an approval list, and Viberglass runs it. Someone describes the app in a task and the agent writes it. Each change runs in a preview with a copy of the live data, and goes live when the task's owner or a maintainer says so. Viberglass keeps the code in a private repository, backs up the app's data, signs people in with their Viberglass accounts and can give an app to people outside the team without showing them anything else. See Apps https://github.com/Ilities/viberglass/blob/main/docs/guide/user/apps.md . | A change ready to try in a preview, then make live. | A recent release can be rolled back, with or without its data. | For documents, presentations and other work that isn't code, a space can be backed by Files instead of a Git repository: a shared set of files the space's tasks and people work on, kept between runs in S3-compatible storage. People can upload files and edit Markdown and text in the app and agents restore the files at the start of each run and save them at the end. Files backed spaces support "artifacts" where an agent makes a deliverable such as a document, a report or an HTML presentation. These artifacts are versioned by Viberglass. Web pages, presentations, images and PDFs preview in the app from a separate, sandboxed address. These artifacts can be iterated on and asking an agent for a new revision makes the next version. A Files task is finished when someone marks it done. | A Files space: upload files and edit Markdown and text in the app. | A presentation the agent made, previewed in the app. | In a Git space, a task goes from a request to a reviewed pull request: 1. Someone asks for something. A PM, a support lead or an engineer creates a task in a space, from the web, Slack /viberglass or an issue tracker. They own it, and can bring in reviewers and watchers. 2. The agent writes a plan. It reads the code and writes one document: what it found and what it would change. When it's missing something, it asks the right person in the thread and waits for their answer. 3. The team agrees on it. Reviewers comment on lines of the plan, suggest edits, @mention a designer or an engineer, and ask the agent to revise. Everyone sees the same plan, the same comments and the same history. 4. The agent builds it and opens a GitHub pull request for engineering's usual review. Large plans can be built in parts, with a PR per part. 5. The PR is merged and the task closes. Anyone can ask for another round on the same task; it keeps its conversation and its branch. | The agent asks the person it needs and waits for the answer. | Reviewers comment on lines of the plan or suggest edits. | | Every plan version is kept and can be compared word by word. | The thread and the plan side by side, for everyone on the task. | An engineer can step in at any point: pause the agent, take over its branch locally with viberglass checkout npm install -g viberglass , and hand it back. - One thread per task: people's messages, the agent's questions, plan revisions, comments, runs and PRs, in order, for everyone on the task. - Large plans can be built in parts, a pull request per part, with ways around the order. Add a part to the open pull request, mark a part done or skip it, or build a stopped part again. - Files spaces for documents, presentations and other artifacts, with versions and previews. - Issue trackers as linked threads: a new issue in GitHub Issues, Jira or Shortcut becomes a task, comments flow both ways, and closing the issue finishes the task. - Home shows whose move it is: a question from the agent, a review request, a mention, a failed run. Notifications reach you in Slack or by email. - Roles that fit a company: members, guests and read-only viewers; open or private spaces; owners, reviewers and watchers per task. Not everyone who can comment can ask for code. - Slack as a front door: start tasks, answer the agent's questions, discuss the plan and start the build from a Slack thread that stays in step with the task. - Bring your own agent and model: eight coding agent harnesses side by side, with provider keys, coding plans, or any OpenAI- or Anthropic-compatible endpoint. - Runs you can inspect: what the agent thought and did, its tool calls, the prompt it got, the worker log, and cost and token usage where the harness reports them. - Workspace controls: shared secrets, MCP servers and skills for agents, agent instructions per space, API tokens and an audit log. - Schedules for recurring agent work. - Fewer ways to hurt yourself and fewer dead ends: destructive actions ask before they run, one click copies a run ID or a takeover's git commands, Cmd/Ctrl+Enter sends a reply, filters and views live in the URL so a shared link keeps them, and a failed load says why and offers a retry instead of spinning. | Home lists what needs you: the agent's questions, review requests and mentions. | Run details: what the agent did, its tool calls, and cost and tokens where reported. | | Harness | Models | |---|---| | Claude Code https://docs.anthropic.com/en/docs/claude-code | Anthropic | | OpenAI Codex https://github.com/openai/codex | OpenAI, including ChatGPT subscription sign-in | | Google Antigravity https://antigravity.google | | | Qwen Code https://github.com/QwenLM/qwen-code | Alibaba | | Mistral Vibe https://github.com/mistralai/mistral-vibe | Mistral | | Kimi Code https://github.com/MoonshotAI/kimi-code | Moonshot | | OpenCode https://github.com/opencode-ai/opencode | OpenCode Go, OpenRouter, DeepSeek, xAI, Groq and custom endpoints | | Pi https://pi.dev | Many providers and custom endpoints | Custom harnesses can be introduced using the agent plugin system. Custom model endpoints: add a URL, an API format and a key in the runner form, and every agent can use it. This covers hosted open-weight models and anything you serve yourself. Model deployments: Viberglass can create a GPU container on Verda https://verda.com running vLLM, scale it to zero when idle and wake it when a run needs it. | Pull requests | GitHub | | Task sources | GitHub Issues, Jira, Shortcut, custom webhooks | | Chat | Slack | | Compute | Docker, Kubernetes, AWS ECS Fargate, AWS Lambda | Requires Git, and Docker Engine 20.10+ with Docker Compose v2: Docker Desktop on macOS and Windows, or on Linux Docker Engine https://docs.docker.com/engine/install/ with your user in the docker group https://docs.docker.com/engine/install/linux-postinstall/ . git clone https://github.com/Ilities/viberglass.git cd viberglass docker compose up -d This pulls the published images, so nothing is built. Open http://localhost:3000 http://localhost:3000 , or follow Getting started https://github.com/Ilities/viberglass/blob/main/docs/guide/admin/getting-started.md from here to a first app. The first visit creates the administrator account, then setup walks you through: 1. A model key: pick a provider and paste a key, or point at a custom endpoint. 2. The space's backing: a Git repository, with a GitHub repository and a fine-grained token that can push a branch and open a pull request setup links to GitHub's token form with the permissions filled in , or Files, for documents and presentations. 3. A name for the space. 4. A default agent, created for you and run on your local Docker using the published worker images. 5. A first task. There's also an "Explore a demo workspace" option on setup's first screen, with sample tasks and no keys needed. This compose file is for trying Viberglass on your own machine. It uses fixed database and encryption keys and only listens on this machine. For a shared installation, use one server one-server , Kubernetes kubernetes or AWS aws . The backend runs database migrations on startup. To upgrade, run docker compose pull and docker compose up -d . Ports, email and other options are in Install with Docker https://github.com/Ilities/viberglass/blob/main/docs/guide/admin/install-docker.md . With compose, the backend's environment is set in the compose file, and optional settings go in a .env file in the repository root. Running the backend outside compose, it reads apps/platform-backend/.env start from .env.example . The backend refuses to start until the required variables are set, and lists every one that is missing: DB HOST , DB PORT , DB NAME , DB USER and DB PASSWORD or DATABASE URL , SECRETS ENCRYPTION KEY , WEBHOOK SECRET ENCRYPTION KEY and PLATFORM FRONTEND URL . Everything else in the table is optional. | Variable | Description | |---|---| | DB HOST , DB PORT , DB NAME , DB USER , DB PASSWORD | PostgreSQL connection | | SECRETS ENCRYPTION KEY | Encrypts stored credentials at rest | | WEBHOOK SECRET ENCRYPTION KEY | Encrypts webhook secrets | | PORT | Backend port default: 8888 | | PLATFORM FRONTEND URL | The app's address, for links in Slack and email | | EMAIL FROM + SMTP URL or EMAIL PROVIDER=ses | Email for invites and notifications; off when unset | | VIBERATOR WORKER REGISTRY | Where worker images are pulled from default ghcr.io/ilities | | VIBERATOR WORKER IMAGE TAG | Tag of the worker images default latest , VIBERGLASS VERSION in docker-compose.prod.yml ; a release tag or commit sha pins them | | VIBERATOR WORKER NETWORK | Docker network agent containers join when their runner sets none default bridge | | VIBERGLASS DATA DIR | Where compose keeps task media and saved agent conversations default ~/.viberglass | | S3 ENDPOINT , S3 BUCKET and the other S3 settings | S3-compatible storage for Files spaces, artifacts and media; the local compose files run MinIO | | PREVIEW PORT , PREVIEW PUBLIC URL | The separate address artifact previews are served from | Agent credentials are stored as workspace secrets encrypted in the database, or in AWS SSM and attached to runners in Settings → Agents. See portable storage and credentials https://github.com/Ilities/viberglass/blob/main/docs/portable-storage-and-credentials.md . docker-compose.prod.yml https://github.com/Ilities/viberglass/blob/main/docker-compose.prod.yml runs the published images on one Linux server, with the database password and encryption keys from .env and optional HTTPS through Caddy: cp .env.production.example .env fill in the address, password and keys docker compose -f docker-compose.prod.yml --profile https up -d The steps, backups and upgrades are in Install with Docker https://github.com/Ilities/viberglass/blob/main/docs/guide/admin/install-docker.md on-a-server . A Helm chart in infra/kubernetes/chart https://github.com/Ilities/viberglass/blob/main/infra/kubernetes/chart installs the backend, frontend and migrations; each agent run is a Kubernetes Job. Bring PostgreSQL, S3-compatible storage, an ingress and TLS, or use the bundled PostgreSQL and MinIO for a local cluster: python3 infra/kubernetes/scripts/local.py - Local Kubernetes https://github.com/Ilities/viberglass/blob/main/docs/local-kubernetes.md : prerequisites, port forwards and a full-platform smoke test. - Install on your Kubernetes cluster https://github.com/Ilities/viberglass/blob/main/docs/guide/admin/install-kubernetes.md : step-by-step setup, Secrets, production values, TLS, installation and your first task. - Kubernetes operations https://github.com/Ilities/viberglass/blob/main/docs/kubernetes-deployment.md : upgrades, backups, diagnostics and cleanup. - Install on OVHcloud https://github.com/Ilities/viberglass/blob/main/docs/guide/admin/install-ovhcloud.md : step by step on OVHcloud Managed Kubernetes, with its managed PostgreSQL and Object Storage. Three Pulumi stacks in infra/ https://github.com/Ilities/viberglass/blob/main/infra/README.md , deployed in order: ./infra/setup-pulumi-state.sh pulumi login s3://viberglass-pulumi-state cd infra/base && npm install && pulumi stack select dev && pulumi up VPC, KMS, logging cd infra/workers && npm install && pulumi stack select dev && pulumi up Lambda and ECS workers cd infra/platform && npm install && pulumi stack select dev && pulumi up ECS backend, RDS, S3, Amplify frontend Runners on ECS or Lambda are created under Settings → Agents; the platform creates the task definition or function, with networking from the stack outputs. Every agent runs in a worker image: a shared base plus one harness. - Docker, Kubernetes and ECS use the public images on GHCR ghcr.io/ilities/viberator-worker-