Skip to content
This page is available in Markdown format. Markdown is recommended for AI consumption. See /agent-setup/index.md for this page, or/llms.txt for the full documentation index.

Wego for your AI agent

Give your agent the whole trip.

Paste one line into Claude Code, Codex, OpenClaw, Hermes or any agent you already use. It sets itself up, then plans flights and hotels with you. You review and book on Wego.

See what to ask
  • One line to set up
  • No API key
  • Open source CLI and skill
View as MarkdownView this page as plain text
works in
Sharjah to Cairo, two people
claude code – ~/tripswego skill
one way from Sharjah to Cairo for two people, around nine days from now. Going home to see family. What do you have?
3 calls
Bash(wego flights search SHJ CAI 2026-11-26 --adults 2 --currency AED --site AE)├ searchId 7c2fe1a0d3 · exit 0
Bash(wego flights results 7c2fe1a0d3)├ unsettled · 14 candidates · exit 0
Bash(wego flights results 7c2fe1a0d3 --wait --sort price_asc)├ 179 candidates · settled converged · top tripId 5e8a1c04b6 · exit 0
Settled, 179 candidates. The three nonstops, cheapest first:
AirlineDepartArriveFor two
Nile Air (Recommended)09:0011:45AED 940
Air Cairo––AED 983
Air Arabia––AED 1,068
Hold on, that date is the 26th, nine days from now? And those prices are for both of us together, not per person?
Yes to both. Today is 17 Nov, so nine days out is 26 Nov, which is what was searched. AED 940 is the total for two.
Let's take the Nile Air one. Show me the fare details.
2 calls
Bash(wego flights trip 5e8a1c04b6 --search 7c2fe1a0d3 --currency AED)├ NP174 · Wingie · fareId 9a3d17b2c8 · exit 0
Bash(wego flights fares 9a3d17b2c8 --currency AED)├ NP174 · refundable · AED 940 · exit 0
Nile Air NP174, nonstop, 3h 45m. Wingie has it at AED 940 and it is refundable, cheaper than the airline's own AED 1,100.Continue to checkout · AED 940
ChatGPT Codex
one way from Sharjah to Cairo for two people, around nine days from now. Going home to see family. What do you have?
3 commands
Bash(wego flights search SHJ CAI 2026-11-26 --adults 2 --currency AED --site AE)├ searchId 7c2fe1a0d3 · exit 0
Bash(wego flights results 7c2fe1a0d3)├ unsettled · 14 candidates · exit 0
Bash(wego flights results 7c2fe1a0d3 --wait --sort price_asc)├ 179 candidates · settled converged · top tripId 5e8a1c04b6 · exit 0
Settled, 179 candidates. The three nonstops, cheapest first:
AirlineDepartArriveFor two
Nile Air (Recommended)09:0011:45AED 940
Air Cairo––AED 983
Air Arabia––AED 1,068
Hold on, that date is the 26th, nine days from now? And those prices are for both of us together, not per person?
Yes to both. Today is 17 Nov, so nine days out is 26 Nov, which is what was searched. AED 940 is the total for two.
Let's take the Nile Air one. Show me the fare details.
2 commands
Bash(wego flights trip 5e8a1c04b6 --search 7c2fe1a0d3 --currency AED)├ NP174 · Wingie · fareId 9a3d17b2c8 · exit 0
Bash(wego flights fares 9a3d17b2c8 --currency AED)├ NP174 · refundable · AED 940 · exit 0
Nile Air NP174, nonstop, 3h 45m. Wingie has it at AED 940 and it is refundable, cheaper than the airline's own AED 1,100.Continue to checkout · AED 940
OpenClaw
one way from Sharjah to Cairo for two people, around nine days from now. Going home to see family. What do you have?
3 calls
Bash(wego flights search SHJ CAI 2026-11-26 --adults 2 --currency AED --site AE)├ searchId 7c2fe1a0d3 · exit 0
Bash(wego flights results 7c2fe1a0d3)├ unsettled · 14 candidates · exit 0
Bash(wego flights results 7c2fe1a0d3 --wait --sort price_asc)├ 179 candidates · settled converged · top tripId 5e8a1c04b6 · exit 0
Settled, 179 candidates. The three nonstops, cheapest first:
AirlineDepartArriveFor two
Nile Air (Recommended)09:0011:45AED 940
Air Cairo––AED 983
Air Arabia––AED 1,068
Hold on, that date is the 26th, nine days from now? And those prices are for both of us together, not per person?
Yes to both. Today is 17 Nov, so nine days out is 26 Nov, which is what was searched. AED 940 is the total for two.
Let's take the Nile Air one. Show me the fare details.
2 calls
Bash(wego flights trip 5e8a1c04b6 --search 7c2fe1a0d3 --currency AED)├ NP174 · Wingie · fareId 9a3d17b2c8 · exit 0
Bash(wego flights fares 9a3d17b2c8 --currency AED)├ NP174 · refundable · AED 940 · exit 0
Nile Air NP174, nonstop, 3h 45m. Wingie has it at AED 940 and it is refundable, cheaper than the airline's own AED 1,100.Continue to checkout · AED 940
one way from Sharjah to Cairo for two people, around nine days from now. Going home to see family. What do you have?
3 calls
Bash(wego flights search SHJ CAI 2026-11-26 --adults 2 --currency AED --site AE)├ searchId 7c2fe1a0d3 · exit 0
Bash(wego flights results 7c2fe1a0d3)├ unsettled · 14 candidates · exit 0
Bash(wego flights results 7c2fe1a0d3 --wait --sort price_asc)├ 179 candidates · settled converged · top tripId 5e8a1c04b6 · exit 0
Settled, 179 candidates. The three nonstops, cheapest first:
AirlineDepartArriveFor two
Nile Air (Recommended)09:0011:45AED 940
Air Cairo––AED 983
Air Arabia––AED 1,068
Hold on, that date is the 26th, nine days from now? And those prices are for both of us together, not per person?
Yes to both. Today is 17 Nov, so nine days out is 26 Nov, which is what was searched. AED 940 is the total for two.
Let's take the Nile Air one. Show me the fare details.
2 calls
Bash(wego flights trip 5e8a1c04b6 --search 7c2fe1a0d3 --currency AED)├ NP174 · Wingie · fareId 9a3d17b2c8 · exit 0
Bash(wego flights fares 9a3d17b2c8 --currency AED)├ NP174 · refundable · AED 940 · exit 0
Nile Air NP174, nonstop, 3h 45m. Wingie has it at AED 940 and it is refundable, cheaper than the airline's own AED 1,100.Continue to checkout · AED 940

The homepage example conversation. Prices and schedules change. See 28 real runs

Set up in three steps

Three steps. No code.

Paste the line

Copy the setup line below into your agent.

It sets itself up

The agent installs the CLI with your OK and logs you in through your browser. No API key to paste.

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.

Install

Run curl -fsSL https://agents.wego.com/cli/install | bash. It brings the CLI and the skill together.

Log in once

Run wego login. It opens your browser and stores the token locally.

Ask, or drive it

Ask your agent for a trip, or run the Wego CLI yourself.

To skip the skill, set WEGO_CLI_INSTALL_SKILL=0 first and add it later with wego skill install. wego skill path prints where it landed. For the HTTP contract, see the API Reference.

Or let your agent do the setup

One line. It installs the Wego CLI and skill, then logs you in.

Paste into your agent

Install the Wego CLI by running: curl -fsSL https://agents.wego.com/cli/install | bash. Then read and follow https://agents.wego.com/skills/agent-onboarding/SKILL.md

The install command is spelled out in the line on purpose: an agent can treat your own paste as consent to run it. Read the installer first by leaving off | bash. The CLI and skill are open source.

Ask the way you would ask a person

Tap any card to copy it.

Then follow up:sort by priceadd a return datenonstop onlywiden the dates

Your agent searches. You book.

Paste one line

Into Claude Code, Codex or any agent you already use.

It sets itself up

Installs the CLI with your OK, then logs you in through your browser.

Ask for any trip

It searches and compares, then hands you a Wego link to review and book.

Questions

Claude Code, Codex, OpenClaw, Hermes and any agent that can run a terminal command and read a setup file.

No. The browser login stores a credential locally for you.

You can read the script first by leaving off | bash. The CLI and the skill are both open source on GitHub.

Yes. Set WEGO_CLI_INSTALL_SKILL=0 before installing, and add the skill later with wego skill install.

No. It searches and compares, then gives you a Wego link. You review the trip and book on Wego.

Other ways in

Research preview
Navigation

Type to search…

↑↓ navigate↵ selectEsc close