Skip to main content
Atlas

Atlas Flight Booking Skill

Live flight search and booking for AI agents.

PyPI version Latest release GitHub stars Apache 2.0 license

Atlas website Atlas on X Atlas on LinkedIn

中文

Install the Skill and then ask your AI agent to search or book a flight:

npx --yes skills add https://github.com/atlas-doc/atlas-flight-booking-skill --skill atlas-flight-booking

Atlas Flight Booking is an Agent Skill for searching live flight offers, verifying current prices, selecting baggage or seats, creating orders, paying from an Atlas balance, and tracking ticket issuance.

The Skill controls the conversation and confirmation checkpoints. The atlas-flight CLI owns authorization, secure credential storage, API access, normalized output, and side-effect safety.

Users install only the Skill. On each flight task, the Skill checks the CLI version and automatically prepares the official uv installer and Atlas CLI when the CLI is missing or older than the minimum supported version. It does not add a conversational permission round-trip; a host environment may still show its own native execution approval. No separately prepared Python environment is required.

Supported workflow

  • browser authorization with a bounded poll;
  • live flight search and normalized offer comparison;
  • fare and availability verification, including price-change handling;
  • optional baggage and seat selection;
  • one-time passenger input through stdin or an existing local JSON file;
  • order creation with a masked payment summary and Atlas order link;
  • single-use balance payment after explicit confirmation;
  • ticketing polling for up to 120 seconds and later order queries.

Optional baggage or seat unavailability does not block the main booking flow. This release does not implement refunds, cancellations, changes, credit-card payment, or other after-sales operations.

Automatic CLI setup

The Skill checks the CLI version when it starts. If the CLI is missing or older than the minimum supported version, the Agent automatically installs uv from Astral's official standalone installer when needed, then installs or upgrades the signed Atlas CLI release from PyPI with uv tool install --force --python 3.12 atlas-flight-booking==0.3.12. A newer CLI is never downgraded. Users do not need to install either tool separately. The Agent only stops when automatic installation or upgrade actually fails.

Installation details and troubleshooting →

Rehearse the booking flow in Sandbox

Atlas Flight Booking uses production services by default. Production is the right place to search live fares and make real purchase decisions.

Switch to Sandbox only when you want to rehearse the complete forward booking flow before paying, or when an existing customer needs a regression test. Sandbox uses test data and does not create a real production booking or charge.

After completing Atlas authorization, run this command yourself in a terminal:

atlas-flight environment use sandbox --json

The same Skill and public commands continue to work after the switch; there is nothing to reinstall and the Agent does not need different instructions. Switching changes only the CLI's local service configuration. Any offer obtained before the switch expires, so start a new search before continuing.

To return to live fares and production booking, run:

atlas-flight environment use production --json

Sandbox prices and availability are test data and must not be used as the basis for a purchase decision.

An Agent using the Skill will collect missing inputs and operate the CLI. The equivalent direct command is:

atlas-flight search \
  --origin KUL \
  --destination SIN \
  --depart 2026-08-20 \
  --adults 1 \
  --json

All subcommands return one stable JSON envelope. Agents branch on the response code, preserve opaque IDs exactly, and never inspect credentials or internal routing.

Safety boundaries

  • Authorization links are shown with context and require the user to complete authorization in the browser.
  • A verified price increase requires a new explicit confirmation.
  • Passenger details are one-time input and are excluded from persisted booking state and normalized errors.
  • The current masked payment summary and Atlas order link are shown before payment.
  • A payment confirmation ID is single-use; uncertain order creation or payment is never repeated.
  • Credentials and private workflow data use the operating system's secure credential facility, with no plaintext fallback.

License

Licensed under the Apache License 2.0.

Metadata

Release files for atlas-flight-booking 0.3.12

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

Source distribution (sdist)

Source distribution for atlas-flight-booking 0.3.12
File Size Uploaded
atlas_flight_booking-0.3.12.tar.gz 195.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for atlas-flight-booking 0.3.12
File Interpreter ABI Platform
atlas_flight_booking-0.3.12-py3-none-any.whl Python 3 none any Details

Total release size: 278.4 kB

Release files / atlas_flight_booking-0.3.12.tar.gz

Download URL atlas_flight_booking-0.3.12.tar.gz
Size 195.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dadc5a9262912a0284d35735e69dec09778bcab37fbda1917d544878534d83f3
BLAKE2b-256 checksum
How to use checksums
f99eb695888a282f7717fa3eb815f44dac36fd2b0a5a154211ae3c7ed7006363
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / atlas_flight_booking-0.3.12-py3-none-any.whl

Download URL atlas_flight_booking-0.3.12-py3-none-any.whl
Size 83.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c33fe595bbe041ae80837047961bc60b2e9daea930a1ead7c256dd9ebf2cf6c
BLAKE2b-256 checksum
How to use checksums
cc5f60b31f3bab1980848bc9cb7815290f89fbcefb290a6b6f40ace018b2efaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.3.12 This release

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

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