DEV Community

Cover image for Ghost in the Machine: AI Buddies as a Digital Ofrenda
Ajay Dhangar
Ajay Dhangar

Posted on

Ghost in the Machine: AI Buddies as a Digital Ofrenda

Hacktoberfest Open-Source AI Challenge: Ghost in the Machine Submission 👻🌼

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine

What I Built

For the final week of Hacktoberfest, combining the spirit of Día de los Muertos and Halloween, I built a feature extension inside AI Buddies that acts as a Virtual Ofrenda & Memory Guardian.

Instead of letting the code, contributions, and early lessons of open-source friends, mentors, and forgotten past projects fade away, this feature helps developers build a digital memorial and story archive. It channels open-weight models to act as a "ghost in the machine"—whispering back memories, preserving ancestral or early coding struggles, and telling stories of how past open-source tools paved the way for modern development.

Demo

  • Live Platform: ai-buddies
  • Live Memory Sandbox: Explore the virtual memory vault and interactive agent modules directly in your browser.

Code

GitHub logo ajay-dhangar / ai-buddies

Learn AI through hands-on projects, interactive learning paths, and community-driven content. Explore machine learning, deep learning, NLP, computer vision, and more. Stay updated with cutting-edge trends and build real-world AI skills.

Website

This website is built using Docusaurus, a modern static website generator.

Installation

npm install

Local Development

npm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using SSH:

$ USE_SSH=true npm run deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.




How I Built It

To capture that eerie, offline, reflective atmosphere, AI Buddies relies entirely on open-source AI foundations:

  • Frontend Architecture: Built using React, TypeScript, Tailwind CSS, and custom styling to invoke a glowing, candle-lit digital ofrenda aesthetic with markdown and KaTeX support.
  • Open AI & Agent Frameworks: Integrated local inference wrappers, LangChain agent harnesses, and Hugging Face open-weight models. This allows the memory-retrieval agent to run complex local narrative generation without hitting external servers.
  • Offline Data Vault: Uses client-side storage paired with local model weights, ensuring personal stories, family oral histories, or remembrance notes never leave your personal machine.

Why Does Open Innovation Matter?

When dealing with personal memories, family archives, and tributes to loved ones, data privacy and control are non-negotiable:

  1. Absolute Data Privacy: A closed commercial API would process family histories and personal memories on corporate servers over which we have no control. Open-weight models running locally or through trusted open agent harnesses keep all sentiment and personal records completely private.
  2. Offline Permanence: Día de los Muertos honors what endures. Closed APIs can deprecate endpoints, change terms of service, or shut down overnight. An open-source approach means this memorial tool can run on a laptop with zero internet connection, preserving memories indefinitely.
  3. Custom "Spooky" Tuning: Closed chat models enforce strict neutral corporate personas. Open-weight models let us rewrite system prompts completely, allowing the agent to channel historical developer lore and respectful remembrance tones authentically.

My Agent Session

(Optional: Insert your saved DevRelay session link or tag here if you recorded your development workflow!)

The Spirit of It

When I tested the virtual memory ofrenda with a fellow developer by feeding in notes about an old, abandoned open-source project we used to work on years ago, the local model generated a hauntingly accurate recap of our old debugging nights, complete with nostalgic styling. It felt like bringing a digital ghost back to life—reminding us that behind every repository lies human effort, memory, and community.

Prize Categories

  • Main Track: Ghost in the Machine
  • Open Source AI / Local Inference Track

Top comments (0)