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 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

agentic_google_flights_tool-0.4.1.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.1-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentic_google_flights_tool-0.4.1.tar.gz
Algorithm Hash digest
SHA256 7ea5a4abd2996a94617714a9d2417073f42f9a7dde606eff9f562dca4a193647
MD5 6c2b3ae51e6b5e5f4494acc62e3297ff
BLAKE2b-256 ec9d35b7435c29e1f9993fb985ce1265aeadb7571fe007b0b80d1a2f015e2fa9

See more details on using hashes here.

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

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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_google_flights_tool-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b151b4a70cd431ac424ace60c3e9b7cd60789e047278878984ecc97a641aa52
MD5 51fe0da666ca0e6d1090be3635346f4f
BLAKE2b-256 93ff6eea2e91dd6022728f52745d0509404afd85955e99c45a0c8b618bb67fdc

See more details on using hashes here.

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

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.1 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