# Voice agent quickstart (/en/ai/get-started/quickstart)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

Set up a working voice agent in under five minutes. This page walks you through installing Agora Skills to give your AI coding assistant the official quickstarts and Agora CLI workflows. You then use the CLI to sign in, clone the official starter, and run it locally. You can follow the CLI steps yourself or paste the sample prompt and let your assistant handle setup for you.

If you are new to Agora, read [Core concepts](/en/introduction/core-concepts) first to understand how RTC, Signaling, channels, UIDs, and tokens fit together.

### Install Agora Skills

Agora Skills teach your AI coding assistant how to work with Conversational AI projects using official starter repos and the Agora CLI, including signing in, project binding, generating environment files, and running diagnostics. Install the CLI in the next section, or ask your assistant to run the installer for you.

```bash
npx skills add AgoraIO/skills
```

Paste the following prompt into your assistant's chat. You can replace Python with TypeScript or Go depending on your language preference:

```text
Set up and run the Agora Conversational AI Python starter project locally.
```

Your assistant installs the CLI, signs you in, scaffolds the official starter, and guides you through the remaining steps. Follow the manual CLI steps below if you prefer to run each command yourself.

### Install the Agora CLI

The Agora CLI is a native Go binary available at [AgoraIO-Community/cli](https://github.com/AgoraIO-Community/cli).

<Tabs defaultValue="mac-linux" groupId="ai-install-os">
  <TabsList>
    <TabsTrigger value="mac-linux">
      macOS and Linux
    </TabsTrigger>

    <TabsTrigger value="windows-powershell">
      Windows (PowerShell)
    </TabsTrigger>
  </TabsList>

  <TabsContent value="mac-linux">
    ```bash
    curl -fsSL https://dl.agora.io/cli/install.sh | sh
    agora --help
    ```

    If the `agora` command is not found after installation, re-run with `--add-to-path` or
    manually add the install directory to your shell profile.
  </TabsContent>

  <TabsContent value="windows-powershell">
    ```powershell
    irm https://dl.agora.io/cli/install.ps1 | iex
    agora --help
    ```

    If your execution policy blocks inline scripts, download `install.ps1` and run:

    ```powershell
    powershell -ExecutionPolicy Bypass -File .\install.ps1
    ```
  </TabsContent>
</Tabs>

## Sign in, scaffold, and run

Sign in with the Agora CLI, clone the starter project, and configure it for your chosen language.

1. Sign in to Agora Console.

   ```bash
   agora login
   ```

2. Use `agora init` to clone the official starter for your chosen template, bind it to your
   Agora project, and write the runtime-specific environment file.

<Tabs defaultValue="python" groupId="ai-sdk-language">
  <TabsList>
    <TabsTrigger value="python">
      Python
    </TabsTrigger>

    <TabsTrigger value="typescript">
      TypeScript
    </TabsTrigger>

    <TabsTrigger value="go">
      Go
    </TabsTrigger>
  </TabsList>

  <TabsContent value="python">
    ```bash
    agora init my-python-demo --template python
    cd my-python-demo
    # Set up the web client and Python backend.
    bun run setup
    # Start the web client and Python backend.
    bun run dev
    ```
  </TabsContent>

  <TabsContent value="typescript">
    ```bash
    agora init my-nextjs-demo --template nextjs
    cd my-nextjs-demo
    pnpm install
    pnpm dev
    ```
  </TabsContent>

  <TabsContent value="go">
    ```bash
    agora init my-go-demo --template go
    cd my-go-demo
    make setup
    make dev
    ```
  </TabsContent>
</Tabs>

3. Open `http://localhost:3000` and click **Start conversation**.

If the agent does not join or transcripts do not appear, run `agora project doctor` to
check credential validity, feature enablement, and network reachability.

<CalloutContainer type="info">
  <CalloutDescription>
    Conversational AI Engine is enabled by default for new projects and can't be disabled. If you're using an older project and the agent fails to start, verify that Conversational AI Engine is enabled on the **RTC Services** page in [Agora Console](https://console.agora.io/).
  </CalloutDescription>
</CalloutContainer>

## What just happened

The CLI cloned the selected starter, connected it to your Agora project, and wrote
the environment configuration required to run the demo locally.

The demo runs a local browser app and server-side agent controls:

* **Browser app**: Captures microphone audio and plays the agent response.
* **Server-side controls**: Generate tokens and start or stop the agent session.

Agora provides the real-time path between the user and the agent. The user and
agent join the same Agora channel, and Agora transports low-latency audio and
session events between them.

The configured models handle the speech pipeline:

1. ASR converts user speech to text.
2. The LLM reasons over the conversation and generates a response.
3. TTS converts the response back to speech.

## Next steps

### Build and customize

* **[Manage agent sessions](../build/start-stop-agent)**: Start and stop agents with the SDKs or REST API.
* **[Customize models](../build/custom-model-integration/managed-mode)**: Use managed mode, or connect your own LLM and TTS providers.
* **[Improve conversation quality](../best-practices/optimize-latency)**: Tune latency, audio settings, interruptions, and turn taking.
* **[Optimize audio setup](../best-practices/audio-setup)**: Set audio profiles, scenarios, and capture behavior for your target clients.
* **[Review the API reference](/en/api-reference/api-ref/conversational-ai)**: Check REST and SDK parameters when you move beyond the starter.

### Observe and troubleshoot

* **[Observe runtime behavior](../build/handle-runtime-events/monitor-agent-runtime)**: Monitor events, transcripts, session history, and failures.
* **[Debug agent failures](../build/handle-runtime-events/debug-agent-failures)**: Correlate client callbacks, webhook events, and turn-level data.

### Prepare for production

* **[Review security and privacy](/en/introduction/security-privacy)**: Check authentication, encryption, geofencing, compliance, and operational safeguards.
* **[Restrict where agents run](../best-practices/regional-restrictions)**: Keep agent traffic within the regions your deployment requires.
