DEV Community

Cover image for PackPal - Local AI Travel Companion
Ansh Meshram
Ansh Meshram

Posted on

PackPal - Local AI Travel Companion

Hacktoberfest Weekend Challenge: Build for a Friend Submission 🀝

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend

What I Built

PackPal is a local-AI travel companion built for a friend who wanted a simpler way to organize trips with friends. It combines personalized packing lists, weather/activity-aware recommendations, smart luggage optimization, itineraries, travelers, and group expense splitting in one place.

PackPal uses Gemma 2 through Ollama for local AI reasoning, while deterministic TypeScript handles calculations such as luggage weights and expense settlements.

Demo

πŸš€ Live Demo: https://pack-pal-tau.vercel.app/

Code

πŸ’» GitHub: https://github.com/AnshMeshram/PackPal

How I Built It

PackPal is built with Next.js, React, TypeScript, Tailwind CSS, MongoDB Atlas, SerpApi, Ollama, and Gemma 2.

Gemma 2 is at the core of the application and handles:

  • πŸŽ’ Personalized packing recommendations
  • 🧳 Luggage optimization
  • πŸƒ Activity-to-packing reasoning
  • πŸ”„ Natural-language trip changes
  • πŸ’Έ Natural-language expense extraction
  • πŸ—ΊοΈ Destination interpretation

The architecture separates AI reasoning from deterministic application logic:

Gemma understands and recommends β†’ TypeScript validates and calculates.

For example, Gemma extracts information from:

"Rahul paid β‚Ή1,800 for dinner for everyone."

Then PackPal's deterministic expense engine calculates the actual balances and settlements.

SerpApi provides live travel/search context, MongoDB Atlas provides persistence, ElevenLabs enables optional voice output, and Sentry provides monitoring.

Why Does Open Innovation Matter?

PackPal was intentionally built around open-weight AI and local inference.

Running Gemma 2 through Ollama means the core AI can run locally instead of requiring every request to be sent to a closed AI API.

This provides:

  • πŸ” Greater privacy for personal trip information
  • πŸ’° Lower recurring AI inference costs
  • πŸ“΄ Potential for offline/local usage
  • πŸ”„ Freedom to swap or upgrade models
  • πŸ› οΈ More control over how the AI behaves

For a personal travel assistant, keeping sensitive trip and group information under the user's control is especially valuable.

My Agent Session

DevRelay agent session: https://dev.to/agent_sessions/packpal-privacy-first-ai-travel-journal-packing-companion-430lto

Prize Categories

  • πŸ† Best Use of Gemma β€” Gemma 2 is the core AI model powering PackPal.
  • πŸ”Ž Best Use of SerpApi β€” Provides live search and destination context.
  • πŸ—„οΈ Best Use of MongoDB Atlas β€” Persistent application data layer.
  • πŸŽ™οΈ Best Use of ElevenLabs β€” Optional voice generation.
  • πŸ›‘οΈ Best Use of Sentry Agent Tracing β€” Monitoring and debugging.

devchallenge #weekendchallenge #hf26challenge

Top comments (0)