Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Agentic Flights

Give an AI your trip plans. It searches Google Flights across airports, dates, and trip lengths, compares the best options, and checks current prices before you choose.

Give this to your AI

Copy this prompt into Codex or Claude Code and replace the trip details:

Install Agentic Flights with:
`python -m pip install -U agentic-google-flights-tool`

Install its reusable skill for the AI app you are using:
- Codex: `agentic-flights init-skill --scope user --harness codex`
- Claude Code: `agentic-flights init-skill --scope user --harness claude`

Use the installed Agentic Flights skill to find the best flights for my trip.
Explore flexible dates, nearby airports, and trip lengths when they
could improve the result. Show options that balance price and travel time. Check
the current total price and baggage rules for the best options. Tell me if any part
of the search was incomplete. Do not book anything.

Trip: [origin, destination, dates or flexibility, trip length, travelers,
currency, baggage, stop limits, and timing or airline preferences].

Install it yourself

Agentic Flights requires Python 3.11 or newer. It uses Google Chrome if installed. Otherwise, install Chromium:

python -m pip install -U agentic-google-flights-tool
python -m playwright install chromium

Install the skill in the current project for both Codex and Claude Code:

agentic-flights init-skill

This adds the skill to .agents/skills for Codex and .claude/skills for Claude Code. Add --scope user to use it in every project. It will not replace a changed skill unless you pass --force.

What it can do

  • Search one-way, round, and multi-city trips, including trips that return from a different city or to a different airport.
  • Explore nearby airports, dates, and stay lengths; filter by price, stops, airline, time, duration, and overhead cabin bag.
  • Compare price against travel time without mixing different currencies.
  • Check the current total price, same-flight match, baggage rules, and booking links.
  • Say when it could not read a flight, stopped early, or still has work to do.

Ways agents can use it

The skill is the easiest way to start. The package also has a Python API, a command-line interface, and an optional local MCP connection for AI apps:

python -m pip install -U "agentic-google-flights-tool[mcp]"
agentic-flights-mcp

Run agentic-flights guide for the workflow or agentic-flights guide <operation> for one operation. Saved searches stay on your computer and expire after seven days without use by default. The project does not run a hosted search service.

Know before relying on a result

This unofficial project is not affiliated with Google. Google Flights has no supported public search API, so page changes can break the tool. Results show what was visible at search time; they are not reservations or price guarantees. The tool cannot prove that Google showed every fare. Confirm the price, baggage, and seats with the seller. The tool does not book travel.

Agent guide · Technical reference · PyPI · Contributing · Security

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentic_google_flights_tool-0.4.3.tar.gz (128.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentic_google_flights_tool-0.4.3-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file agentic_google_flights_tool-0.4.3.tar.gz.

File metadata

File hashes

Hashes for agentic_google_flights_tool-0.4.3.tar.gz
Algorithm Hash digest
SHA256 eb89d40e073f309256c080f94b7b45cbe1b1c389313c6a501b6a1856b2159864
MD5 603eafd4ad7b8776b0f8f45b3dc68b09
BLAKE2b-256 f22126649c3047dd41e225f5a0c4356b8c8fa1e703849bb3c47867549c4455c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_google_flights_tool-0.4.3.tar.gz:

Publisher: publish.yml on alberto-tamez/agentic-google-flights-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agentic_google_flights_tool-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_google_flights_tool-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 95dff277f4f810f15885d3bb4b43deae44fa65971f31cc359f96233dbe673b9f
MD5 55a8df4fbb3f5a69fb66e22be91d83de
BLAKE2b-256 9f96326dc18e7bb017f1ddf82e594e59b1123959ef5fca86c91aaec331039771

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentic_google_flights_tool-0.4.3-py3-none-any.whl:

Publisher: publish.yml on alberto-tamez/agentic-google-flights-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page