Deploy an autonomous AI trip planning application on Koyeb
Learn more about Koyeb
·
Explore the documentation
·
Discover our tutorials
Koyeb is a developer-friendly serverless platform to deploy apps globally. No-ops, servers, or infrastructure management required.
This repository contains a trip planning application built using autonomous AI agents. It uses OpenAI, SerpApi, AutoGPT, and LangChain to build custom travel itineraries based on the selected destination and trip duration. The AI agent researches available options and communicates its actions and reasoning for every step of the process.
This example application is designed to show how real-time applications using autonomous AI agents can be deployed on Koyeb.
Follow the steps below to deploy and run the autonomous AI trip planning application on your Koyeb account.
You need:
- a Koyeb account to successfully deploy and run this application. If you don't already have an account, you can sign-up for free here.
- an OpenAI API key to access the AI models.
- a SerpApi API key to perform and interpret searches.
The fastest way to deploy the autonomous AI trip planning application is to click the Deploy to Koyeb button below.
Clicking on this button brings you to the Koyeb App creation page with everything pre-set to launch this application. Modify the value of the OPENAI_API_KEY
and SERPAPI_API_KEY
environment variables with your own keys and launch the application.
To modify this application example, you will need to fork this repository. Checkout the fork and deploy instructions.
If you want to customize and enhance this application, you need to fork this repository.
If you used the Deploy to Koyeb button, you can simply link your service to your forked repository to be able to push changes. Alternatively, you can manually create the application as described below.
On the Koyeb Control Panel, on the Overview tab, click the Create Web Service button to begin.
- Select GitHub as the deployment method.
- In the repositories list, select the repository you just forked.
- Under Environment variables, click Add variable to add your OpenAI API key as
OPENAI_API_KEY
. Click Add variable again to add your SerpApi API key asSERPAPI_API_KEY
. - Choose a name for your App and Service, for example
ai-trip-planner
, and click Deploy.
You will be taken to the deployment page where you can follow the build of your application. Once the build is completed, your application is being deployed and you will be able to access it via <YOUR_APP_NAME>-<YOUR_ORG_NAME>.koyeb.app
.
If you have any questions, ideas or suggestions regarding this application sample, feel free to open an issue or fork this repository and open a pull request.