DEV Community

Cover image for Tyche: Crafting Adventures, One Surprise at a Time!
Arsh Tariq
Arsh Tariq

Posted on β€’ Edited on

5 3 2 2 2

Tyche: Crafting Adventures, One Surprise at a Time!

This is a submission for the Agent.ai Challenge: Full-Stack Agent (See Details)

Assembly of Agents (See Details)


What I Built

I built Tyche, an AI-powered travel planning agent that transforms user inputs into spontaneous, exciting, and personalized travel plans.


Why I Built This

Travel planning often involves extensive research, and spontaneity is hard to balance with budgets and schedules. Tyche, inspired by the Greek goddess of fortune and chance, takes the guesswork out of trip planning by generating a complete, random travel itinerary tailored to the user’s preferences, including destination, activities, and budget.

Tyche is perfect for:

  • Adventurers who want a surprise element in their travels.
  • Busy individuals seeking a streamlined way to plan trips.
  • Anyone looking to make travel planning stress-free and fun.

Demo

Check out Tyche in action:

Demo Link

Video Demo:

Flight Planner Agent
Travel researcher Agent
Webservice Repo


Screenshots and Workflow

1. Input for Tyche

Describe your ideal trip, and let Tyche take over!

Input for the prompt


2. Tyche Actions

The workflow for the main agent.

Tyche Actions workflow


3. Generated Itinerary

The itinerary that the agent created for the user based on their prompt.

Image of the generated Itinerary


4. Travel Researcher Agent

The Travel Researcher agent invoked by the main agent.

Actions workflow of the Travel Researcher agent


5. Flight Planner Agent

The Flight Planner agent invoked by the main agent, which pings a web service I created using the FlightRadar24 API and hosted on Render.

  • Using Cron-Job to ping the web service every 15 minutes to keep it awake (free tier limitations 😞).

Actions Workflow of the Flight Planner Agent


Features

  • Dynamic User Input: Users describe their dream trip, including preferences, budget, and duration.
  • URL-Based Content Generation: AI generates content based on landing pages for destination insights.
  • SEO Optimization: Enhances blog posts to rank better in search results.
  • Platform-Specific Outputs: Creates content optimized for LinkedIn, Twitter, and blogs, perfect for promoting travel ideas.
  • Real-Time Web Integration: Scrapes live travel data to find the best deals for flights, accommodations, and activities.
  • Day-by-Day Planning: Clear, actionable plans with links to book directly.
  • Budget Management: Keeps expenses within user-specified limits with a detailed cost breakdown.
  • High-Quality Outputs: Generates professional, polished, and contextually relevant content for all touchpoints.

Use Cases

  • Adventurers: Plan spontaneous trips with ease.
  • Founders: Create trip-related content to build personal or business brands.
  • Marketing Teams: Align travel content with the company’s voice.
  • Social Media Managers: Schedule optimized LinkedIn and Twitter posts effortlessly.
  • Travel Enthusiasts: Enhance online visibility, traffic, and conversion rates.

How I Built It

1. Data Scraping: Leveraged web scraping by utilizing another agent to collect structured data from URLs for destination-specific insights.

2. AI Analysis: Processed extracted data to understand travel details like problems, solutions, and target audiences.

3. Generative AI Model: Used advanced NLP techniques to generate high-quality content tailored to the scraped data.

4. Fine-Tuning: Ensured the tone, style, and platform-specific engagement were optimized.

5. Multi-Agent Workflow: Connected agents for planning, research, and booking into a seamless pipeline.

6. Flight search API: Created a webservice for searching flights and feeding back into the agent.


Agent.ai Experience

Building Tyche with Agent.ai was both rewarding and educational:

Delightful Moments

  • The no-code builder simplified complex integrations.
  • Chaining multiple agents into one cohesive flow was a game-changer.
  • Watching Tyche generate highly engaging itineraries felt magical!

Challenges

  • Managing large outputs while ensuring user-friendly clarity.
  • Fine-tuning agent responses to balance spontaneity with constraints.
  • Addressing free-tier limitations for always-on web services.

Future Enhancements

  • Collaborative Trip Planning: Invite friends to co-plan trips.
  • Mobile App Development: Enable users to plan on the go.
  • Data-Driven Insights: Integrate detailed analytics for continuous improvement.
  • Multi-Language Support: Broaden accessibility for global users.
  • Feedback Integration: Iterate itineraries based on user preferences.

Thank you for exploring Tyche, your AI-powered gateway to adventure! πŸš€

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (2)

Collapse
 
tamil_cinemanetwork_46b0 profile image
Tamil Cinema Network β€’

Looks super cool 😎

Collapse
 
sutter_cane profile image
Arsh Tariq β€’

thank you πŸ™

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay