# GPT-Live

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

## 7. Client delegation



In this lesson, we’ll look at **client delegation**. With client delegation, your application handles the back and forth between GPT-Live and your backend.

This is useful when you want to connect GPT-Live to an agent you’ve already built or control what context your application sends to the backend and what it returns to GPT-Live.

For more details, see the cookbook on [building a voice agent that follows an SOP](https://developers.openai.com/cookbook/articles/sop_to_voice_agent_builder).

### Try it yourself

Use the prompt below to build your own voice agent and follow the delegation as you talk to it.



**Build a voice agent with client delegation:**

```text
[@OpenAI Developers](plugin://openai-developers@openai-curated), can you build a delivery voice agent for a restaurant using GPT-Live 1.1 and client delegation? Ask me to choose a cuisine first, then build the application around it. Give the backend agent an SOP for taking orders and three server tools: calculate the order total, check delivery availability, and place an approved order. Let me talk to the agent and follow the entire flow, highlighting the key events, the context sent to the backend, tool calls and results, and updates returned to GPT-Live.

Lesson 7: https://developers.openai.com/api/training/gpt-live/7-client-delegation.md
```
