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

# Introduction

> Welcome to the Renchi AI documentation

## Renchi AI

Renchi AI is an AI-powered voice call handling platform designed for UK HVAC and plumbing service businesses. It provides intelligent call routing, customer management, and automated booking capabilities.

## Key Features

<CardGroup cols={2}>
  <Card title="AI Call Handling" icon="phone">
    Powered by ElevenLabs Conversational AI, handles inbound calls with natural conversation flow
  </Card>

  <Card title="Customer Management" icon="users">
    Track customer interactions, manage contact information, and maintain call history
  </Card>

  <Card title="Job Scheduling" icon="calendar">
    Book appointments, assign technicians, and manage service tickets
  </Card>

  <Card title="Integrations" icon="plug">
    Connect with Twilio, Google Calendar, HubSpot, Salesforce, and Microsoft Teams
  </Card>
</CardGroup>

## Architecture Overview

<Steps>
  <Step title="Inbound Call">
    Customer calls your Twilio phone number
  </Step>

  <Step title="AI Processing">
    ElevenLabs Conversational AI handles the conversation
  </Step>

  <Step title="Webhook Events">
    Transcription, audio recording, and personalization data sent to backend
  </Step>

  <Step title="Backend Services">
    Next.js API routes process data → Supabase storage → Email notifications → Third-party integrations
  </Step>
</Steps>

## Quick Links

<CardGroup cols={3}>
  <Card title="API Reference" icon="code" href="/api-reference/overview">
    Explore all API endpoints including webhooks and integrations
  </Card>

  <Card title="Components" icon="puzzle-piece" href="/components/overview">
    Browse React component documentation with props and examples
  </Card>

  <Card title="Types" icon="brackets-curly" href="/types/overview">
    TypeScript types and Zod schemas reference
  </Card>
</CardGroup>

## Technology Stack

| Layer            | Technology                   |
| ---------------- | ---------------------------- |
| Framework        | Next.js 14 (App Router)      |
| Language         | TypeScript                   |
| Database         | PostgreSQL (Supabase)        |
| Authentication   | NextAuth v5 with JWT         |
| Voice AI         | ElevenLabs Conversational AI |
| Telephony        | Twilio                       |
| UI Components    | NextUI + Tailwind CSS        |
| State Management | Zustand                      |
| Validation       | Zod                          |

## Getting Started

1. **Set up environment variables** - Configure Supabase, Twilio, and ElevenLabs credentials
2. **Run database migrations** - `npx prisma migrate dev`
3. **Start development server** - `npm run dev`
4. **Configure your agent** - Set up voice settings, business hours, and services

## Support

For issues and feature requests, visit the GitHub repository or contact the development team.
