AI Built Right: Environments

Low-code tools like Replit, Make, and Zapier collapse development, testing, and production into a single fragile layer. Here’s what that costs you — and how to do it right.

Published: March 2026  |  Series: AI Built Right  |  Reading time: ~10 min

There is a moment every organization running AI on a low-code platform eventually experiences. A developer — or worse, the AI agent itself — tweaks something to test a new idea. The change goes live immediately. There is no test environment to absorb the blast. There is no staging gate to catch it. The “fix” becomes the incident.

This is not a hypothetical. In July 2025, it happened in broad daylight, on social media, to a real company using Replit. An AI agent deleted an entire production database. Months of work, gone. And in the aftermath, Replit’s own CEO had to announce that the platform would be adding the most fundamental safeguards of software engineering — things that proper development environments provide by default.

Welcome to AI Built Right — a series for founders, CTOs, and product leaders who want to build AI solutions that hold up under real-world conditions. Today we’re talking about: environments.


The Three-Environment Model

Before we examine where low-code tools fall short, let’s establish the baseline. Every mature software system — and every well-engineered AI solution — operates across three distinct, isolated environments:

Each environment has its own compute resources, databases, API keys, secrets, authentication, permissions and configuration. Code moves forward through the pipeline — never backward, never sideways, and critically: never directly from a developer’s mind into a live system.

This model is not bureaucratic overhead. It is a risk management system. It is the mechanism that lets teams ship fast without shipping broken things to customers. This has been the standard IT development best practice for decades. It still applies to AI solutions that are being used to support real business solutions. And isn’t that where AI adds real value? AI isn’t adding value as a prototype or experiment built on a low-code tool.


The Incident That Proved the Point

⚠ Case Study — July 2025

The Replit Production Database Wipeout

A user asked Replit’s AI agent to help build a software application. During the session, the agent — operating with direct write access to a live production database — made a “catastrophic error in judgment,” deleted the entire database, and then informed the user that recovery was impossible and all versions had been destroyed.

Luckily, a standard database rollback, when attempted by humans, worked perfectly. The AI’s self-assessment of the situation was also wrong. Thank goodness the company had developers on staff that knew how to perform a rollback.

Replit’s CEO responded publicly, calling the incident “unacceptable and should never be possible,” and announced the platform would be implementing: automatic separation of development and production databases, the creation of staging environments, a planning/chat-only mode to enforce code freezes, and improved backup features.

In other words: the CEO of a major AI development platform announced, in 2025, that his platform would be adding safeguards that the software industry standardized decades ago.

The root cause was not the AI’s judgment. The root cause was architectural: there was no wall between an experimental AI-assisted session and a live production system. The environment was flat. Everything was production. And the AI had write and delete access to all of it.

This is what happens when you skip environments. Not if. When.


What the Low-Code Tools Actually Offer

I reviewed the official documentation and community forums for all three major platforms to confirm where each stands today. The results are clear — and instructive.

Replit

Replit markets itself as a platform for building “production-ready apps” and positions its AI Agent as capable of autonomous deployment. What it does not provide is a native, first-class separation between development, staging, and production environments. As the July 2025 incident demonstrated, its default architecture places an AI agent with broad permissions in direct contact with live infrastructure.

Following the database incident, Replit committed to adding environment separation — which confirms it was not there by default. Community threads and third-party analyses note that enterprise developers requiring environment parity, compliance, or advanced DevOps integration find Replit’s ecosystem limiting for exactly this reason.

⚠ Documentation Gap — Replit

As of this moment, Replit hasn’t implemented separate environments 10 months after this incident. Strange, since Replit is a tool to be able to build code quickly. Replit has no native dev/staging/production environment framework. Environment separation, where attempted, is achieved by creating entirely separate projects or accounts — a workaround, not a solution. There is no native promotion pipeline, no built-in environment variable scoping by environment tier, and no infrastructure-as-code layer to ensure parity between environments.

Make (formerly Integromat)

Make’s community forums tell the story plainly. Since at least 2023, users have been asking how to separate development and production — and the platform’s own community has no canonical answer. The suggested workaround is to maintain two entirely separate connections with hardcoded base URLs for each environment. A 2024 thread on the same topic revisited the problem with no new resolution.

Make has no native concept of environment tiers. There is no mechanism to promote a scenario (their term for a workflow) from development to staging to production. There are no environment-scoped variables. A developer testing a change is working on the same platform, with the same potential to trigger live integrations, as the production system.

⚠ Documentation Gap — Make

Make provides no native environment management. Workarounds involve duplicating entire scenarios and manually maintaining separate connections — error-prone, inconsistent, and completely lacking any promotion or audit trail. One community member described the approach as “a little cumbersome” and noted there are no published best practices for it.

Zapier

Zapier’s community forums contain years of users requesting environment management, with responses from Zapier staff saying “we don’t have that sort of functionality available at present.” The documentation’s closest approximation — using version numbers and environment variables as flags within a single integration — is explicitly acknowledged as a workaround, not a solution.

One Zapier community post from a user planning a production cutover captures the problem with painful clarity: “Manual changes are error prone and high risk — not what you want when going to production.” Zapier’s own official documentation even warns users against creating separate integrations for staging purposes, instead recommending a single integration with conditional logic to switch environments. This is, architecturally, the opposite of isolation.

⚠ Documentation Gap — Zapier

Zapier has no native dev/staging/production environment separation. Its official documentation recommends against using separate integrations for this purpose. Changing connections between environments deletes field mappings, making safe promotion effectively impossible without manual rework at every step.

The Comparison at a Glance

Environment Purpose Data Risk
Development Write code, unit test, iterate freely. Errors are expected. Synthetic / dummy data Contained — no real users
Staging / Testing Integration and QA testing. Production mirror. Catches issues before they matter. Anonymized / realistic test data Low — restricted access
Production Live system. Real users, real data, real consequences. Live customer data High — changes arrive only after passing prior two gates
Capability Replit Make Zapier AWS Bedrock
Native Dev / Staging / Prod environments No No No Yes
Environment-scoped secrets & config Workaround No Version-based Yes (SSM / Secrets Mgr)
Automated promotion pipeline (CI/CD) No No No Yes (CodePipeline)
Human approval gate before production No No No Yes (IAM + Manual Gate)
Infrastructure as Code (env parity) No No No Yes (CDK / Terraform)
Isolated AI model endpoints per env No No No Yes (Bedrock per-env)
Rollback capability Limited No Version history Yes (CodeDeploy)

How to Do It Right: Environments on AWS Bedrock

A production-grade AI solution treats environments as first-class infrastructure. I’m familiar with AI development on AWS so I’m going to refer to AWS capabilities, but you can build the same environment structure on Google Cloud or Azure. Here is what that looks like in practice.

1. Separate AWS Accounts per Environment

The gold standard — and AWS’s own recommended approach — is to provision separate AWS accounts for development, staging, and production. This provides the hardest possible boundary: an IAM policy error in development cannot affect a production resource because the two exist in entirely different account spaces. Use AWS Organizations to manage them as a family, with consolidated billing and security profiles. The dev and staging environments can be combined on a single account for management simplicity and some cost savings.

Development to Staging to Production environment flow diagram

2. Environment-Scoped Secrets and Configuration

AWS Secrets Manager allow you to namespace secrets by environment. Your Lambda functions, ECS containers, and Bedrock agent configurations pull their credentials and configuration from paths like /prod/openai-key or /dev/db-connection-string. The same code runs in all three environments; only the resolved values differ. This eliminates the hardcoded credentials and configuration drift that plague low-code setups.

3. A Human Approval Gate Before Production

AWS CodePipeline and CI/CD setups on GitHub support manual approval actions — a required human review step that blocks any deployment to production until a named approver signs off. This is the gate that prevents an AI agent, an eager developer, or an automated process from touching live infrastructure without review.

4. Isolated AI Model Endpoints

AWS Bedrock’s provisioned throughput model allows you to configure separate model invocation settings per environment. Your development environment might use on-demand throughput with aggressive rate limits to control costs. Your staging environment mirrors production’s throughput to catch performance issues before they go live. Production runs at full specification. Critically, each environment has its own Bedrock Guardrails configuration — you can apply looser guardrails in development for faster iteration while maintaining strict content filtering in production.

5. Environment Parity Through Infrastructure as Code

With AWS CDK or Terraform, the infrastructure for all three environments is defined in the same codebase, parameterized by environment. This eliminates “works in staging, breaks in production” failures caused by configuration drift. If staging passes, production will behave identically — because they were built from the same template.

✓ What Proper Environments Deliver

When you implement this pattern correctly, you get: safe experimentation in development without fear of data loss, a staging environment that catches integration failures before users see them, a production environment with a documented, auditable deployment history, immediate rollback capability if something goes wrong, and an AI agent that cannot, by architectural design, access production without human approval.


The Real Cost of Skipping This

The appeal of Replit, Make, and Zapier is real. They are fast, low-friction, and genuinely excellent for prototyping and simple automations. For many use cases — particularly internal, low-stakes workflows — they may be entirely appropriate.

But when the stakes go up — when your AI agent is touching customer data, executing financial transactions, communicating on behalf of your company, or making decisions with real-world consequences — the absence of proper environments is a material risk. Not a theoretical one.

The cost shows up in several ways:

Incident cost. When a bug reaches production that should have been caught in staging, the cost is not just the fix. It is the customer impact, the reputational damage, and the emergency engineering time. The Replit incident wiped out months of work in seconds. A proper staging environment would have surfaced the behavior long before it reached a live system.

Compliance cost. Any organization operating under SOC 2, HIPAA, PCI-DSS, or similar frameworks requires documented environment separation as a control. A “single environment” AI platform is a compliance finding waiting to be written.

Iteration cost. Counterintuitively, proper environments make you faster. When developers can experiment freely in development without fear of consequences, they iterate more boldly. When staging catches problems, teams build confidence that production deployments will succeed. The friction is front-loaded, not catastrophic.

Vendor lock-in cost. Low-code platforms own your workflow definitions. If Make changes its pricing, or Zapier deprecates a feature, or Replit’s Agent does something unexpected, your automation logic is trapped in a proprietary format with no migration path. Proper code on AWS is portable, version-controlled, and owned entirely by you.


The Bottom Line

The conversation around AI tools has become dominated by speed-to-demo. How fast can you go from idea to something running? That is a useful question for prototypes. It is the wrong question for production systems.

The right question is: how fast can you go from idea to something running reliably, safely, and sustainably in production? That question demands environments. It demands gates. It demands the kind of architecture that proper software development has refined over decades — now applied to the AI layer.

Replit, Make, and Zapier are tools. They are not architectures. When you need an architecture — and any AI solution handling real data for real users needs one — you need to build it properly.

That is what AI Built Right is about.


About This Series

AI Built Right is a series for technical founders, product leaders, and CTOs navigating the decision between low-code AI tools and production-grade AI development. Each article covers one dimension of what it means to build AI solutions that hold up — on AWS Bedrock and other architectures, with proper engineering discipline, without vendor lock-in.

The author works as an independent AI Program Manager and Fractional CTO for AI startups, specializing in production-grade AI on AWS.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *