How do you run a self-hosted AI agent?
Run the agent on each person's computer, point it at a model you control, and host sign-in, teams, and access in your own cloud. OpenWork covers all three: a free open-source desktop app, local or private models, and a Helm chart for AWS, Azure, and Google Cloud.
Updated
- Desktop app: MIT license, macOS, Windows, and Linux
- Models: Ollama, vLLM, or any OpenAI-compatible server
- Control plane: Helm on Amazon EKS, Azure AKS, or Google GKE
- Self-hosting is free for up to 5 users
What self-hosted means for an AI agent
An AI agent has three parts, and each can run on your side or someone else's. Decide which ones you need to control before you pick a setup.
| Part | What it does | Self-hosted with OpenWork |
|---|---|---|
| Agent | Reads files, runs tools, and does the work | The desktop app on each computer. Files stay on that computer. |
| Model | Answers each prompt | Ollama or LM Studio on the computer, vLLM or another OpenAI-compatible server on your network, or your own cloud account. |
| Control plane | Sign-in, teams, access, and shared skills and connections | OpenWork's web app and API in your cloud, with a MySQL 8-compatible database. |
| AI Gateway (optional) | Routes and counts model requests, with spend limits | OpenWork Gateway, in the same deployment. |
Start on one computer
Download OpenWork
Install the desktop app for macOS, Windows, or Linux. No account is needed.
Add a local model
Start Ollama, open Settings › Ollama in OpenWork, pick or pull a model, and click Add to workspace.
ollama pull qwen2.5-coder:7bOpen a folder and give it a task
The agent works on the files in that folder, and model requests go to Ollama on the same computer. Web tools, connectors, and updates can still use the network when they are turned on.
Try the control plane with Docker Compose
The Docker Compose stack runs the web app, the API, and MySQL on one machine from published images, with nothing to clone or build. It opens at http://localhost:3005.
It is for evaluation only. It uses development credentials and allows public signup, so keep it off your network and away from production data.
Deploy to your own cloud
Production runs on managed Kubernetes with the published Helm chart. The guides cover managed MySQL, ingress, DNS, TLS, database migrations, and creating the first administrator.
| Option | Best for |
|---|---|
| Docker Compose | Evaluating on one machine |
| Helm on Amazon EKS | Production on AWS with Amazon RDS for MySQL |
| Helm on Azure AKS | Production on Azure with Azure Database for MySQL |
| Helm on Google GKE | Production on Google Cloud with Cloud SQL for MySQL |
| Terraform modules (beta) | The web app and API on ECS Fargate, Cloud Run, or Container Apps |
| Another container platform | Teams that maintain their own infrastructure code, using the published images |
Install with Helm
Prepare your cloud
Create the Kubernetes cluster, the MySQL 8-compatible database, and HTTPS hostnames for the web app and the API.
Install the chart
Pin the chart version and pass your own values file.
helm upgrade --install openwork-ee oci://ghcr.io/different-ai/charts/openwork-ee \ --version <chart-version> \ -f values.prod.yamlFinish setup
Run the database migrations and create the first administrator. The guide for your cloud has the exact steps.
Private networks and air-gapped sites
The common setup keeps the control plane on a private network and lets laptops reach it over VPN. A fully isolated deployment is more work: every dependency of the features you turn on has to be mirrored, provisioned, or switched off, including images, installers, model catalogs, and MCP servers. The docs have a checklist for each.
Self-hosted models for a team
- Run Ollama or vLLM behind an address your team can reach, and add it once as a custom provider. It shows up on everyone's desktop.
- Route it through the AI Gateway to choose who can use it and to count usage per person.
- Turn on Only models you provide to stop people adding their own providers.
What self-hosting costs
- The desktop app is MIT-licensed and free for any use.
- The control plane is source-available, so your security team can read what you deploy. It is free in production for organizations of up to 5 users.
- Larger teams can evaluate every feature for 30 days, then need a plan. Terms are the same for OpenWork Cloud and self-hosted, with no deployment fee.
- You pay your cloud provider for the infrastructure and your model provider for tokens.
Next steps
Deploy on AWS, Azure, or Google Cloud
Try it on one machine first
Run models on your own hardware
Plans and licensing
Frequently asked questions
- Can I self-host an AI agent for free?
- Yes. The OpenWork desktop app is free and open source, and a local model adds no cost per token. Self-hosting the team control plane is free for organizations of up to 5 users.
- Which models work with a self-hosted AI agent?
- Any model behind an OpenAI-compatible API, including Ollama, LM Studio, llama.cpp, and vLLM. You can also use your own Amazon Bedrock, Google Vertex AI, or Azure account.
- Does a self-hosted AI agent work offline?
- Chat on your files works offline once a local model is downloaded. Web tools and online connectors need a network.
- Can OpenWork run in an air-gapped environment?
- It can be planned for. A fully isolated deployment means mirroring or switching off every dependency of the features you use. The air-gapped deployment docs list them.
- What do I need to run OpenWork in production?
- A managed Kubernetes cluster on AWS, Azure, or Google Cloud, a MySQL 8-compatible database, and HTTPS hostnames for the web app and the API.
- Is OpenWork open source?
- The desktop app and core platform are MIT-licensed. The organization control plane is source-available under the OpenWork EE License, and each release converts to MIT two years after publication.
- Is there a self-hosted alternative to Claude Cowork?
- Yes. OpenWork does the same kind of work with any model, and you can run the app, the models, and the control plane on your own infrastructure.