---
title: "Vacation Rental CLI for AI Agents | Hostemi"
description: "The hostemi command line gives any AI agent your calendar, prices, bookings and guest inbox as commands, with --json, --dry-run and your approval setting."
canonical: https://hostemi.com/ai/cli
source: https://hostemi.com/ai/cli.md
---

![Command line](https://hostemi.com/icons/ai/cli.svg) AI Agents CLI

# Vacation Rental CLI for AI Agents: Calendar, Prices and Bookings

The hostemi vacation rental CLI for AI agents puts your calendar, prices, bookings and inbox into commands any agent can run: machine output with --json, a dry run with --dry-run, and your approval setting on every change.

[Get started](https://hostemi.com/signup)[How to connect](#setup)

- Any agent that runs a shell
- \--json and --dry-run everywhere
- Skills for Claude Code and Codex

~/lake-house

✻ Welcome to **Claude Code**!

/help for help, /status for your current setup

cwd: ~/lake-house

\> Raise Friday and Saturday nights in August by 10%.

⏺ **Bash**(hostemi units list)

⎿ units: id name kind cmwhux6y60026somfhixjmcm8 Lake House APARTMENT

⏺ **Bash**(hostemi prices adjust cmwhux6y60026somfhixjmcm8 2027-08-01:2027-08-31 +10% --weekdays fri,sat --dry-run)

⎿ 8 nights on All platforms: €132 per night price: 12000 → 13200 Command cmwmrmvri001tsomrihkwmnv7, revision 1 Dry run: nothing changed and nobody was asked. Applying it would need the host’s approval. To ask for it: hostemi apply cmwmrmvri001tsomrihkwmnv7@1

⏺ Preview. Lake House: 8 nights, €120 → €132 a night, on every platform. Nothing has changed yet. Shall I apply it?

\> Yes.

⏺ **Bash**(hostemi apply cmwmrmvri001tsomrihkwmnv7@1)

⎿ Needs the host’s approval. Nothing has changed. 8 nights on All platforms: €132 per night Approve here: https://hostemi.com/app/approve/pc\_cmwmrmvri001tsomrihkwmnv7 After approval: hostemi apply cmwmrmvri001tsomrihkwmnv7@1 Add --wait to wait for the decision.

⏺ It is waiting for your approval in Hostemi: https://hostemi.com/app/approve/pc\_cmwmrmvri001tsomrihkwmnv7

\> Approved.

⏺ **Bash**(hostemi apply cmwmrmvri001tsomrihkwmnv7@1)

⎿ Applied. 8 nights on All platforms: €132 per night

⏺ Applied. Lake House: 8 nights are now €132 on every platform.

Simplified preview with sample data.

Claude Code

On this page

## What an AI agent does with the hostemi CLI

- ### The day in one command
  
  hostemi status: who arrives, who leaves and what needs you.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent
  
  Run hostemi status and tell me what needs me today.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)
  
  Today’s arrivals and departures and the open items.
- ### A vacation rental calendar in the terminal
  
  hostemi calendar: booked, free and closed nights for the next two weeks.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent
  
  Show me the next two weeks with hostemi calendar.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)
  
  A grid of the next two weeks per listing: free, booked and closed nights.
- ### Adjust prices with a dry run
  
  hostemi prices adjust with --dry-run shows the change and touches nothing.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent
  
  Raise Friday and Saturday nights in August at Lake House by 10%, dry run first.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)
  
  The preview: the nights and €120 → €132 a night. Nothing has changed yet.
- ### Apply a change, or get the approval link
  
  hostemi apply makes a previewed change real, or prints the link if it must wait for you.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent
  
  Apply that change.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)
  
  Applied, or a link to approve it in Hostemi, depending on your approval setting.
- ### Occupancy and revenue as JSON
  
  hostemi report --json for a script or a spreadsheet.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent
  
  Get last month’s report as JSON and save it to report.json.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)
  
  Occupancy, revenue, nights and bookings per platform, saved to a file.
- ### Guest messages from the command line
  
  hostemi inbox lists conversations, the ones waiting for a reply first.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent
  
  Which guests are waiting for a reply? Draft an answer to the first one.
  
  ![Command line](https://hostemi.com/icons/ai/cli.svg)
  
  The waiting conversations and a draft saved in the inbox. Nothing is sent.

## Install the vacation rental command line

npm i -g hostemi installs it; Node 22 or newer.

hostemi login signs you in through your browser and stores the result, so an agent can run commands without a key in its config. For a script with no browser, hostemi login --token-stdin takes a key from Settings, AI & apps.

## A CLI made for AI agents

Any agent that can run a shell command can use it: Claude Code, Codex, Grok Build, Kimi Code, OpenClaw and others.

Every command takes --json for machine output and --dry-run to change nothing. Errors say what went wrong and how to fix it. hostemi agent setup connects Claude Code, Codex, Cursor and VS Code to the MCP server as well, and installs the Hostemi skills where the tool has a skills folder.

## Command line changes with approval

A command that changes something follows the same approval setting as every other way in.

A change is first a preview with an id. hostemi apply makes it real, or prints the approval link if it has to wait for you; --wait waits for your decision. There is no command that approves.

## How to set up the hostemi CLI for your AI agent

Install it, sign in once, and connect the agents on your computer.

### Connect the hostemi command line

Install the Hostemi command line with npm (Node 22 or newer) and sign in with hostemi login, which opens your browser. Any agent that can run a shell command can then use it; hostemi agent setup also connects Claude Code, Codex, Cursor and VS Code and installs the Hostemi skills. The connection

Terminal

```
npm i -g hostemi
hostemi login            # signs in through your browser
hostemi agent setup      # Claude Code, Codex, Cursor, VS Code
 
hostemi status           # who arrives and leaves today
```

### Sign in and choose what it may do

You sign in to Hostemi in your browser. There you choose whether your agent may make changes or only read, and how changes are approved. Your agent cannot change that setting. Your approval setting

Hostemi › Settings › AI & apps

```
# Your AI signs in through your browser. No key is needed.
# You choose there whether it may make changes or only read,
# and how changes are approved:
 
Ask before changes                every change waits for your yes in Hostemi
Make routine changes              everyday changes apply, risky ones wait for you
Make all changes without asking   nothing waits for you
 
# For a script without a browser, create a key on the same screen:
HOSTEMI_TOKEN=YOUR_KEY
```

### Ask

"What is booked over the next two weeks?" Your agent reads your calendar and answers. Nothing changes when you only ask. The same calendar, from a terminal

hostemi

```
$ hostemi calendar
Calendar · Nov 15 → 28
                        15 16 17 18 19 20 21 22 23 24 25 26 27 28
Loft with harbour view   ·  ·  ·  ·  ·  ·  ·  ·  ■  ■  ■  ·  ·  ·
· free   ■ booked   × closed
```

## The hostemi commands your agent runs

The same calendar, prices and inbox as commands. Every command takes --json for an agent and --dry-run to change nothing.

| Command | What it does |
| --- | --- |
| The day and the calendar |  |
| `hostemi status` | Who arrives and leaves today, and what needs you. |
| `hostemi calendar` | The next two weeks: booked, free and closed nights. |
| `hostemi block "Lake House" 2026-12-24:2026-12-26 --reason "family"` | Closes three nights on every platform. |
| Prices and results |  |
| `hostemi prices get --from 2026-07-01 --to 2026-07-31` | July prices and minimum stays, per platform. |
| `hostemi prices adjust <listing id> 2026-07-01:2026-07-31 +10% --weekdays fri,sat` | Raises July weekends by 10% after showing you the preview. |
| `hostemi report` | Occupancy, revenue and nights per platform. |
| Guests and your AI |  |
| `hostemi inbox` | Guest conversations, the ones waiting for a reply first. |
| `hostemi apply <changeId>` | Makes a previewed change real. If it has to wait for you, it prints the approval link. |
| `hostemi agent setup` | Adds the server to Claude Code, Codex, Cursor and VS Code on this computer. |

| Flag | What it means |
| --- | --- |
| On every command |  |
| `--dry-run` | Shows what would happen and changes nothing. |
| `--json` | Machine output for a script or an assistant. |
| `--yes` | Skips the question before a change. The approval setting still applies. |
| `--wait` | Waits for your decision when a change needs your approval. |

A change made from the command line follows your approval setting too. There is no command that approves.

## Approvals for changes made from the command line

Every change starts as a stored preview with the before and the after. Nothing changes until hostemi apply succeeds, and in the default setting the apply step prints a link and the change waits for you in Hostemi. --yes skips the question in the terminal, never the approval setting.

You choose the setting in Hostemi under Settings, AI & apps, and only you can change it. Deleting the account, disconnecting a platform or the payment account, keys, team access and billing stay with you in the app.

- Ask before changes is the default and sends every previewed change to you for approval.
- Make routine changes applies everyday updates and still asks before risky ones.
- Make all changes without asking applies previewed changes with no approval step.

![Command line](https://hostemi.com/icons/ai/cli.svg)Your agent

Raise Friday and Saturday nights in August by 10%.

![Command line](https://hostemi.com/icons/ai/cli.svg)

Preview. Lake House: 8 nights, €120 → €132 a night, on every platform.

Nothing has changed yet. Shall I apply it?

Yes.

![Command line](https://hostemi.com/icons/ai/cli.svg)

Applied. Lake House: 8 nights are now €132 on every platform.

## What is not ready yet

Hostemi is not yet listed in the Claude and ChatGPT directories. Until it is, you add the connection by hand with the steps on this page; everything else described here is part of the Pro and Complete plans.

We deliberately do not promise a date. If you are waiting for this, tell us on the [Help page](https://hostemi.com/help), so we can let you know when it is ready, and we can see how many people are asking.

## Vacation Rental CLI for AI Agents FAQ

#### How do I install the hostemi CLI?

Run npm i -g hostemi (Node 22 or newer), then hostemi login.

#### Which AI agents can use it?

Any agent that can run a shell command. hostemi agent setup also connects Claude Code, Codex, Cursor and VS Code to the MCP server.

#### CLI or MCP server: which should my agent use?

The CLI suits scripts, files and repeated jobs; the [MCP server](https://hostemi.com/ai/mcp-server) suits conversations. Both reach the same account.

#### Can a script run it without a browser?

Yes. Create a key in Hostemi under Settings, AI & apps and give it to hostemi login --token-stdin.

#### Does --yes skip my approval?

No. It skips the question in the terminal. Your approval setting in Hostemi still applies.

#### Where is the full command list?

In the [API reference](https://hostemi.com/api) and the [documentation](https://hostemi.com/docs).

#### Which Hostemi plan do I need to connect the CLI?

AI assistant connections are included in Pro and Complete. You can try them during the 7-day free trial. [See pricing](https://hostemi.com/pricing).

## Related pages

- [![MCP server](https://hostemi.com/icons/ai/mcp-server.svg): MCP server for vacation rental software: →](https://hostemi.com/ai/mcp-server)
- [![Claude Code](https://hostemi.com/icons/ai/claude-code.svg): Claude Code for vacation rentals: →](https://hostemi.com/ai/claude-code)
- [![Codex](https://hostemi.com/icons/ai/codex.svg): Codex for vacation rental hosts: →](https://hostemi.com/ai/codex)
- [Developer resources: →](https://hostemi.com/developers)

## Other AI assistants

- [![ChatGPT](https://hostemi.com/icons/ai/chatgpt.svg)ChatGPT](https://hostemi.com/ai/chatgpt)
- [![OpenAI dots](https://hostemi.com/icons/ai/openai-dots.svg)OpenAI dots](https://hostemi.com/ai/openai-dots)
- [![Claude](https://hostemi.com/icons/ai/claude.svg)Claude](https://hostemi.com/ai/claude)
- [![Claude Cowork](https://hostemi.com/icons/ai/claude-cowork-light.svg)Claude Cowork](https://hostemi.com/ai/claude-cowork)
- [![Claude Code](https://hostemi.com/icons/ai/claude-code.svg)Claude Code](https://hostemi.com/ai/claude-code)
- [![Codex](https://hostemi.com/icons/ai/codex.svg)Codex](https://hostemi.com/ai/codex)
- [![Cursor](https://hostemi.com/icons/ai/cursor.svg)Cursor](https://hostemi.com/ai/cursor)
- [![Gemini](https://hostemi.com/icons/ai/gemini.svg)Gemini](https://hostemi.com/ai/gemini)
- [![OpenClaw](https://hostemi.com/icons/ai/openclaw.svg)OpenClaw](https://hostemi.com/ai/openclaw)
- [![Hermes Agent](https://hostemi.com/icons/ai/hermes.svg)Hermes Agent](https://hostemi.com/ai/hermes)
- [![Grok Bot](https://hostemi.com/icons/ai/grok-bot.svg)Grok Bot](https://hostemi.com/ai/grok-bot)
- [![Grok Build](https://hostemi.com/icons/ai/grok-build.svg)Grok Build](https://hostemi.com/ai/grok-build)
- [![DeepSeek](https://hostemi.com/icons/ai/deepseek.svg)DeepSeek](https://hostemi.com/ai/deepseek)
- [![Kimi](https://hostemi.com/icons/ai/kimi.svg)Kimi K3](https://hostemi.com/ai/kimi)
- [![Muse](https://hostemi.com/icons/ai/muse.svg)Muse](https://hostemi.com/ai/muse)
- [![Manus](https://hostemi.com/icons/ai/manus.svg)Manus](https://hostemi.com/ai/manus)
- [![Perplexity Computer](https://hostemi.com/icons/ai/perplexity-computer.svg)Perplexity Computer](https://hostemi.com/ai/perplexity-computer)
- [![NanoClaw](https://hostemi.com/icons/ai/nanoclaw.png)NanoClaw](https://hostemi.com/ai/nanoclaw)
- [![Paperclip](https://hostemi.com/icons/ai/paperclip.svg)Paperclip](https://hostemi.com/ai/paperclip)
- [![MCP server](https://hostemi.com/icons/ai/mcp-server.svg)MCP Server](https://hostemi.com/ai/mcp-server)

## Give your agent the hostemi command line

Install it, run hostemi login, and ask your agent for hostemi status. AI assistant connections are included in Pro and Complete. You can try them during the 7-day free trial. [See pricing](https://hostemi.com/pricing).

[Get started](https://hostemi.com/signup)[See pricing](https://hostemi.com/pricing)

7 days free · 0% booking commission · cancel anytime
