Building Your First AYW Bot: A Step-by-Step Guide
A complete tutorial for building your first human-guided AI chatbot with AYW. From setup to deployment in 15 minutes.
Published: May 16, 2026 | 8 min read | Part 1 of AYW Dev.to Series
What is AYW?
AYW (As You Wish) is a modern, interactive chatbot platform that puts human guidance at the center of AI conversations. Unlike traditional chatbots that follow rigid scripts or fully autonomous AI that can go off-track, AYW bots learn from human guidance and adapt to each unique customer journey.
Prerequisites
Node.js 18+ installed
PostgreSQL database (we use Prisma ORM)
OpenAI API key (for AI responses)
Basic knowledge of TypeScript and React
Architecture Overview
AYW uses a monorepo architecture with three main apps:
ayw-monorepo/ ├── apps/ │ ├── backend/ # Express + TypeScript API │ ├── frontend/ # React + Vite web app │ └── chatbot/ # Chatbot logic (in development) ├── packages/ # Shared utilities └── prisma/ # Database schema
Enter fullscreen…