Skip to main content
Atlas

Atlas Flight Booking

Agent-friendly live flight search and booking.

PyPI version Latest release GitHub stars Apache 2.0 license

Atlas website Atlas on X Atlas on LinkedIn

中文

Atlas Flight Booking is an Agent-friendly CLI and 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 the first flight task, the Skill checks for the CLI and automatically prepares the official uv installer and Atlas CLI when either is missing. 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.

Install the Skill

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

The Skill checks for the CLI when it starts. If the CLI is missing, the Agent automatically installs uv from Astral's official standalone installer when needed, then installs the signed Atlas CLI release from PyPI with uv tool install --python 3.12 atlas-flight-booking==0.3.9. Users do not need to install either tool separately. The Agent only stops when automatic installation 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.

Start a flight search

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atlas_flight_booking-0.3.9.tar.gz (191.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlas_flight_booking-0.3.9-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

Details for the file atlas_flight_booking-0.3.9.tar.gz.

File metadata

  • Download URL: atlas_flight_booking-0.3.9.tar.gz
  • Upload date:
  • Size: 191.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for atlas_flight_booking-0.3.9.tar.gz
Algorithm Hash digest
SHA256 39fb00d958135ee882b0cf2e8b7016f9075554b8359eb6605f841df5759abcff
MD5 4f575e9e3e9abb63efed7e2a68bad683
BLAKE2b-256 3e5c2d3cfa9e4cff9833d1dfd9562fd655881232212131c864dae41b2c7987e1

See more details on using hashes here.

File details

Details for the file atlas_flight_booking-0.3.9-py3-none-any.whl.

File metadata

  • Download URL: atlas_flight_booking-0.3.9-py3-none-any.whl
  • Upload date:
  • Size: 82.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for atlas_flight_booking-0.3.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d47f9ee5c84b8ef4662401bc251fd531c7a0c95f9f208d207ffa0ce32650b223
MD5 f38e4afb398ccc295e59aeb77a5b6e5d
BLAKE2b-256 adaa9aea0997b54bb1148f4476edf9316b525c1c31a0a84679f3b2bbe0b6ad5b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page