All Blogs

How We Build at amazee.ai: Speeding Up AI Coding Agents Without Cutting Corners

May 26, 2026By Lauren Morris7 min read

In Short: Speeding Up AI Coding Agents

  • The Methodology: amazee.io utilizes a full-stack web app template specifically optimized for AI coding agents and hosting infrastructure.
  • The Security Layer: All agent-generated code routes LLM calls through the amazee.ai private gateway, ensuring regional data residency and OpenAI-compatible security.
  • The Agent-Native Stack: By using an opinionated, high-reliability stack (Drizzle, Zod, TypeScript Strict), we minimize agent hallucinations and ensure “Safe-by-Design” outputs.
  • Contextual Governance: Technical guardrails are embedded directly in AGENTS.md files, making secure coding patterns the automated path of least resistance.

AI coding tools are everywhere right now, and they’re definitely helping teams ship code at a pace we’ve never seen before. But for any engineering organization, there’s an important open question: how do we adopt these tools without quietly destroying the security and privacy standards we’ve spent years building?

That question matters more for us than most. At amazee.ai, safety and privacy are at the core of what we sell. We provide private, region-aware AI infrastructure to our customers, but we also build with AI ourselves, every day, using that same architecture. This is how we do it, and how you can, as well.

Starting with a Solid Foundation

Reliability with AI agents starts with reducing their options. If you give an agent a blank slate, it will make different architectural decisions every time. Decision fatigue is the enemy of clean output.

At amazee.ai, our internal development starts with a template we created. It’s a full-stack web app template wired for two specific things: being built with an AI agent and being deployed to Lagoon.

When you clone it and open it in your agent of choice, you just run /setup. Immediately, you’re in a working project with an opinionated stack, a Postgres database, session-based auth, and a deployment pipeline. It gives your team a path to production without requiring you to reinvent the wheel.

We decided on this stack for a reason:

  • Frontend: React with Vite, Tailwind, and shadcn/ui.
  • Backend: Express and PostgreSQL using TypeScript in strict mode.
  • Data & Validation: Drizzle as the ORM and Zod for input validation.
  • Security: Sessions in Postgres, passwords hashed with bcrypt, and .lagoon.yml and docker-compose.yml files shipped in the repo.

Opinionated stacks are sometimes framed as just “taste.” But for projects built by AI agents, they’re a huge reliability lever. Agents produce more consistent, working code when they’re working with a stack they know well and a structure they can predict.

LayerTechnologyPurpose
LanguageTypeScript (Strict Mode)Eliminates type ambiguity for agents
FrontendReact, Vite, Tailwind, shadcn/uiStandardized UI components and styling
BackendExpress & Node.jsPredictable, well-documented logic
DatabasePostgreSQLRobust session-based persistence
ORMDrizzleType-safe schema management for LLMs
ValidationZodRuntime schema enforcement and input safety
DeploymentLagoon & DockerImmutable infrastructure and CI/CD parity

The Non-Negotiables: Two Things We Won’t Let Agents Skip

A starter kit is only as good as its defaults. We make sure our agents follow two non-negotiable rules:

1. Private AI Calls via amazee.ai

Your proprietary code and customer data should never be used to train a public model. This is why all our AI calls route through the amazee.ai gateway, not out to public providers. Every AI feature in an app built from this kit stays within the boundary we control. The gateway is OpenAI-compatible, so our existing SDKs work unchanged, but the requests remain region-aware.

This is the same gateway that our customers use, because if it isn’t safe enough for us, it’s not safe enough for you.

2. Baked-in Security via AGENTS.md

The AGENTS.md files aren’t just documentation; they’re the core operating instructions for our Agent-Native Stack, instructions the agent loads before writing a single line of code. They spell out the rules:

  • Every protected route must use a requireAuth middleware.
  • Every input is validated with Zod before it touches the database.
  • No any types and no hand-built SQL strings.
  • Helmet and rate limiting are on by default.

The result is that safe code becomes the path of least resistance. The agent isn’t asked to “remember” security on top of building features; it’s asked to build features in a repo where the insecure shortcut simply doesn’t exist. This ensures our Agent-Native Stack remains secure from the first commit to production.

From Prototype to Production

Internally, we use this process whenever we need to spin something up quickly, whether it’s a prototype, an internal tool, or a customer proof of concept. We get a running app on our hosting infrastructure fast, with defaults that won’t trip a security review later.

We think of AI tooling, hosting, and security as one single challenge to be overcome, not three. We build with the infrastructure we sell, and we put the rules where the agent actually reads them.

This is just how we work. Every day.

If you’re ready to ship faster without compromising on privacy, check out how the amazee.ai AI gateway can give your team the same region-aware, private AI infrastructure we use every day.

Frequently Asked Questions

Lauren Morris Portrait

Author

Lauren Morris, Head of Product and Engineering

Lauren Morris is the Head of Product and Engineering at amazee.ai, where she brings a deeply specialized background in information retrieval, metadata, taxonomy, and knowledge organization to enterprise AI strategy. Holding a Master’s in Library and Information Science along with a Harvard Business School Online Certificate in Strategy Execution, Lauren excels at bridging the gap between intricate data environments and high-impact agile engineering. At amazee.ai, she spearheads product workflows for secure, private AI gateway environments, leveraging her expertise in RAG (Retrieval-Augmented Generation) architectures to help enterprises scale local models while avoiding vendor lock-in. She is also an active technical thought leader and educator, specializing in context window optimization and frontier LLM deployment strategies.

Related Blogs

  • Software Plaza video interview featuring a side-by-side split screen with Dwayne Taylor and Lauren Morris
    Private AI InfrastructureAI Data PrivacyAI Security

    From Information Science to Infrastructure: How Data Science Shapes the Future of AI

    July 16, 2026 • Nicole M. Laine • 6 min read

    Read more
  • A conference room filled with attendees seated at desks facing presentation screens, overlaid with a purple gradient background.
    AI Data PrivacyPrivate AI InfrastructureAI Security

    What the United Nations Taught Us About Private AI

    July 2, 2026 • Matthew Saunders • 11 min read

    Read more
  • TFiR "The Agentic Enterprise" video interview featuring a side-by-side split screen of host Swapnil Bhartiya andMichael Schmid
    Agentic AIPrivate AI InfrastructureAI Security

    Running Autonomous AI Agents Without Losing Control of Your Data

    June 24, 2026 • Jason Lewis • 5 min read

    Running autonomous AI agents locally or on public clouds leaks data. Learn how to deploy them securely via a secure, private LLM infrastructure.

    Read more
  • A futuristic interface graphic featuring a prohibited symbol over an AI brain network, symbolizing the suspension of Anthropic Fable 5 and Mythos 5 models.
    LLMs / AI ModelsAI SecurityPrivate AI Infrastructure

    The Sudden Suspension of Anthropic’s Fable 5 and Mythos 5: What We Know So Far

    June 16, 2026 • Katy Walsh • 6 min read

    Anthropic suspended Claude Fable 5 & Mythos 5 over US export controls. Learn why a private LLM API & sovereign AI infrastructure are critical for continuity.

    Read more
  • Tech graphic
    Agentic AILLMs / AI ModelsBuild with AI

    Senior Engineer vs. 6 AI Agents: A Real-World Enterprise Codebase Experiment

    June 10, 2026 • Philipp Melab • 9 min read

    I pitted myself against 6 AI agents in a strict TypeScript repo. Discover why some models saved 80% while others were a net-negative expense.

    Read more
  • Tech Graphic with ai
    AI Data PrivacyAI SecurityPrivate AI Infrastructure

    The Enterprise AI Gateway for Privacy: Introducing amazee.ai’s Private AI Gateway

    May 27, 2026 • Thomas Schröpfer • 7 min read

    Secure your LLM workloads with a managed, OpenAI-compatible Private AI Gateway. ISO 27001, SOC 2 Type II, HIPAA-compliant, with full data sovereignty across EU, CH, US, UK, DE, and AUS.

    Read more