Skip to main content

View Source Code

Browse the complete example on GitHub
This project demonstrates a Python CLI that leverages the LFM2.5-1.2B-Thinking model to help users find and book plane tickets through multi-step reasoning and tool calling. Flight Search Assistant Demo

Quickstart

1. Verify uv installation

Check that you have uv available on your system:
If this fails, install uv following these instructions.

2. Clone and build the project

Clone the repository and install dependencies:

3. Run example queries

The assistant accepts natural language requests through the command-line interface: Simple flight availability search:
Direct booking request:
Multi-step workflow (search then book):
Complex reasoning task:
The implementation uses mocked flight data for demonstration purposes, though it supports integration with real APIs like Amadeus, Skyscanner, or Kiwi for production deployment.

Future Development

The roadmap includes:
  • Adding evaluation datasets
  • Implementing performance improvements through GRPO fine-tuning with verifiable rewards

Need help?

Join our Discord

Connect with the community and ask questions about this example.
Edit this page