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-flights`
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-flights
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, connection, layover, time, duration, emissions, and baggage.
- Search for adults, children, and infants, including lap infants.
- 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. Broad searches use a fast direct request; final-price and baggage checks use the browser. 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-flights[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 · Third-party notices
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_flights-0.6.0.tar.gz.
File metadata
- Download URL: agentic_flights-0.6.0.tar.gz
- Upload date:
- Size: 140.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ae6150fc2ca6d9f813b946bb1fe658406df07fc5fec67252e102884983b4a95
|
|
| MD5 |
78bb2b8039e0ba6d8adfdc22fe251828
|
|
| BLAKE2b-256 |
fdd9e1fc2e35c64c44ffa600a61e94aa554770a59f55ffa5bfbfadb1aad8396d
|
Provenance
The following attestation bundles were made for agentic_flights-0.6.0.tar.gz:
Publisher:
publish-alias.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_flights-0.6.0.tar.gz -
Subject digest:
1ae6150fc2ca6d9f813b946bb1fe658406df07fc5fec67252e102884983b4a95 - Sigstore transparency entry: 2758789492
- Sigstore integration time:
-
Permalink:
alberto-tamez/agentic-google-flights-tool@724f60c4cb5cba5ee3c371227df08f3c625f63f0 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/alberto-tamez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-alias.yml@724f60c4cb5cba5ee3c371227df08f3c625f63f0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentic_flights-0.6.0-py3-none-any.whl.
File metadata
- Download URL: agentic_flights-0.6.0-py3-none-any.whl
- Upload date:
- Size: 64.1 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 |
8333a69929d7d94bc75beea95b12be90ea605d410527151e3c4d357911d5bf9b
|
|
| MD5 |
fa384c7f9681e8e5abec9b06cee2bf36
|
|
| BLAKE2b-256 |
25ebd4346d316acf1e85a3059bd14dc94eb094136cebb4dde3c17e30918cd357
|
Provenance
The following attestation bundles were made for agentic_flights-0.6.0-py3-none-any.whl:
Publisher:
publish-alias.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_flights-0.6.0-py3-none-any.whl -
Subject digest:
8333a69929d7d94bc75beea95b12be90ea605d410527151e3c4d357911d5bf9b - Sigstore transparency entry: 2758789518
- Sigstore integration time:
-
Permalink:
alberto-tamez/agentic-google-flights-tool@724f60c4cb5cba5ee3c371227df08f3c625f63f0 -
Branch / Tag:
refs/tags/v0.6.0 - Owner: https://github.com/alberto-tamez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-alias.yml@724f60c4cb5cba5ee3c371227df08f3c625f63f0 -
Trigger Event:
push
-
Statement type: