> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usebrainbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Based Language Fundamentals

# Based Language Fundamentals

Welcome to the **Based Language Fundamentals** guide. This reference document provides a comprehensive explanation of Based's core language constructs, their declaration syntax, arguments, and practical usage examples. Understanding these fundamentals will enable you to build sophisticated conversational agents with precision and confidence.

Based is built around a set of specialized constructs designed specifically for conversational AI workflows. These constructs provide a high-level abstraction that makes it easy to build complex interactions without getting lost in implementation details.

<CardGroup cols={2}>
  <Card title="Core Constructs" icon="cube" href="/language-fundamentals/core-constructs">
    Learn about `say`, `loop`, `talk`, `until`, and the `.ask` method
  </Card>

  <Card title="State Management" icon="database" href="/language-fundamentals/state-management">
    Understand how to persist data across conversation turns
  </Card>

  <Card title="Advanced Patterns" icon="layer-group" href="/language-fundamentals/advanced-patterns">
    Multiple until statements, tool schemas, and conditional flow
  </Card>

  <Card title="Platform Functions" icon="microphone" href="/language-fundamentals/platform-functions">
    Voice-specific functions like transfer and end\_call
  </Card>

  <Card title="Utility Functions" icon="wrench" href="/language-fundamentals/utility-functions">
    HTTP requests, SMS, integrations, and debugging
  </Card>

  <Card title="Full Example" icon="book" href="/language-fundamentals/full-example">
    Complete Book Recommendation Agent walkthrough
  </Card>
</CardGroup>
