{"slug": "week-4-dev-challenge", "title": "Week 4 Dev Challenge`", "summary": "A developer built PHANTOM OS, a haunted-computer demo that pairs a React/Vite frontend with a FastAPI and SQLite backend to log developer incidents and have a locally running Ollama model explain errors and answer questions about past failures. The terminal only simulates commands, and the AI has no shell access, keeping the system read-only by design. The project includes backend API tests covering health checks, incident creation, event retrieval, input validation and memory search.", "body_md": "*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine](https://dev.to/challenges/hacktoberfest-week4-2026-10-26)*\n\nWhat if your computer could remember every error, every failed build, and every mysterious bug — and then tell you what went wrong?\n\nMeet **PHANTOM OS**, a haunted AI-powered computer that turns technical failures into paranormal investigations.\n\nInspired by the *Ghost in the Machine* theme, I built an interactive desktop-style experience where developers can summon an AI ghost to investigate system incidents, explain errors, and preserve technical memories.\n\nPHANTOM OS brings together a few core features:\n\nThe idea was to create something that feels like a haunted operating system while demonstrating a practical application of private, locally running AI.\n\nThe demo showcases the PHANTOM OS interface and its haunted-computer experience.\n\n**Try it yourself:** Run the project locally using the instructions in the GitHub repository.\n\n**GitHub Repository:** [https://github.com/rohit060321/phantomos.git](https://github.com/rohit060321/phantomos.git)\n\nThe project is organized into two main parts:\n\n`frontend/` — React + Vite interface.`backend/` — FastAPI application, SQLite storage, and local AI integration.\nThe repository also includes setup instructions, architecture documentation, and backend API tests.\n\nI built PHANTOM OS using an open-source-first architecture.\n\n**Tech stack:**\n\nThe AI runs locally through Ollama. When a user submits an incident or asks the ghost a question, the backend sends the relevant context to the locally running model and returns its response.\n\nSQLite stores incident records, allowing users to revisit and search their previous technical experiences.\n\nI also made a conscious decision to keep the terminal safe: it simulates commands instead of executing arbitrary operating-system commands. The AI has no shell access or unrestricted system-control permissions.\n\nThe overall architecture is simple:\n\nFor PHANTOM OS, open innovation is not just a technology choice. It is what makes the project possible.\n\nUsing an open-weight model with local inference means:\n\nA closed API could provide similar text-generation functionality, but local, open-weight inference gives developers more control over the model, data flow, and deployment environment.\n\nThat is the spirit of open innovation I wanted to demonstrate.\n\nThe project was developed through an iterative build process, including architecture planning, implementation, debugging, and testing.\n\nThe backend currently has automated API tests covering health checks, demo incident creation, event retrieval, input validation, and memory search.\n\n*(Add your DevRelay agent session link here if you recorded one.)*\n\nEvery developer has encountered that one bug that appears at 2 AM, disappears when you try to reproduce it, and returns just when you think everything is fixed.\n\nI wanted to give that experience a personality.\n\nIn PHANTOM OS, errors are not just logs. They are unexplained incidents, and the AI is the ghost investigator trying to uncover what happened.\n\nThe project is playful on the surface, but the underlying idea is serious: **AI should be something developers can run, inspect, customize, and control — not just something they rent through an API.**\n\nSometimes the machine remembers what we forget.\n\nAnd sometimes, it has a ghost.\n\n*(Select the partner categories that PHANTOM OS actually qualifies for according to the challenge rules. Add the relevant partner names here.)*\n\nThanks to the Hacktoberfest community and everyone building in the open-source AI ecosystem. Building PHANTOM OS was a fun opportunity to explore what local AI can do beyond the usual chatbot experience.", "url": "https://wpnews.pro/news/week-4-dev-challenge", "canonical_source": "https://dev.to/rohit_kumarsingh_3c3d9c4/week-4-dev-challenge-2ei8", "published_at": "2026-10-30 19:46:32+00:00", "updated_at": "2026-10-30 19:50:45.623351+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-tools", "ai-agents", "developer-tools", "ai-products"], "entities": ["PHANTOM OS", "Ollama", "FastAPI", "React", "Vite", "SQLite", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/week-4-dev-challenge", "markdown": "https://wpnews.pro/news/week-4-dev-challenge.md", "text": "https://wpnews.pro/news/week-4-dev-challenge.txt", "jsonld": "https://wpnews.pro/news/week-4-dev-challenge.jsonld"}}