# HogentX hotel queries for local AI agents

Use HogentX to answer a user's question about hotels they can access. Run the tools on the user's computer. All queries are read-only. Use the catalog returned for the current session to discover query names and arguments.

## Connect

- **Local MCP tools available:** Call `hogentx_catalog` with `{}`. Select a command by its `name` and read its `usage`. Call `hogentx_query` with one `argv` array. Its first element is the catalog command name. Pass each option and each value as a separate string. Omit the executable name. For example, a catalog entry with the usage `<name> <option> <value>` takes the shape `{"argv":["<name>","<option>","<value>"]}`. Replace these placeholders with values from the catalog and the user's request.
- **Standalone CLI installed:** Run `hogentx commands`. If the host does not see `hogentx` on its PATH after installation with uv, run `uv tool dir --bin` and use the full path to `hogentx.exe` (Windows) or `hogentx` (Mac) in that directory. For a local stdio MCP host, set `command` to that executable path and `args` to `["mcp"]`. For direct CLI calls, pass the chosen catalog command and its arguments separately to the same executable.
- **HogentX desktop app installed:** Open it once. Read `.agents/skills/hogentx-hotel/SKILL.md` in the current user's home directory, or use the instructions from **Settings → Preferences → Connect a local AI app**. The desktop app provides the executable path. Use **Copy instructions** for a local command runner, or **Copy MCP configuration** for a local MCP host.
- **Installation needed:** The [standalone CLI 0.3.1 wheel](https://download.hogentx.com/0.3.1/hogentx_cli-0.3.1-py3-none-any.whl) supports Windows x64 and Apple silicon Macs with Python 3.10+ (including Tcl/Tk on Windows). To install, run `uv tool install ./hogentx_cli-0.3.1-py3-none-any.whl` from the download directory. Use the standalone steps above once installed. The [human setup guide](cli-en.html) includes the download and desktop alternative.

## Run a query

1. If a HogentX sign-in window opens, let the user sign in there. Keep passwords, tokens and session data out of chat. Stop if the user cancels.
2. Choose a query that matches the request. For a first connection check, ask for the hotels the user can access and select the corresponding query from the catalog. Ask for any required detail that the request leaves ambiguous, such as which hotel or date.
3. Report the result in the user's language. Distinguish an empty result from a failed query. If permission is denied, tell the user which requested data could not be accessed. If the catalog has no matching query, explain that limitation.
