iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
👔

I Built a Free-Time Sharing SNS with an AI Agent That Proposes ‘Who Wants to Hang Out Today?’

に公開

This is a product created for the "2nd AI Agent Hackathon with Google Cloud".

Concept

When a sudden free time appears,
"Who's free now?" "Where should we meet?" "Deciding on a place is a hassle…"
——Such coordination annoyances steal opportunities to hang out.

Kanzy combines a location-based SNS with a generative AI event planner.
With just one tap to update your status, it:

  1. Automatically matches you with free friends
  2. Immediately suggests meeting points and recommended venues
  3. Automatically creates a dedicated chat

All in one go.
All the troublesome "inviting, coordinating, and deciding on a place" is handled by AI,
leaving you to just go out and have fun.

We created this under that plausible-sounding concept, but it's essentially thinking:
"What if an AI agent that acts as an event planner were added to a location-sharing app like Zenly?"
We started developing the app based on this simple idea.

Demo Video

https://youtube.com/shorts/XKR1OW2PkeA?feature=share

Description for the Hackathon

Target Users, Problems, and Solutions/Features

Target Users

  • People who suddenly have free time and think, "I want to meet someone today or tomorrow" or "I want to grab a drink with someone."
  • People who find coordination annoying and end up sending "Are you free?" to many friends on LINE just to see.
  • Light-hearted people who have used location-sharing apps to share their location with friends, ready to go out whenever invited.

Problems

  • Hard to reach out to someone you want to invite because you don't know who is free right now.
  • Fear of awkwardness if rejected, making it difficult to muster the courage to invite in the first place.
  • Even if meeting up seems possible, coordinating the meeting place and activities is so troublesome that plans often fall through.

Solutions to the Problems
Kanzy automatically matches friends who think "I'm free right now" at the same time, providing a system to casually meet up in real life.

  • Real-time Visibility

    • Instantly see who is where, allowing you to invite nearby people or determine if someone is free based on their home location, making it easy to ask to hang out soon.
  • Location Sharing

    • Since the locations of all people you're inviting are visible, it becomes easy to see at a glance where the most efficient meeting point is.

  • AI Suggestions
    • Based on members' current locations and interests, AI automatically suggests meeting points, restaurants, and spots to use, eliminating the need for human coordination.
  • Ease of Matching
    • Since you follow AI's suggestions, even if someone declines, it's easy not to feel personally rejected, reducing psychological burden.
    • If there are multiple friends, a chat room is created for the group that gathers, making the feeling of being left out less than in chat rooms created by individuals.

Even with the same members, AI suggests new places and plans, allowing you to enjoy gatherings with fresh feelings every time. Without feeling "this group again," you can always discover new things and experiences – this is a unique charm of Kanzy.
Furthermore, within the "loose connections" formed by AI, the sense of obligation typical of SNS is weaker, making it possible to purely fulfill the light need of "I want to meet someone who's free right now."

Technical Stack and System Architecture Diagram

Technical Stack
Frontend

  • React Native
  • Expo

Backend

  • Python
  • Node.js

Infrastructure

  • Firebase
    • Firebase Authentication
    • Firestore
    • Firebase Hosting
    • Firebase Functions
  • GCP
    • Gemini API
    • Places API (New)
    • Cloud Run
    • Google Cloud Scheduler

Other

  • Figma
  • Cursor
  • Claude Code

System Architecture Diagram

The system architecture diagram is as shown above.

  • About the AI processing for finding suitable stores
    A notable point is the process of having the AI search for stores and find suitable ones.
    The processing flow is as follows:
  1. Obtain the current locations of all target users
  2. Find the midpoint latitude/longitude based on user locations
  3. Search for nearby landmarks (meeting places or stations near the midpoint)
  4. Use the Places API to fetch multiple stores/venues in the surrounding area based on that landmark and the mood
  5. Have Gemini AI score the results based on the retrieved data
  6. Return the recommended stores to the user

This is the logic we implemented.

By adjusting the prompt according to the user's mood, we achieve appropriate store recommendations.
Additionally, there are two modes: one where the user selects specific people to invite, and then the AI automatically suggests stores; and another where the AI suggests everything from the start, including who to invite. (Both modes are supported using the same API.)

Originally, we considered using Gemini Deep Research to make more accurate store recommendations, but we abandoned the idea due to cost issues.

  • About Cloud Scheduler
    For periodically suggested stores from the AI, we used Cloud Scheduler to call an API on Cloud Run, enabling automatic distribution so that store recommendations are delivered to users on a regular basis via AI.

  • About Firebase
    For authentication, we used Firebase Authentication.
    For the database, we used Firestore for management. We divided it into multiple collections and proceeded with implementation.
    As I'll mention later, when developing with AI, unnecessary fields tend to be created easily. Also, moving to a new chat session causes the AI to forget past context, so we created a database.md file with a Firestore structure diagram to prevent the generation of unnecessary fields.

Appeal Points

  • AI Store Recommendation Feature
    Similar apps may have existed before, but they often required changing statuses frequently or relied heavily on the UI.
    With this app, we kept the design as simple as possible, and based on the concept that the AI automatically makes suggestions, we placed emphasis on the AI's recommendation capabilities.

  • Orange-based Design
    We commissioned a designer for the design this time, and they created a beautiful design in a rush. (Thank you to the designer who helped us!) By using Figma MCP, we achieved rapid implementation.

  • (For Development) Button to Create Friends, etc.
    Since having friends is crucial for this type of app, we prepared a button to create friends. This way, even someone like me — a shut-in — can test the app.

Features We Want to Add in the Future

This time, after deciding to participate in the hackathon, we spent a lot of time conducting interviews with multiple past users of location-sharing apps and gathering the necessary team members, which shortened the actual development period.
Nevertheless, we prioritized submitting the project, and we plan to expand the app with the following features going forward:

  • Location Privacy
    There's an impression that relatively sociable people in their 20s today have little resistance to sharing their location. Personally, I am quite hesitant about sharing my location with friends, so I think this feature will be essential for using the app.
    We want to allow users to group their contacts — like "close friends" on Instagram — and control visibility based on the group.

  • Store Availability Information
    We are considering whether we can obtain vacancy/availability information for stores. Since ultimately, making reservations still relies on the user, if we could create a feature that automatically reserves based on this data, it could become a truly fully automated tool that handles everything down to booking.

Technical Notes

  • Points of ingenuity in development using Cursor and Claude Code
    To prevent AI-specific hallucinations, we created a folder called knowledge-data in advance and wrote down basic specifications, database structures, and other details in it beforehand. By always providing the contents of that folder as context when asking the AI questions, we were able to suppress the generation of unnecessary features as much as possible.

    In particular, by storing data in a manner similar to the database.md file shown below, we prevented hallucinations regarding the Firestore data structure.

    ## Firestore Collections
    
    ### users
    

    Document ID: {uid}

    
    | Field | Type | Description |
    |-----------|---|------|
    | uid | string | Firebase Auth UID |
    | email | string | Email address |
    | displayName | string | Display name |
    | profileImage | string | Profile image URL |
    | bio | string | Self-introduction |
    | accountType | string | 'user' or 'store' |
    | isActive | boolean | Account validity |
    

In Closing

After participating in this hackathon, I felt that I wished we could have had a bit more time to develop the app.
To be honest, in terms of actual implementation, the deadline was a little tight, and we were only able to implement the bare minimum SNS features.
Once we actually started development, the delusion of "maybe we can add this feature too" exploded further, and the feature set became quite bloated.

I believe this app has a lot of potential going forward, so I plan to continue developing it independently and work towards an actual release.

During this hackathon, we discussed things with our team members within a limited timeframe, went through trial and error, and created the product.

We want to leverage the power of AI technology to remove communication barriers and create a future where people can connect more casually in the real world. We hope Kanzy can be a catalyst for that.

Discussion