Open-source and self-hosted Replit alternatives for regulated teams
If a regulation, customer contract or residency rule rules out sending patient, customer or EU personal data to Replit's hosted workspaces, the closest self-hosted options named in the supplied facts are OpenHands, bolt.diy, code-server and Dyad. None of them comes with a hosted workspace, a managed deployment platform or Enterprise controls, so the organization that runs them takes on everything Replit's hosted service currently handles for its customers. Replit's own comparison point is its custom-priced Enterprise plan, which lists SSO, SCIM, audit logs, advanced privacy controls, single-tenant and private networking options. Before you compare anything, confirm the current Enterprise terms directly with Replit at Replit pricing and plans, because those are the controls your replacement has to match or exceed.
No single project replaces all of Replit. OpenHands is a self-hosted control center for coding agents, code-server runs VS Code in the browser on your own server, bolt.diy is a workspace for building full-stack web apps with a wide range of model providers, and Dyad is a local AI app builder. Each covers a different part of the workflow, so most teams will assemble a stack rather than adopt one tool. Read the licenses before you standardize: OpenHands, bolt.diy and code-server are MIT-licensed, while Dyad is Apache 2.0 outside its src/pro directory, which falls under the Functional Source License 1.1. Confirm whether any component you pick has that split, since your legal team may treat the two parts differently.
Running these tools means your organization owns sandboxing, identity and upgrades. The OpenHands README warns that running the agent server without a sandbox gives the agent full access to the host filesystem, so a Docker sandbox or equivalent isolation must be designed, tested and monitored before any agent touches regulated data. You will also need to arrange single sign-on, access control, audit logging, backups and patching for each component, and confirm which language model endpoints receive prompts. Ask each project's maintainers or your own engineers to show the release you plan to deploy, including the current release of each tool, and test it with a security review before approval.
Which open-source project covers which part of Replit
Replit combines a browser workspace, an AI coding agent, app building and hosted deployment in one product. The open-source projects below each cover one of those functions, and none of them replaces the whole stack. Read each card against the Replit function it would replace, then decide where hosting, identity and support will come from.
OpenHands for coding agents
OpenHands is an MIT-licensed, self-hosted control center for coding agents. It runs locally, in Docker, on VMs or in company infrastructure, and it can use any LLM, so the model provider and its data terms become your decision. The README warns that running the agent server without a sandbox gives the agent full access to the host filesystem, so the Docker sandbox option should be part of any approved setup. Check which model endpoint receives code and prompts, and who holds the credentials the agent uses.
OpenHands repositorybolt.diy for app building
bolt.diy is an MIT-licensed AI workspace for building full-stack web apps. It supports 22+ model providers, including Ollama, which lets teams keep prompts on a local model server if that fits their data rules. It documents Docker Compose deployment, so the team hosts the builder itself. The generated apps still need their own hosting, database, authentication and backups, which Replit's hosted deployments otherwise provide.
bolt.diy repositorycode-server for a browser IDE
code-server is an MIT-licensed project that runs VS Code in the browser on your own server. It matches the browser workspace model that Replit users expect, while source code and terminal sessions stay on infrastructure you operate. Access control, TLS, and the user identity layer sit with your team, not with a vendor's SSO and audit logs. Confirm how sessions are authenticated and logged before opening it to staff.
code-server repositoryDyad for local app building
Dyad is a local AI app builder. Its code outside the src/pro directory is Apache 2.0, while src/pro is under the Functional Source License 1.1. Legal review should confirm whether the parts your team uses fall under Apache 2.0 or the FSL before anything is deployed or redistributed. Because Dyad runs on developer machines, the main review question is where generated code and prompts are sent and how workstations are managed.
Dyad licenseHosted deployment gap
None of the four projects supplies hosted deployment or a managed production runtime. Replit's deployments, its isolated GCP project per customer, and its Enterprise options for single-tenant and private networking have no direct equivalent in these tools. Confirm with your platform team who will run hosting, patching, backups, monitoring and incident response for any app built with them, and whether that owner is ready before rollout.
Replit pricing and plansLicense terms and what each project includes
This table compares four self-hosted tools against Replit's Enterprise plan, the baseline a self-hosted option has to replace. Read the license column first, because Dyad mixes two licenses inside one repository and the restriction sits in a directory you may need to avoid. The main takeaway is that every open-source option removes Replit's hosted controls, so SSO, audit logging and isolation must be built by your team or a partner.
| Project | License | Latest release and model options | What a reviewer must check |
|---|---|---|---|
| OpenHands | MIT, self-hosted control center for coding agents | v1.47.0, published November 29, 2026. Works with any LLM you connect | Run the agent server inside a Docker sandbox. The README warns that without one the agent has full access to the host filesystem |
| bolt.diy | MIT, AI workspace for full-stack web apps | No release date supplied. 22+ model providers, including Ollama for local models | Documented Docker Compose deployment. Confirm which model provider receives prompts if you do not use Ollama |
| code-server | MIT, VS Code running in the browser on your server | v4.146.0, published November 20, 2026. Not a model tool, so no LLM options | Hosts the editor only. Authentication, TLS and network placement are your responsibility |
| Dyad | Apache 2.0 outside src/pro, Functional Source License 1.1 inside src/pro | No release date supplied. Local AI app builder | Code in src/pro is under the Functional Source License 1.1, not Apache 2.0. Have counsel confirm whether your intended use is permitted before deploying it |
| Replit Enterprise (baseline, custom pricing as of November 2026) | Proprietary hosted service | Hosted workspaces and deployments on Google Cloud | Single-tenant and private networking, SSO, SCIM and audit logs are listed only here. A self-hosted option must replace each of them |
What running these projects takes in your environment
Each option asks for a different hosting footprint, and the first decision is where it will run. OpenHands and bolt.diy both document Docker-based deployment, so the platform team needs a container host inside the organization's cloud account or data center, with a container runtime that the security team has approved. OpenHands can also run locally, in Docker, on virtual machines or in company infrastructure, and its README warns that running the agent server without a sandbox gives the agent full access to the host filesystem, so the Docker sandbox option is not optional for any shared deployment. code-server needs a company server that serves VS Code in the browser, which means a TLS endpoint, identity integration at the reverse proxy and a patching owner. Dyad is a desktop tool installed on each engineer's machine, so it moves the hosting question to endpoint management.
Every option also needs a model decision, and the model is where most data exposure happens. OpenHands accepts any LLM, so the reader must decide whether prompts go to a hosted API under a signed agreement or to a model the organization serves itself. bolt.diy lists Ollama among its 22+ model providers, which keeps inference inside the network if the Ollama host is also inside it. Dyad and code-server each depend on the model or extension path you configure, so check every outbound destination the tool calls, not only the one you planned for. Hardware sizing for models and the minimum resources for each container or server are not in the facts available here, so confirm them in each project's documentation and in your own load testing before approving anything.
Staff roles also change. Someone must own the deployment, the sandbox configuration, the model endpoints, upgrades and access reviews, and the work does not end at go-live. Ask the team to name these owners, to state in writing who patches each component, and to show which logs record prompts, file access and tool calls. Budget for an internal or contracted operator on a recurring basis, because each upgrade of an open-source project is a change that needs testing against your controls. Cost drivers are compute, model hosting, storage for logs and the staff hours to operate and test, and each of these should appear as its own line in any internal estimate.
Why the agent sandbox has to be configured before any use
This sequence turns OpenHands' documented warning into controls you can check: the agent runs only where it cannot reach the host, inside a sandbox whose file and network reach you have set and tested. Each step closes with evidence you can file with your security review.
Isolate the host the agent server runs on
Your infrastructure or platform team places the OpenHands agent server on a dedicated host or virtual machine that holds no production credentials, no personal data stores and no shared admin sessions. The OpenHands README warns that running the agent server without a sandbox gives the agent full access to the host filesystem, so this host should be treated as disposable. Done means an inventory entry names the host, its owner and the data it is allowed to touch, and that list contains no production or patient data sources.
Enable the documented Docker sandbox
The engineering owner turns on the Docker sandbox option that the OpenHands documentation describes, so agent actions run inside a container rather than directly on the host. Confirm the setting against the version your organization has approved, since the README is the reference for the configuration keys. Done means a test action that tries to read a file outside the container's mounted paths fails, and the security reviewer has the configuration file and the test output.
Restrict file system mounts
The platform team limits which directories the sandbox can see to a project workspace that holds no customer, patient or EU personal data, and makes sure host paths such as home directories, SSH keys and cloud credential files are not mounted. Mounts should be read only where the agent does not need to write. Done means a listing of the container's mounts matches the approved list, and a check from inside the sandbox confirms that credential paths are absent.
Restrict outbound network access
The network owner allows the sandbox to reach only the model endpoint your organization has approved and the package sources the project needs, and blocks everything else by default. This matters because an agent that can fetch arbitrary URLs can also send data out. Done means a request to an unapproved external host fails from inside the sandbox, and the firewall or proxy rule set is saved with the change record.
Scope credentials and model keys
The security team issues the sandbox only the API keys or tokens it needs, scoped to a non-production account, and stores them in a secrets manager rather than in environment files on the host. Keys that reach a user's personal shell history or a shared repository are a common exposure path, so the check is a search of the host and repository for pasted secrets. Done means the key inventory lists each credential, its scope and its owner, and the search returns no matches.
Test prompt injection and escape attempts
Before any staff member uses the setup, the security team runs a scripted set of tests: instructions hidden in a file the agent reads, requests to read host paths, attempts to reach blocked hosts and attempts to leave the container. Run these against the exact configuration you approved, not a default install. Done means every attempt is blocked or logged, the results are written to a dated report, and any failure reopens step two or three before rollout.
Retest after every upgrade
Each time the OpenHands release changes, or a mount, network rule or model endpoint changes, the platform team reruns the test set and compares results with the last approved report. Release notes and README changes should be read for sandbox defaults before upgrading, because a default that changed silently can reopen access. Done means the retest report references the new version, shows no new gaps, and is filed before the upgraded setup is used with real projects.
Which alternative fits which situation
A small engineering or operations team that wants staff to build and review internal tools without sending code to a hosted workspace can run code-server on one team server, which serves VS Code in the browser, and pair it with OpenHands for coding agent work. Both are MIT-licensed, so the main cost is the team's own administration, not a license fee. What you lose against Replit is the managed layer: Replit's hosted workspaces, one-click deployments and per-customer isolated infrastructure are not included, so the team owns patching, backups, TLS, user accounts and hosting. Points to weigh:
- Hosting: you choose and secure the machine, including disk, network exposure and backups.
- Agent access: OpenHands' README warns that running the agent server without a sandbox gives the agent full access to the host filesystem, so use the documented Docker sandbox option.
- Identity: plan how staff sign in, since the team must set up access control rather than inherit Replit's SSO and SCIM.
- Deployment: publishing apps to users is your job, not a built-in feature.
- Model choice: confirm which LLM endpoint the agent calls and whether prompts leave your network.
Before approving, confirm that the server can be reached only from the corporate network and that someone owns updates for each release.
A regulated or large organization usually needs the controls that Replit places in its Enterprise plan, including SSO, SCIM, audit logs, advanced privacy controls and private networking. Self-hosting moves those controls to your side: you deploy the open-source tools inside your own cloud accounts or data centers and add single sign-on, role-based access, audit logging and network segmentation yourself, so your compliance and security teams can review each layer. The trade-off is that the vendor's SOC 2 report, DPA and sub-processor list no longer cover the platform; your own control set does. Points to weigh:
- Identity: integrate the tools with your identity provider and remove any shared or local accounts.
- Audit logging: confirm which actions the tools log and forward those logs to your SIEM.
- Network: place the servers in private subnets with controlled egress, which replaces Replit's single-tenant and private networking options.
- Model traffic: record which model providers receive data and under which contracts.
- Evidence: keep configuration baselines and change records, since no third party issues them for you.
Before approving, ask your assessor which of these controls they will test, and map each one to a named owner.
A software company that wants to embed an open-source app builder or agent in a product it sells must check each license before reuse, because licenses differ within a single project. Dyad is Apache 2.0 outside its src/pro directory, which falls under the Functional Source License 1.1, so code in that directory has different reuse terms. bolt.diy, code-server and OpenHands are MIT-licensed according to their repositories, which is generally permissive but still requires you to keep notices and review any bundled third-party components. Replit's hosted model gives you no code to ship, so embedding means you take on distribution and support duties. Points to weigh:
- Scope: identify exactly which directories and files you would copy, modify or distribute.
- Commercial use: confirm whether the license permits offering the feature to paying customers.
- Notices: track attribution and license text for every shipped dependency.
- Support: you, not the project, answer for vulnerabilities in the embedded build.
- Contributions: check any contributor license terms before you upstream changes.
Before shipping, have counsel read the LICENSE file for each component and record the decision.
An air-gapped environment has no route to the public internet, so every tool must run entirely inside the network and every update must arrive through an approved transfer process. The four projects here can be installed on isolated hosts, but offline operation depends on the model and the update path, not on the license. If the agent or app builder calls a hosted LLM, it will not work in an air-gapped network; a local model server such as Ollama, which bolt.diy supports, is the path to offline generation. Replit's hosted workspaces and deployments cannot run in this setting at all. Points to weigh:
- Models: confirm which model weights you can load offline and that the tool can point to a local endpoint.
- Dependencies: mirror container images, packages and plugins into an internal registry before cutover.
- Updates: plan how each release, such as OpenHands v1.47.0 or code-server v4.146.0, is verified and imported.
- Telemetry: disable or block any outbound calls the tool makes by default.
- Sandboxing: keep the Docker sandbox option in place, since agents still execute code.
Before approving, test the full install and one agent task with the network cable disconnected, and document what failed.
What drives total cost beyond the license
This table lists the cost components of running an open-source Replit alternative in your own infrastructure, who is paid for each, and whether it is one-time or recurring. Use it to see which costs grow with headcount and which stay flat, and what to request in a quote before comparing against Replit's hosted plans.
| Cost component | Who is paid or who carries it | One-time or recurring | What drives it up or down |
|---|---|---|---|
| Compute and hosting | Your cloud account, data center or hardware budget | Recurring | Number of concurrent builders, sandbox resource limits and how many environments you run |
| Model or API spend | Your LLM provider if the tool calls an external model | Recurring, usage-based | Token volume per developer, model choice and whether a local model such as one served through Ollama is used |
| Installation and integration | Internal platform engineers or an implementation partner | One-time | Number of identity providers, Git hosts and deployment targets to connect |
| Sandboxing and isolation | Internal platform or security engineers | One-time build, then recurring review | Whether agents run in Docker sandboxes or on shared hosts, which OpenHands documents as an option to enable |
| Identity, access and logging | Internal identity team or partner | One-time build, then recurring administration | Number of users and groups, SSO and audit log requirements, and whether you add these yourself rather than using Replit's Enterprise SSO, SCIM and audit logs |
| Upgrades, patching and on-call | Internal platform team | Recurring | Release cadence of each project, such as OpenHands v1.47.0 or code-server v4.146.0, and how many components you host |
| Security testing and audit evidence | Internal security team, testing firm or auditor | Recurring, at each review cycle | Scope of AI agent permissions, number of customer-facing apps and how often your assessors request evidence |
| Support and retained services | Vendor support, if purchased, or a partner retainer | Recurring, optional | Whether internal staff can answer vendor questions without outside help |
What you give up compared with Replit's hosted workspaces
Replit's hosted workspaces come with a managed runtime, a vendor-run trust program and contract paperwork that your team would otherwise assemble itself. Each open-source option moves some of that work into your organization, so the cards below name what you must build or buy before staff rely on it with patient, customer or EU personal data.
No managed deployment runtime
Replit's hosted deployments run on infrastructure Replit operates, on Google Cloud Platform in the United States. OpenHands, bolt.diy, code-server and Dyad give you the builder or editor, but not a place to publish and run the apps your staff generate. You must choose and operate the hosting, including the container platform, TLS, secrets handling, database and logging for every app that touches personal data. Confirm who owns each of those layers before approval.
No vendor audit report to hand over
Replit holds a SOC 2 report and a penetration test letter that it provides on request, which security reviewers can read without building the evidence themselves. Open-source projects publish no SOC 2 report for the software you run, so the report on your own environment must come from your own auditor. Plan for the controls, logs and change records that auditor will sample, and confirm which of them your hosting provider's report already covers.
Replit Trust CenterNo published DPA or sub-processor list
Replit publishes a Data Processing Agreement and a sub-processor list through its Trust Center, so an EU controller can start the processor review from a signed contract. An open-source project has no contract with you, and the license governs use of the code, not handling of personal data. Your team becomes the processor of record for the data, so you must document the data flows, the hosting provider's DPA and each model or API endpoint the tool calls.
No vendor single-tenant option
Replit lists single-tenant and private networking options only under its custom-priced Enterprise plan, and each customer gets its own isolated GCP project. With a self-hosted tool, isolation is the architecture you design. Decide whether each team gets its own instance, network segment and database, and confirm that the sandbox setting, such as the Docker sandbox documented for OpenHands, is enabled, because running the agent server without one gives it full access to the host filesystem.
OpenHands repositoryUpgrades and patches fall to your team
On Replit, the vendor applies platform updates and security fixes to the workspace and infrastructure. With self-hosted tools, your team must track releases, test each upgrade against your own apps and apply patches to the editor, agent server, container images and dependencies. Assign an owner, set a patch window and subscribe to release notices from each project. Stale builders are a common path to exposure in self-hosted deployments.
Identity and admin controls built in-house
Replit's Enterprise plan lists SSO, SCIM and audit logs. Open-source builders do not provide these controls out of the box, so you must place each tool behind your identity provider, deprovision accounts through your directory and forward logs to your monitoring platform. Ask each project which authentication options it supports and test offboarding before rollout, since an unremoved account keeps access to any project it owns.
Questions buyers ask before approving a self-hosted Replit alternative
Can our team self-host an open-source Replit alternative without outside help?
Yes, if your team has container, identity and Linux operations skills and time to own the platform after launch. OpenHands, bolt.diy and code-server all document self-hosting paths, including Docker, so a platform team can run a proof of concept without a partner. The harder part is the production work around the tool: single sign-on, access control, audit logging, backups, patching and a sandbox for any agent that executes code. Check each project's own installation and security documentation before deciding, and test the setup in a non-production network first.
What drives the cost and effort of running a self-hosted Replit alternative?
Cost comes from people, infrastructure and model access, and only some of it is one-time. The main recurring items are the engineers who operate, patch and upgrade the platform, the servers or VMs that host it, and any model API or local GPU capacity the agent calls. Effort rises with the number of users, the number of projects that need persistent storage, and how strictly you must integrate identity and logging. Ask any partner for a written scope that separates one-time setup from ongoing operations, and ask which of those items they quote and which remain with your team.
What do the MIT and Apache 2.0 licenses require of us?
OpenHands, bolt.diy and code-server are MIT-licensed, and Dyad's code outside its src/pro directory is Apache 2.0. Both licenses let you use, modify and run the software internally without paying a license fee, provided you keep the copyright and license notices. Neither license gives you vendor support, indemnity or a warranty. Have your legal team confirm the terms against the exact LICENSE file in each repository and record which version you deployed, because the terms can differ between components and releases.
Does sending prompts to an external LLM break our data boundary?
It does if the model endpoint sits outside your approved environment, because prompts, code and file contents are then sent to a third party. A self-hosted tool keeps the application in your network, but the model it calls decides where your data goes. bolt.diy supports Ollama, which can serve models on hardware you control, while other providers are external services with their own retention and training terms. Map every model endpoint the tool can reach, confirm each provider's data processing terms, and block outbound traffic to endpoints you have not approved.
How should we handle Dyad's split license?
Treat Dyad as two licenses, not one. The code outside its src/pro directory is Apache 2.0, while code in src/pro is under the Functional Source License 1.1, which restricts certain uses. Before you deploy, read the repository LICENSE file, identify exactly which directories your build includes, and confirm that no src/pro code is compiled or distributed in your version. If your use case touches the restricted directory, ask counsel whether the FSL terms allow it, because that answer depends on the specific use rather than on the tool alone.
What should we ask for in a DeployOpen scoping conversation?
Ask for a written, fixed scope that names the tools, the target environment (cloud account, data center or air-gapped network), the identity and logging integrations, the number of users and the deliverables. DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted open-source platforms in your own infrastructure, and it can run security testing of the AI and agent setup before rollout. Ask which items are one-time and which are ongoing support or retainers, which decisions remain yours, and what evidence you receive for your compliance reviewers. DeployOpen does not publish a price list, so the quote follows from the written scope.
What happens if the open-source project we chose stops being maintained?
You keep the code you already have under its license, but you lose upstream fixes, security patches and compatibility updates. Check the project's release history, open security advisories and maintainer activity before you commit, and compare the latest release against the date you evaluate it. Recent releases such as OpenHands v1.47.0 and code-server v4.146.0 show active maintenance at the time of their publication, but that status changes. Plan an exit path: keep your configuration and data in portable formats, pin versions, and budget for an internal or partner team to maintain a fork if upstream stops.
How DeployOpen helps you run an open-source alternative in your infrastructure
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Open-source and self-hosted Replit alternatives, we start with the tool and use case your security and compliance teams have approved, then build it so those teams can review it.
How we scope
- Engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.
- We confirm which open-source tool fits the workload, such as a browser IDE, coding agent or app builder, and its license terms.
- The written scope names the hosting environment, identity integration, data flows and which Replit features are being replaced.
How we build
- We deploy the chosen tool in your infrastructure with SSO, access control and audit logging configured for review.
- We set sandboxing and file and tool permissions so the agent or builder cannot reach host resources it does not need.
- We run security testing on the deployment, including application, API and AI agent checks, and deliver findings with fixes and a retest.
How we hand over
- You receive documentation of the architecture, data handling, access model and configuration decisions.
- We prepare control and evidence material that your compliance and security teams can use in their own assessments.
- We confirm with you, in writing, which capabilities of the hosted Replit workspace and deployments are not carried over.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- We plan upgrades for the open-source components so that security fixes and new releases are applied in a controlled way.
- We keep the documentation current as the tool, models or permissions change in your environment.

