DEV Community

Cover image for FRIENDLY: A Private, Local-First AI Companion Built for a Friend
Kartikey Patel
Kartikey Patel

Posted on

FRIENDLY: A Private, Local-First AI Companion Built for a Friend

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

What I Built

I built FRIENDLY — a local-first AI companion designed for one person, not everyone.

The idea came from a simple problem: the people we care about often have their own routines, goals, stress, study/work pressure, and small everyday problems, but most AI assistants treat everyone the same.

FRIENDLY is designed to become a more personal companion by remembering useful preferences, goals, routines, and context about its user.

It can help with things like:

  • 📚 Personalized study and productivity support
  • 🧠 Understanding the user's goals and preferences
  • 💬 AI conversations and everyday assistance
  • 🎯 Tracking personal goals
  • 📝 Remembering useful information
  • 🌱 Personalized suggestions for the user's day
  • 🔒 Keeping the experience local-first and privacy-focused

For this challenge, I built it around the idea of building something genuinely useful for a friend or loved one, rather than creating another generic chatbot.

The goal is simple:

An AI that knows the person it's helping — while keeping their data under their control.

Demo

The project is currently available as an interactive web prototype.

Demo: Add your deployed link here

Video Demo: Add your demo video here

The demo showcases the personalized dashboard, AI companion chat, memory system, goals, daily recommendations, and the local-first AI concept.

Code

GitHub: https://kartikeypatel9621-source.github.io/friend-ai/

The project is built with a lightweight web stack so that the interface remains easy to understand, modify, and extend.

FRIENDLY_AI/
├── index.html
├── style.css
└── script.js
Enter fullscreen mode Exit fullscreen mode

How I Built It

FRIENDLY is built around the idea of open-source AI + local inference.

The frontend uses:

  • HTML
  • CSS
  • JavaScript
  • Browser local storage for personal memory
  • Local AI inference through Ollama
  • Open-weight models such as Llama, Qwen, and Mistral

Instead of sending every conversation to a proprietary cloud AI service, the project can connect to a model running locally on the user's own computer.

The architecture is intentionally simple:

User
  ↓
FRIENDLY Web Interface
  ↓
Local AI Layer
  ↓
Ollama
  ↓
Open-Weight AI Model
  ↓
Personalized Response
Enter fullscreen mode Exit fullscreen mode

This also means the underlying model can be changed.

For example, the same application can potentially use different open-weight models depending on the user's hardware, requirements, or preference.

The project also includes a Demo Mode, allowing the interface to work even when a local model is not running.

Why Does Open Innovation Matter?

Open innovation is especially important for a personal AI companion because personal data is personal.

A closed AI API can be powerful, but it often means depending on a remote service, its pricing, availability, policies, and infrastructure.

With open-weight models and local inference, FRIENDLY can move much closer to a personal AI that actually belongs to the user.

Open innovation makes several things possible:

🔒 Privacy

Personal conversations, preferences, goals, and memories can remain on the user's device when local inference is used.

💻 Offline & Local Computing

A sufficiently capable laptop can run an AI model without requiring every interaction to travel to a cloud service.

🔄 Model Freedom

Users aren't locked into a single AI provider. Different open models can be tested and swapped depending on the use case.

🛠️ Customization

Developers can experiment with prompts, models, memory systems, fine-tuning, and different AI architectures.

💰 Lower Long-Term Cost

Running an open model locally can reduce dependence on per-request API costs, especially for applications involving frequent personal interactions.

For FRIENDLY, this isn't just a technical choice.

Open AI makes the core idea possible: creating a personal AI companion that can be controlled and customized by the person using it.

My Agent Session

Optional.

I will add my DevRelay agent session here if included in the final submission.

Prize Categories

  • Open Source AI / Open Innovation
  • Local AI / Privacy-focused AI
  • AI for Personal Productivity
  • Build for a Friend

Top comments (0)