<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shantanu Shete</title>
    <description>The latest articles on DEV Community by Shantanu Shete (@shantanu_shete_1e614e6e52).</description>
    <link>https://dev.to/shantanu_shete_1e614e6e52</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4197893%2F6538fd6c-dd02-45ef-939b-6b33809482e4.png</url>
      <title>DEV Community: Shantanu Shete</title>
      <link>https://dev.to/shantanu_shete_1e614e6e52</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shantanu_shete_1e614e6e52"/>
    <language>en</language>
    <item>
      <title>👻 Ghost AI — Your Personal Haunted AI Assistant</title>
      <dc:creator>Shantanu Shete</dc:creator>
      <pubDate>Thu, 29 Oct 2026 06:06:21 +0000</pubDate>
      <link>https://dev.to/shantanu_shete_1e614e6e52/ghost-ai-your-personal-haunted-ai-assistant-d26</link>
      <guid>https://dev.to/shantanu_shete_1e614e6e52/ghost-ai-your-personal-haunted-ai-assistant-d26</guid>
      <description>&lt;p&gt;What if an AI assistant lived inside your computer like a ghost, ready to help whenever you needed it?&lt;/p&gt;

&lt;p&gt;That's the idea behind Ghost AI, a spooky personal AI assistant built using Gemma 4, Ollama, Python, and Flask.&lt;/p&gt;

&lt;p&gt;I created this project for Hacktoberfest 2026 Week 4, whose theme is "Ghost in the Machine." My goal was to combine the Halloween atmosphere with practical AI features while exploring how locally running AI models can give developers greater control over their applications and data.&lt;/p&gt;

&lt;p&gt;Instead of relying on a paid cloud AI API, Ghost AI uses a model running locally through Ollama.&lt;/p&gt;

&lt;p&gt;👻 What I Built&lt;/p&gt;

&lt;p&gt;Ghost AI is a local AI web application designed to be both useful and entertaining.&lt;/p&gt;

&lt;p&gt;Its features include:&lt;/p&gt;

&lt;p&gt;💬 Ghost Chat: Chat with an AI assistant with a spooky personality.&lt;br&gt;
🎭 Multiple Personalities: Switch between Friendly Ghost, Mysterious Ghost, and Nightmare Mode.&lt;br&gt;
💻 Coding Assistant: Ask programming questions, understand errors, explain code, and explore debugging approaches.&lt;br&gt;
🩸 Horror Story Generator: Generate horror stories with different settings and styles.&lt;br&gt;
🧠 Persistent Memory: Save selected preferences and information for future conversations.&lt;br&gt;
📜 Conversation History: Save and revisit previous conversations.&lt;br&gt;
📝 Text Summarizer: Ask the local AI model to summarize text.&lt;br&gt;
⚙️ Model Status: Check whether the local Ollama service is available.&lt;/p&gt;

&lt;p&gt;The application combines a spooky interface with useful AI functionality, making it more than just a Halloween-themed chatbot.&lt;/p&gt;

&lt;p&gt;🎬 Demo&lt;/p&gt;

&lt;p&gt;Watch Ghost AI in action!&lt;/p&gt;

&lt;p&gt;🎥 Demo Video: &lt;a href="https://youtu.be/2gCFJ_GRcxQ" rel="noopener noreferrer"&gt;https://youtu.be/2gCFJ_GRcxQ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The video demonstrates my Ghost AI project and its approach to building a personal AI assistant using a locally running Gemma model.&lt;/p&gt;

&lt;p&gt;To explore the source code and setup instructions, visit the GitHub repository below.&lt;/p&gt;

&lt;p&gt;💻 Source Code&lt;/p&gt;

&lt;p&gt;GitHub Repository:&lt;br&gt;
&lt;a href="https://github.com/Shantanuu1/ghost-ai" rel="noopener noreferrer"&gt;https://github.com/Shantanuu1/ghost-ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository contains the application source code, backend modules, frontend assets, database implementation, tests, and setup instructions.&lt;/p&gt;

&lt;p&gt;Feel free to explore the code and share feedback!&lt;/p&gt;

&lt;p&gt;🛠️ How I Built It&lt;/p&gt;

&lt;p&gt;I built Ghost AI using a lightweight web development stack and a locally running language model.&lt;/p&gt;

&lt;p&gt;Technology Stack&lt;br&gt;
Python 3.10.11: Backend programming.&lt;br&gt;
Flask: Web application and API routes.&lt;br&gt;
Gemma 4 E2B: Language model generating AI responses.&lt;br&gt;
Ollama: Local runtime for running Gemma.&lt;br&gt;
HTML, CSS, and JavaScript: Frontend interface and interactions.&lt;br&gt;
SQLite: Persistent storage for conversations and saved memories.&lt;br&gt;
Git and GitHub: Version control and source code hosting.&lt;br&gt;
How It Works&lt;/p&gt;

&lt;p&gt;The application follows a simple architecture:&lt;/p&gt;

&lt;p&gt;The user enters a message in the Ghost AI interface.&lt;br&gt;
The Flask backend receives and validates the request.&lt;br&gt;
The backend sends the prompt to Gemma through the local Ollama API.&lt;br&gt;
Gemma generates a response using the selected personality instructions.&lt;br&gt;
Flask returns the response to the frontend.&lt;br&gt;
JavaScript displays the answer in the chat interface.&lt;/p&gt;

&lt;p&gt;SQLite stores conversations and explicitly saved memories so they can persist between application sessions.&lt;/p&gt;

&lt;p&gt;The application separates its responsibilities into different modules, including app.py, ai_service.py, database.py, and config.py.&lt;/p&gt;

&lt;p&gt;This structure makes the code easier to understand and maintain.&lt;/p&gt;

&lt;p&gt;🔓 Why Does Open Innovation Matter?&lt;/p&gt;

&lt;p&gt;One of the main reasons I chose Gemma through Ollama was to explore the advantages of running AI locally.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;More Control Over AI&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Using a locally running model gives me control over the model runtime and allows me to experiment with prompts and assistant personalities without depending on a paid inference API.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Privacy Through Local Processing&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the local configuration, prompts are sent to Ollama running on my own computer rather than to a third-party AI provider.&lt;/p&gt;

&lt;p&gt;This helps keep conversations on the local machine during normal use of the application.&lt;/p&gt;

&lt;p&gt;However, privacy also depends on how the application is configured and deployed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Lower Dependence on Paid APIs&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Once the model is downloaded, local inference does not require paying a third-party AI provider for each request.&lt;/p&gt;

&lt;p&gt;The computer still uses its own memory, processor, electricity, and other resources, so local inference is not completely cost-free.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Learning Through Experimentation&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Working with an open-weight model allowed me to explore how AI applications communicate with language models, how system prompts influence responses, and how a local model can be integrated into a web application.&lt;/p&gt;

&lt;p&gt;It also made it easier to experiment with different personalities and features.&lt;/p&gt;

&lt;p&gt;For me, open innovation means having the freedom to learn, experiment, and build applications without being entirely dependent on a closed AI service.&lt;/p&gt;

&lt;p&gt;Note: Open weights do not automatically mean that every part of a model is open source. Model licensing and usage conditions still matter.&lt;/p&gt;

&lt;p&gt;👻 The Spirit of It&lt;/p&gt;

&lt;p&gt;The idea behind Ghost AI is simple: an intelligent presence living inside your machine.&lt;/p&gt;

&lt;p&gt;It can help you understand code, answer questions, summarize text, or generate a horror story when you want something a little more mysterious.&lt;/p&gt;

&lt;p&gt;The ghost is fictional, of course. The AI behind it is a language model running on my own computer.&lt;/p&gt;

&lt;p&gt;I wanted to interpret "Ghost in the Machine" in a playful but practical way: combine a spooky digital personality with an application that demonstrates the possibilities of local AI.&lt;/p&gt;

&lt;p&gt;Beyond the Halloween theme, this project has helped me explore local inference, backend development, persistent storage, and the integration of AI into a web application.&lt;/p&gt;

&lt;p&gt;🏆 Prize Category&lt;/p&gt;

&lt;p&gt;Best Use of Gemma&lt;/p&gt;

&lt;p&gt;Ghost AI uses Google's Gemma 4 E2B model through Ollama as its core language model.&lt;/p&gt;

&lt;p&gt;The application demonstrates how an open-weight model can power a locally running AI assistant with multiple personalities and practical features.&lt;/p&gt;

&lt;p&gt;🚀 What's Next?&lt;/p&gt;

&lt;p&gt;There is still room to improve Ghost AI.&lt;/p&gt;

&lt;p&gt;Some possible future improvements include:&lt;/p&gt;

&lt;p&gt;Streaming responses as the model generates them.&lt;br&gt;
More advanced memory retrieval.&lt;br&gt;
Additional assistant personalities.&lt;br&gt;
Better conversation export and import.&lt;br&gt;
More interface customization.&lt;br&gt;
Further testing and performance improvements.&lt;/p&gt;

&lt;p&gt;I would love to hear suggestions from the community about how to make local AI assistants more useful, private, and accessible.&lt;/p&gt;

&lt;p&gt;If you explore the project, feel free to share your feedback!&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Shantanuu1/ghost-ai" rel="noopener noreferrer"&gt;https://github.com/Shantanuu1/ghost-ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for checking out Ghost AI! 👻&lt;/p&gt;

&lt;h1&gt;
  
  
  devchallenge #hf26challenge
&lt;/h1&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>🚂 MINDTRACE AI: Echoes of the Last Train 🔎</title>
      <dc:creator>Shantanu Shete</dc:creator>
      <pubDate>Sat, 24 Oct 2026 19:55:48 +0000</pubDate>
      <link>https://dev.to/shantanu_shete_1e614e6e52/mindtrace-ai-echoes-of-the-last-train-3fkp</link>
      <guid>https://dev.to/shantanu_shete_1e614e6e52/mindtrace-ai-echoes-of-the-last-train-3fkp</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  🚂 MINDTRACE AI: Echoes of the Last Train 🔎
&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;Every lie leaves a trace. Every choice changes the truth.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What if you could solve a murder mystery by questioning suspects, connecting evidence, and catching contradictions—with the help of a locally running AI model?&lt;/p&gt;

&lt;p&gt;That's the idea behind &lt;strong&gt;MINDTRACE AI&lt;/strong&gt;, an AI-powered detective mystery game I built for Hacktoberfest Week 3.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;MINDTRACE AI is a browser-based detective game where players investigate a mysterious incident aboard a train.&lt;/p&gt;

&lt;p&gt;Instead of simply reading a fixed story, players explore different train locations, discover clues, interview suspects, and use evidence to uncover inconsistencies before making their final accusation.&lt;/p&gt;

&lt;h3&gt;
  
  
  ✨ Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🔎 &lt;strong&gt;Interactive Investigation:&lt;/strong&gt; Explore five train locations and discover clues.&lt;/li&gt;
&lt;li&gt;🕵️ &lt;strong&gt;Suspect Interrogations:&lt;/strong&gt; Interview three suspects with different secrets and motives.&lt;/li&gt;
&lt;li&gt;🤖 &lt;strong&gt;AI-Powered Dialogue:&lt;/strong&gt; Use Gemma 4 through Ollama to generate suspect responses.&lt;/li&gt;
&lt;li&gt;🧩 &lt;strong&gt;Truth Tracker:&lt;/strong&gt; Identify contradictions and verify them with supporting evidence.&lt;/li&gt;
&lt;li&gt;📌 &lt;strong&gt;Evidence Board:&lt;/strong&gt; Connect clues and evaluate possible explanations.&lt;/li&gt;
&lt;li&gt;🏆 &lt;strong&gt;Multiple Endings:&lt;/strong&gt; Your final accusation determines the outcome.&lt;/li&gt;
&lt;li&gt;🔄 &lt;strong&gt;Fallback Dialogue:&lt;/strong&gt; Continue playing with scripted responses if the local AI is unavailable.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal was to combine detective gameplay with AI-generated conversations while keeping the mystery's actual solution consistent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🎬 &lt;strong&gt;Watch the gameplay demonstration:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://youtu.be/V_P0PZ-KfWg" rel="noopener noreferrer"&gt;https://youtu.be/V_P0PZ-KfWg&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The video demonstrates my MINDTRACE AI project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;💻 &lt;strong&gt;GitHub Repository:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Shantanuu1/MINDTRACE-AI" rel="noopener noreferrer"&gt;https://github.com/Shantanuu1/MINDTRACE-AI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The repository contains the project's source code and instructions for running it locally.&lt;/p&gt;

&lt;p&gt;Feel free to explore the implementation and contribute ideas for improving the game!&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I built MINDTRACE AI using Python, Flask, HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;p&gt;For the AI component, I used &lt;strong&gt;Gemma 4 (&lt;code&gt;gemma4:e2b&lt;/code&gt;) through Ollama&lt;/strong&gt;, allowing the model to run locally rather than relying entirely on a hosted AI API.&lt;/p&gt;

&lt;h3&gt;
  
  
  Technology Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python:&lt;/strong&gt; Backend logic and game mechanics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Flask:&lt;/strong&gt; Web application and server-side routes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTML, CSS, and JavaScript:&lt;/strong&gt; User interface and interactive gameplay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 4 + Ollama:&lt;/strong&gt; AI-generated suspect dialogue.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SQLite or JSON:&lt;/strong&gt; Game data storage, depending on the implemented storage layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pytest:&lt;/strong&gt; Automated testing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One important design decision was to separate AI-generated dialogue from the core game logic.&lt;/p&gt;

&lt;p&gt;The model generates suspect responses, but the canonical culprit, timeline, evidence, and final accusation logic remain controlled by the game itself. This helps prevent unexpected AI responses from changing the mystery's underlying solution.&lt;/p&gt;

&lt;p&gt;I also included scripted fallback dialogue so players can continue investigating if the local model is unavailable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation makes it possible for developers to experiment, build, and share technology without depending entirely on closed platforms.&lt;/p&gt;

&lt;p&gt;For MINDTRACE AI, using an open-weight model locally through Ollama gave me the opportunity to experiment with AI-generated dialogue and integrate it directly into a game running on my own computer.&lt;/p&gt;

&lt;p&gt;This approach offers several benefits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;More control:&lt;/strong&gt; Developers can choose and configure the model they run.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local inference:&lt;/strong&gt; The game can generate dialogue locally when the model is installed and running.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reduced API dependency:&lt;/strong&gt; The project doesn't need a paid hosted AI API for its core dialogue generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learning by building:&lt;/strong&gt; Developers can explore the practical challenges of integrating language models with real application logic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Open innovation isn't just about making technology available. It's about giving more people the ability to experiment, learn, and create something of their own.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I used an AI-assisted coding workflow to help develop the project.&lt;/p&gt;

&lt;p&gt;The workflow helped me organize the application, implement the frontend and backend, and prepare tests.&lt;/p&gt;

&lt;p&gt;I haven't included a DevRelay session link because I don't currently have a shareable session to provide.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;The idea behind MINDTRACE AI is to make solving a mystery feel interactive without requiring players to read a long, predetermined story.&lt;/p&gt;

&lt;p&gt;Players can investigate at their own pace, ask questions, gather evidence, and decide when they have enough information to make an accusation.&lt;/p&gt;

&lt;p&gt;For developers, running the AI locally also provides a way to experiment with conversational gameplay without building the project around a paid hosted AI API.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;I am submitting MINDTRACE AI to the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Primary focus:&lt;/strong&gt; Open-weight AI and local inference using Gemma 4 and Ollama.&lt;/p&gt;




&lt;p&gt;Building MINDTRACE AI helped me explore how local AI can be combined with web development, interactive storytelling, and deterministic game mechanics.&lt;/p&gt;

&lt;p&gt;The mystery isn't solved by AI alone. The player has to investigate, question, connect the clues, and decide what the truth really is.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Every lie leaves a trace. Can you find it?&lt;/strong&gt; 🔎&lt;/p&gt;

&lt;h1&gt;
  
  
  devchallenge #hf26challenge
&lt;/h1&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>webdev</category>
      <category>python</category>
    </item>
  </channel>
</rss>
