---
title: "Build Luna, a travel assistant"
description: "Turn a fresh HolaClaw assistant into Luna, a travel planner that knows your preferences, researches trips on the web and reminds you before you leave."
updated: 2026-11-17
canonical: https://holaclaw.ai/docs/guides/build-luna
---

This guide builds Luna, a travel assistant, from a fresh HolaClaw assistant. Along the way you use the four things that make an assistant yours: a personality, memory, the browser and scheduled tasks. By the end, Luna knows how you like to travel, plans a weekend away from real web pages, and reminds you to check in.

On HolaClaw Desktop you talk to Luna in the app. On HolaClaw Server you also talk to her from Telegram.

## Before you start

:::tabs
@tab Desktop
- A running assistant. See [Install HolaClaw Desktop](/docs/desktop/install-on-mac).
- A capable model helps here: planning a trip takes many steps and tool calls. A cloud model, or one of the larger local models, gives the best results.
@tab Server
- HolaClaw Server running, with a working chat. See [Your first chat](/docs/server/first-chat).
- The [browser](/docs/server/browser) set up. The container image includes it.
- A Telegram bot connected, for step 6. See [Connect Telegram](/docs/server/connect-telegram).
:::

## Step 1: Give her a personality

The personality is the agent's system prompt: who the assistant is and how it talks. It applies to every message.

:::tabs
@tab Desktop
The app has no personality setting yet, and a new assistant introduces itself as Hola. Tell it who it is in your first chat, and ask it to remember:

> From now on your name is Luna. You are a travel planner: practical, warm and brief. You suggest concrete options with prices and times, and you say when you are not sure. Please remember this.

The assistant saves this to its memory. Memory is looked up by what each message is about, so Luna comes through most clearly when you talk about travel, which is her job.

> [!TIP] For a personality that always applies
> If you are comfortable in a terminal, the system prompt is `/etc/holaclaw/agents/main/prompt.md` inside the assistant's virtual machine. See [Access the virtual machine](/docs/desktop/access-the-virtual-machine) and [The HolaClaw Server inside your assistant](/docs/desktop/the-holaclaw-inside) before you change it.
@tab Server
The personality lives in `agents/main/prompt.md`, in the config directory. Replace its contents with Luna's:

```markdown title="agents/main/prompt.md"
You are Luna, a travel planner. You are practical, warm and brief.

- Suggest concrete options, with prices, times and links.
- Plan around the traveller's saved preferences, and ask when something is missing.
- Say when you are not sure, and check prices on the web before you quote them.
```

Keep it short: the prompt is sent with every message. See [Configuration overview](/docs/server/configuration#how-to-edit-it) for how to edit files in your deployment, then restart the daemon, which reads the prompt only at start.
:::

Say hello and ask her name to check that it took.

## Step 2: Tell her how you travel

Preferences belong in memory. Tell Luna, in plain words, the things she should keep in mind every time:

> Remember a few things about how I travel: I live in Madrid. I fly economy but always want a window seat. I only travel with hand luggage. I am vegetarian. For hotels I like small places in walkable neighbourhoods, under 150 euros a night.

Luna saves each fact as a note, and from then on looks them up when a message calls for them. You can check what she knows by asking "What do you remember about my travel preferences?", and correct a fact the same way you told her.

What you tell Luna in a one-to-one conversation is private to you. On Server, where several people can talk to the same assistant, each person has their own memory. See [Memory](/docs/concepts/memory).

## Step 3: Plan a trip

Now ask for something real:

> Plan a weekend in Lisbon for the second weekend of next month. Find flights from Madrid on Friday evening and back on Sunday evening, two hotels that fit my preferences, and a simple plan for Saturday and Sunday.

Luna opens web pages with the browser to look up flights, hotels and opening hours, then puts the plan together around your preferences: a window seat, hand luggage only, vegetarian places to eat. On a slow or small model this takes a while, since every page is a few steps.

:::tabs
@tab Desktop
The browser runs headless inside the assistant's virtual machine, away from your own browser and its sign-ins. See [The browser](/docs/desktop/browser).
@tab Server
`holaclaw chat` shows the trace of the run next to the reply, including each page the browser opened. To keep the browser to a few sites, set `browser.allow` in `agent.toml`. See [The browser](/docs/server/browser).
:::

Booking stays with you: Luna finds and compares, and you buy the tickets.

## Step 4: Teach her how you like plans

If you correct the shape of a plan ("always put the total cost at the top, then a day-by-day list"), ask Luna to keep that as a skill:

> Save that as a skill for trip plans: total cost first, then flights, then the hotel, then one section per day.

A skill is a procedure the assistant follows for one kind of task. As the owner, you can teach it one, and from then on Luna uses it every time she plans a trip. See [Skills](/docs/concepts/skills).

## Step 5: Schedule a reminder

Ask Luna to remind you before the trip:

> Remind me on the Thursday before the trip at 18:00 to check in for the flight, and include the flight number.

Luna creates a scheduled task. When it runs, the reminder arrives in the same conversation you asked from. A task has no memory of its own, so Luna writes the details it needs, like the flight number, into the task when she creates it.

A recurring task works the same way: "Every Monday at 9:00, check the price of the Lisbon flights and tell me if it dropped."

:::tabs
@tab Desktop
The assistant's **Tasks** page lists every task, when it runs next and its state. To change or cancel one, ask Luna in a chat. See [Scheduled tasks](/docs/desktop/scheduled-tasks).
@tab Server
Tasks run on the server's clock and time zone. See [Scheduled tasks](/docs/server/scheduled-tasks).
:::

## Step 6: Talk to her from Telegram (Server)

Channels are coming soon to the HolaClaw Desktop app. Until then, on Desktop you can chat with Luna in the app, or set up Telegram inside the [virtual machine](/docs/desktop/access-the-virtual-machine) with the same steps as below.

On Server, link your own Telegram account to your identity, so Luna knows it is you. Take your id from `holaclaw identity list`, then:

```sh
holaclaw invite create --identity <your id> --channel tg-main
```

Send the code it prints to your bot. From now on, your Telegram messages to the bot come from the same person as your terminal chats: the same memory, the same preferences. Ask Luna on Telegram "Where am I going next month?" and she knows.

Reminders follow the conversation they were asked from: a reminder you set on Telegram arrives on Telegram.

## Where to go next

- [Personality](/docs/concepts/personality): what goes in a system prompt.
- [Approvals](/docs/concepts/approvals): decide what Luna may do without asking.
- [Connect popular MCP servers](/docs/guides/popular-mcp-servers): give Luna more tools.
- [Run HolaClaw for your household or team](/docs/guides/household-or-team): share Luna with your travel companions.

