Phantom Shell — a haunted terminal possessed by a local open-weight model
Описание и применение
Phantom Shell — локальный AI‑ассистент для терминала, который комментирует команды и поддерживает чат без облачных сервисов, обеспечивая приватность и офлайн‑работу.
Задача
Enable a local AI model to provide contextual commentary and chat within a terminal without relying on cloud APIs, preserving privacy and offline capability.
Результат
Phantom Shell provides an on‑device AI shell experience with optional mock mode, enabling privacy‑centric, offline usage and easy model swapping.
Рабочий процесс
- Clone the repository:
git clone https://github.com/pr7426/ghost-in-the-machine - Navigate into the repo:
cd ghost-in-the-machine - Run demo with built‑in mock ghost:
python3 -m phantom_shell demoor./scripts/demo.sh - Start interactive possess mode:
python3 -m phantom_shell possess - Optionally pull a real model:
ollama pull llama3.2then runpython3 -m phantom_shell possess --model llama3.2
Доказательства
Phantom Shell is a CLI that lets an open-weight model possess your terminal.
If Ollama is not installed, a built-in mock ghost still demos the full UX so judges (and you) can try it offline in seconds.
Theme take: the “ghost” should live in the machine — open weights, local inference, no cloud API key. Privacy is the haunting.
- Дата записи: 2026-11-01T14:59:28.397Z