Skip to content

Design Overview

The Design section is where you build your AI assistant's behavior. Everything here is scoped to the currently selected project — make sure you've picked a project from the selector in the top navigation bar.

What You'll Build

At a high level, designing a conversation means defining:

  1. Who the AI isAgents
  2. What steps the conversation goes throughStages
  3. What the AI can do when users say thingsActions & Effects
  4. How the AI understands user intentClassifiers
  5. How data is extracted from the conversationContext Transformers
  6. Shared behaviors that work across stagesGlobal Actions
  7. Project-wide safety, guardrails, and moderationGuardrails & Moderation
  8. AI-powered utility functionsTools
  9. FAQ content for consistent answersKnowledge Base
  10. User profile schema and project constantsGlobal Memory
  11. Pre-written prescripted answers with variant samplingSample Copies

Where to Start

If you're setting up a new project, follow the Project Design Guide for a step-by-step walkthrough — from mapping the conversation flow to writing prompts and testing the finished result.

Templating & Scripting

Prompts throughout the Design section support dynamic templates with Handlebars syntax. You can insert variables, use conditionals, and loop over data. For custom logic beyond what templates can do, action effects support JavaScript scripting.

Released under the Apache-2.0 License.