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

# Build an AI sales agent or sales roleplay avatar

> Give an AI sales agent or a sales roleplay trainer a real-time video face with LemonSlice: architecture, buyer personas, reactions with CWM-1, scoring calls, joining video meetings, latency and cost.

LemonSlice is a real-time interactive avatar API. In sales, it gives a voice agent a live, lip-synced video face, for one of two jobs:

* **AI sales agents** talk to real prospects on your website, in your product or in a meeting.
* **Sales roleplay avatars** play the buyer, so reps can practice discovery, demos, objection handling and negotiation.

Your app keeps its own LLM, playbook, personas, scoring and CRM data; LemonSlice adds the face.

## Architecture

Use the same pipeline as any LemonSlice voice agent: speech-to-text, your LLM, text-to-speech, then LemonSlice for video. Start from the [quickstart](https://lemonslice.com/docs/introduction/quickstart.md), or add the avatar to an existing agent with [LiveKit](https://lemonslice.com/docs/livekit/index.md), [Pipecat](https://lemonslice.com/docs/pipecat/index.md), [Agora](https://lemonslice.com/docs/agora/index.md) or a [WebSocket](https://lemonslice.com/docs/websocket/index.md).

For a website sales agent without code, use the [widget](https://lemonslice.com/docs/widget/overview.md): give the avatar a voice, personality and knowledge base, then embed it on your pages.

## Choose a model

| Model | Use it when | Availability |
| - | - | - |
| LemonSlice-2.1 | Default choice for photoreal agents and buyers | All paid plans |
| [CWM-1](https://lemonslice.com/docs/reference/cwm-1.md) | The buyer or agent should react with emotions and actions | Ultra and Enterprise |
| [Flash](https://lemonslice.com/docs/reference/flash-model.md) | Lowest latency, for fast back-and-forth | Ultra and Enterprise |
| [CWM-1 Lite](https://lemonslice.com/docs/reference/lite-model.md) | Many reps practicing at once, where cost per minute matters most | Ultra and Enterprise |

See [pricing](https://lemonslice.com/pricing) for plan details.

## Build realistic buyers for roleplay

* **Persona.** Put the buyer's role, company, budget, goals and objections in your LLM prompt, and tell it how hard to push back. Run the same scenario for every rep, or vary it.
* **Look.** Create each buyer from a single image. See [avatar image tips](https://lemonslice.com/docs/prompting-guide/avatar-image-tips.md). To switch buyers or settings between scenarios without a new session, use [real-time avatar updates](https://lemonslice.com/docs/reference/realtime-updates.md).
* **Reactions.** With CWM-1, set `action_engine="natural"` so the buyer reacts on its own, or trigger specific emotions from your scenario logic (for example, skeptical when the rep skips discovery). See [CWM-1](https://lemonslice.com/docs/reference/cwm-1.md).

## Score calls and give feedback

Your agent already sees the full transcript of the conversation. After the call, send it to your LLM with your sales methodology to score the rep and suggest what to try next. For widget sessions, use the [call metadata API](https://lemonslice.com/docs/widget/call-metadata.md) to list and look up calls.

## Take actions during a sales call

Use tool calling in your agent to book a meeting, look up an account, update your CRM or show content on screen while the avatar talks. See the [tool calling example](https://lemonslice.com/blog/form-filling-demo).

## Join video meetings

A LemonSlice avatar can join Zoom, Google Meet, Microsoft Teams or Webex as a participant. It hears the meeting audio (and optional chat) but does not see video. See [Send your avatar to a Zoom call](https://lemonslice.com/docs/reference/zoom-meetings.md).

## Keep replies fast

Sales conversations move quickly, and pauses feel awkward. Budget latency across the whole pipeline, not just the avatar: see [Budget your latency](https://lemonslice.com/docs/reference/production-checklist.md#budget-your-latency).

## Plan for session length and cost

* Check the idle and GPU [timeouts](https://lemonslice.com/docs/reference/production-checklist.md#check-timeouts) before launch. Practice blocks and demos can run longer than the 30-minute default GPU timeout; contact [support@lemonslice.com](mailto:support@lemonslice.com) for longer sessions.
* When the rep or prospect hangs up, end the LemonSlice session yourself instead of waiting for the idle timeout: disconnect the room or terminate the session on [LiveKit](https://lemonslice.com/docs/livekit/index.md), call the leave API on [Agora](https://lemonslice.com/docs/agora/index.md), send `terminate` on a [WebSocket](https://lemonslice.com/docs/websocket/index.md#end-the-session), or send a `force-end` control event for [hosted Daily sessions](https://lemonslice.com/docs/reference/production-checklist.md#check-timeouts).

## Disclosure

Tell prospects and reps that they are talking to an AI, and follow the recording and consent rules that apply to your calls.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.