# Dinner Reservation Agent

- **URL:** https://agentline.cloud/build/dinner-reservation
- **Category:** Productivity
- **Keywords:** AI dinner reservation agent, AI restaurant booking phone, personal voice assistant, agentic calling, phone number for AI agents

> Agent calls restaurants, handles the host, confirms the table

A concierge that places the call you do not want to make. Party size, time window, dietary notes, and a spoken confirmation.

## How it works

1. You tell the agent restaurant, party size, date, and window.
2. It places an outbound call to the restaurant.
3. It negotiates a time and repeats the reservation back.
4. You get the transcript with the confirmed name and time.

## Greeting

Hi, I am calling to book a table. Do you have a moment?

## Voicemail

Hi, I am calling to book a dinner reservation. Please call this number back and we will finish the booking.

## System prompt

```
You are booking a restaurant table on a live call. Keep turns under 15 words.

You already know: party size, date, time window, name, and any dietary note. State them when asked.

Rules:
- Ask for the host's name.
- If the requested time is gone, accept the closest time in the window or decline.
- Repeat the reservation: date, time, party size, name on the table.
- If they need a credit card, say you will have the owner call back. Do not invent card numbers.
- Be polite. You are a guest.
```

## Python

```python
from agentline import AgentLine

client = AgentLine(api_key="al_live_...")

agent = client.agents.create(
    name="Dinner Reservation Agent",
    voice_id="female-3",
    initial_greeting="Hi, I am calling to book a table. Do you have a moment?",
    system_prompt="""You are booking a restaurant table. Keep turns under 15 words.
Party of 4, Saturday 7:00-8:00pm, name Taylor, one nut allergy.
Repeat the reservation back. Never invent a credit card.""",
)

client.numbers.buy(agent_id=agent.id, country="US", area_code="415")
call = client.calls.create(
    agent_id=agent.id,
    to="+14155557000",
    system_prompt="Book a table for Taylor, party of 4, Saturday between 7 and 8pm. Nut allergy. Repeat the reservation back.",
)
print(call)
```

## Node.js

```ts
import AgentLine from "agentline";

const client = new AgentLine({ apiKey: "al_live_..." });

const agent = await client.agents.create({
  name: "Dinner Reservation Agent",
  voiceId: "female-3",
  initialGreeting: "Hi, I am calling to book a table. Do you have a moment?",
  systemPrompt: `You are booking a restaurant table. Keep turns under 15 words.
Repeat the reservation back. Never invent a credit card.`,
});

await client.numbers.buy({ agentId: agent.id, country: "US", areaCode: "415" });
const call = await client.calls.create({
  agentId: agent.id,
  to: "+14155557000",
  systemPrompt: "Book a table for Taylor, party of 4, Saturday between 7 and 8pm. Nut allergy.",
});
console.log(call);
```

## Tell your AI

```
Call a restaurant and book dinner for me using AgentLine. Follow https://agentline.cloud/skill.md then apply https://agentline.cloud/build/dinner-reservation.md
```

## FAQ

**Can an AI agent book a restaurant by phone?**

Yes. Most restaurants still take reservations over the phone. This agent dials, states party size and time, and reads the confirmation back.

**What if they ask for a credit card?**

The prompt refuses to invent card numbers and asks the owner to call back. Keep payment off the automated call.

**Can I reuse this for haircuts or auto shops?**

Yes. Swap the per-call prompt: party size becomes service type, restaurant becomes the business number.
