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

Meta image of Lauren Morris, Head of Product & Engineering at amazee.ai, smiling at the camera.

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

  • Featured blog graphic for the enterprise AI glossary post on amazee.ai. Displays a stylized 3D glass sculpture combining the letters A and Z, illuminated with vivid neon blue, purple, and magenta light reflections on a dark blue background.
    AI Data PrivacyPrivate AI InfrastructureAI Security

    Your A-to-Z Enterprise AI Glossary

    September 1, 2026 • Katy Walsh and Nicole M. Laine • 15 min read

    Learn key enterprise AI terms from A to Z. Understand AI gateways, data sovereignty, RAG, prompt caching, and zero-token retention in plain English.

    Read more
  • Teaser visual for an enterprise AI blog post displaying an isometric 3D processor chip illuminated by magenta and purple neon lighting. A digital padlock icon sits above the microchip on an abstract circuit board to represent private AI infrastructure, data sovereignty, and secure gateway deployment.
    Private AI InfrastructureAI Data PrivacyAI Security

    Scaling Enterprise AI Starts with a Private AI Gateway

    August 24, 2026 • Katy Walsh, technical review by Thomas Schröpfer • 11 min read

    Scaling AI across your company? Discover how a private AI gateway protects customer data, stops shadow AI, and prevents vendor lock-in.

    Read more
  • 3D isometric graphic of a glowing human brain connected to digital server blocks, code panels, and data charts on a pastel purple background, representing AI concepts and neural networks.
    Private AI InfrastructureAI Data PrivacyAI Security

    Enterprise AI Infrastructure: Navigating AI Terminology in 2026

    August 5, 2026 • Nicole M. Laine, technical review by Ricardo Luchsinger • 14 min read

    Read more
  • Featured hero visual for amazee.ai blog post on AI gateway data privacy, showing a glowing glass cube with a padlock and neon caution symbol on a futuristic circuit board.
    AI SecurityAI Data PrivacyPrivate AI Infrastructure

    Hidden AI Data Privacy Trade-Offs: Why ‘Some’ AI Gateways Fail at Zero-Data Retention

    July 29, 2026 • Katy Walsh, technical review by Thomas Schröpfer • 12 min read

    Discover how middleware tools inside AI gateways save your data, and learn how to enforce true Zero-Data Retention defaults for your company.

    Read more
  • 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 and Lauren Morris • 6 min read

    Discover how to scale agentic workflows without compromising data privacy. Learn why a regional, private API gateway is critical for secure enterprise AI.

    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

    The UN Open Source Week exposed critical enterprise AI risks: vendor lock-in & data leaks. Learn why sovereign infrastructure is the ultimate fix.

    Read more