Skip to content

Conversation

@charlesmeng18
Copy link
Contributor

@charlesmeng18 charlesmeng18 commented Oct 31, 2025

Tools

Tool: Get Current Date
image

Tool: Search Flights from a flights.json (generated via generate_flights.py script)
image

Tool: Book Flights, save to reservations.json
image

Tool: Add-Ons to Existing Reservation
image

Frontier Data Modeling
Models the different services available to each of the Fares (aka Bundles)

Frontier Fares (Bundles)

  • Basic
    • Services: None
  • Economy
    • Services: Basic + Carry on, Standard seat selection, Refundability (no change/cancel fee)
  • Premium
    • Services: Economy + Premium seat selection + Priority Boarding
  • Business
    • Services: Premium + 2 checked bags + UpFront Plus Seating

Services

  • Seating Options
    • Standard Seats
    • Stretch Seating
    • UpFront Plus
  • Change/Cancel Fee Waived
  • Priority Boarding
  • Travel Insurance
  • Refundability

@charlesmeng18
Copy link
Contributor Author

Added the following domain modeling:

Cabins

  • no separate cabin classes

Fares (Bundles)

  • Basic
    • Services: None
  • Economy
    • Services: Basic + Carry on, Standard seat selection, Refundability (no change/cancel fee)
  • Premium
    • Services: Economy + Premium seat selection + Priority Boarding
  • Business
    • Services: Premium + 2 checked bags + UpFront Plus Seating

Services

  • Seating Options
    • Standard Seats
    • Stretch Seating
    • UpFront Plus
  • Change/Cancel Fee Waived
  • Priority Boarding
  • Travel Insurance
  • Refundability

@charlesmeng18 charlesmeng18 marked this pull request as ready for review November 3, 2025 23:35
@charlesmeng18 charlesmeng18 marked this pull request as draft November 3, 2025 23:47
Copy link
Member

@anishathalye anishathalye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Started a Slack thread to talk about when we can merge this (README will need to be redone).

On the code side, a couple notes for when we get around to iterating on this:

  • Took a quick glance at the code, it looks pretty good, it can be a useful starting point for someone on eng or ML team who can clean up the code before we merge it.
  • The date should be dynamic instructions (Pydantic AI supports this) rather than a tool call, IMO.
  • We might want to make the agent stateless across reboots of the backend (no on-disk JSON for reservations, instead switching to maintaining this in-memory across chat threads).

Before someone iterates on this code, I can take a closer look and give more feedback.

@anishathalye anishathalye force-pushed the charlesmeng18/charles-add-more-tools branch from d598f52 to 9ef5270 Compare November 5, 2025 22:35
@anishathalye anishathalye force-pushed the charlesmeng18/charles-add-more-tools branch from a02d759 to 334e1f2 Compare November 5, 2025 23:35
@anishathalye anishathalye force-pushed the charlesmeng18/charles-add-more-tools branch from f0c753d to ddb7142 Compare November 6, 2025 00:22
@anishathalye anishathalye marked this pull request as ready for review November 6, 2025 00:41
@anishathalye
Copy link
Member

For future reference, status of tests: Screenshot 2025-11-05 at 4 40 45 PM

Copy link
Member

@anishathalye anishathalye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The domain modeling isn't perfect, but given that our demos are very "shallow" (1-2 messages deep), this seems okay for now. Code quality for some of the vibe coded stuff isn't amazing, but good enough for now. If we think it's worth the effort, someone can improve this later.

@anishathalye anishathalye merged commit f47e648 into master Nov 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants