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

Metadata

Release files for agentic-google-flights-tool 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentic-google-flights-tool 0.4.4
File Size Uploaded Provenance
agentic_google_flights_tool-0.4.4.tar.gz 147.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentic-google-flights-tool 0.4.4
File Interpreter ABI Platform
agentic_google_flights_tool-0.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 207.7 kB

Release files / agentic_google_flights_tool-0.4.4.tar.gz

Download URL agentic_google_flights_tool-0.4.4.tar.gz
Size 147.7 kB
Tags Source
SHA-256 checksum
How to use checksums
031fda867cdfdd2b93d0ac9b3a464032aaac93224fa3dcb1573604b05dfa7f13
BLAKE2b-256 checksum
How to use checksums
d87e36ea82582f01f40c61b92f3db79fdfc4449ba90c11cd559f8a1dae55f5f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Release files / agentic_google_flights_tool-0.4.4-py3-none-any.whl

Download URL agentic_google_flights_tool-0.4.4-py3-none-any.whl
Size 60.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d72330aed10d68a77e1ae19ec5185345f731cbbc7c08104b08255d4dbe3a5ac9
BLAKE2b-256 checksum
How to use checksums
45e121cd0540b538ca5c9035ef5b6a042c766a807e3704e25c8d679fba1af140
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Security for agentic-google-flights-tool 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentic_google_flights_tool-0.4.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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