Skip to content

Agent setup

Give your agent the whole trip. Add the Wego skill and let your AI agent plan your travel, flights and hotels, just by asking.

Updated View as Markdown
For humans

Just tell your agent where you want to go. Add the Wego skill to your AI agent and it plans the flights and hotels with you, start to finish. It searches and compares; you review and book on Wego.

Give your agent this line

Read and follow https://docs.wego.com/agent-setup/index.md

Paste it into your AI agent (Claude Code, ChatGPT, or any agent you already use). That URL is this page as plain markdown: the agent reads it and sets itself up.

How it works

  1. Paste the line into your agent. Claude Code, ChatGPT, or any agent you already use.
  2. It sets itself up. The agent installs the CLI (with your OK) and logs you in through your browser. No API key to paste; the browser login stores a credential locally for you.
  3. Ask for any trip. However you say it. It searches and compares flights and hotels, then hands you a Wego link to review and book.

What you can ask for

  • Cheapest nonstop from Jakarta to Bangkok in March
  • Business class to London, cheapest fare this month
  • Refundable 4-star in Dubai Marina under $250 a night
  • 3 nights in Bali for two, flights from KL and a beach hotel

The commands it runs

Prefer to set up by hand? Run the same steps the agent does:

# 1. Install the CLI
curl -fsSL https://docs.wego.com/cli/install | bash

# 2. Install the Wego skill so your agent knows every command
wego skill install

# 3. Log in once (opens your browser, stores the token locally)
wego login

Then ask for any trip, or drive it yourself with Wego CLI. For the HTTP contract, see the API Reference.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close