This project has been archived by its maintainers, and is no longer receiving any updates.
Agentic Flights
Give an AI agent a trip goal and let it search Google Flights across airports, dates, and trip lengths, compare the useful tradeoffs, and verify the finalists.
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 harness you are running:
- Codex: `agentic-flights init-skill --scope user --harness codex`
- Claude Code: `agentic-flights init-skill --scope user --harness claude`
Invoke the installed Agentic Flights skill and use it to find the best flights
for my trip. Explore flexible dates, nearby airports, and trip lengths when they
could improve the result. Compare meaningful price and travel-time tradeoffs,
verify the current complete price and baggage evidence for the finalists, and
tell me where search coverage remains 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 and uses an installed Google Chrome. If Chrome is unavailable, install Playwright Chromium after the package:
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 writes .agents/skills/agentic-flights/SKILL.md for Codex and
.claude/skills/agentic-flights/SKILL.md for Claude Code. Add --scope user to
make it available in every project. The initializer preserves an existing modified
skill unless --force is explicit.
What it can do
- Search one-way, round-trip, open-jaw, and multi-city itineraries.
- Explore combinations of origin airports, destinations, dates, and stay lengths.
- Filter by price, stops, airlines, local times, duration, and cabin baggage.
- Save full results behind compact
rgf_...run IDs and resume unfinished work. - Compare currencies safely and retain useful price, duration, and stop tradeoffs.
- Verify final whole-ticket prices, itinerary matches, booking links, and baggage evidence without continuing to purchase.
- Report parsing losses, truncated searches, retryable failures, and unexplored work.
Ways agents can use it
The installed skill is the easiest entry point. agentic-flights guide prints the
workflow, and agentic-flights guide <operation> reveals one schema at a time.
The package also includes the code-first AgentAPI, a JSON CLI for exact batches,
and an optional local MCP server:
python -m pip install -U "agentic-google-flights-tool[mcp]"
agentic-flights-mcp
MCP supports stdio and local stateless HTTP. Saved runs live in the local managed store; the project does not operate a hosted flight-search service. Managed runs expire after seven idle days by default, so export anything that must be retained.
Know before relying on a result
This is an unofficial project and is not affiliated with Google. Google Flights has no supported consumer search API, so page changes can break retrieval. Results are dated observations rather than reservations or price guarantees. Search coverage is reported but cannot prove that Google exposed every available fare. Confirm price, baggage, and availability 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_google_flights_tool-0.4.1.tar.gz.
File metadata
- Download URL: agentic_google_flights_tool-0.4.1.tar.gz
- Upload date:
- Size: 128.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea5a4abd2996a94617714a9d2417073f42f9a7dde606eff9f562dca4a193647
|
|
| MD5 |
6c2b3ae51e6b5e5f4494acc62e3297ff
|
|
| BLAKE2b-256 |
ec9d35b7435c29e1f9993fb985ce1265aeadb7571fe007b0b80d1a2f015e2fa9
|
Provenance
The following attestation bundles were made for agentic_google_flights_tool-0.4.1.tar.gz:
Publisher:
publish.yml on alberto-tamez/agentic-google-flights-tool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_google_flights_tool-0.4.1.tar.gz -
Subject digest:
7ea5a4abd2996a94617714a9d2417073f42f9a7dde606eff9f562dca4a193647 - Sigstore transparency entry: 2756950859
- Sigstore integration time:
-
Permalink:
alberto-tamez/agentic-google-flights-tool@625e606f2a0d72f687c79083c6faf9a30d9a2f57 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/alberto-tamez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@625e606f2a0d72f687c79083c6faf9a30d9a2f57 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file agentic_google_flights_tool-0.4.1-py3-none-any.whl.
File metadata
- Download URL: agentic_google_flights_tool-0.4.1-py3-none-any.whl
- Upload date:
- Size: 55.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b151b4a70cd431ac424ace60c3e9b7cd60789e047278878984ecc97a641aa52
|
|
| MD5 |
51fe0da666ca0e6d1090be3635346f4f
|
|
| BLAKE2b-256 |
93ff6eea2e91dd6022728f52745d0509404afd85955e99c45a0c8b618bb67fdc
|
Provenance
The following attestation bundles were made for agentic_google_flights_tool-0.4.1-py3-none-any.whl:
Publisher:
publish.yml on alberto-tamez/agentic-google-flights-tool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentic_google_flights_tool-0.4.1-py3-none-any.whl -
Subject digest:
8b151b4a70cd431ac424ace60c3e9b7cd60789e047278878984ecc97a641aa52 - Sigstore transparency entry: 2756950876
- Sigstore integration time:
-
Permalink:
alberto-tamez/agentic-google-flights-tool@625e606f2a0d72f687c79083c6faf9a30d9a2f57 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/alberto-tamez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@625e606f2a0d72f687c79083c6faf9a30d9a2f57 -
Trigger Event:
workflow_dispatch
-
Statement type: