Phantom क्या है?
Phantom एक सेल्फ-होस्टेड AI को-वर्कर जो अपनी मशीन पर चलता है, आपकी बातें याद रखता है और अपने टूल खुद बनाता है. यह Agents & Automation टूल्स की Assistants & Chatbots श्रेणी में आता है; ओपन सोर्स है, TypeScript में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: compose file और env template डाउनलोड करें.
सारांश
Phantom, Ghostwright का बनाया एक ओपन सोर्स AI co-worker है, जो Claude Agent SDK पर बना है। यह आपके laptop की chat tab में रहने के बजाय अपना एक अलग कंप्यूटर लेता है: एक समर्पित मशीन या VM, जहाँ यह software install कर सकता है, databases और services चला सकता है, और जो कुछ बनाता है उसे authentication के पीछे एक public URL पर दे सकता है। आप इससे Slack में, /chat पर browser chat में, या Telegram, email और webhooks के ज़रिए बात कर सकते हैं। इसका अपना email address भी है, जिससे यह आपके workspace के बाहर के लोगों को reports भेज सकता है।

इसे हर session को शून्य से शुरू करने के बजाय context जमा करते रहने के लिए बनाया गया है। तीन स्तर की vector memory (episodic session transcripts, semantic facts और procedural workflows, जो Ollama के embeddings के साथ Qdrant में सेव होती है) हर channel में साझा होती है। हर session के बाद एक self-evolution pipeline corrections और preferences देखती है, agent की अपनी configuration में छोटे बदलाव सुझाती है, और उन्हें लागू करने से पहले एक अलग model द्वारा जाँचे जाने वाले validation gates से गुज़ारती है। हर version सेव रहता है, ताकि बदलावों का diff देखा जा सके और उन्हें rollback किया जा सके।
Phantom दूसरे agents के लिए infrastructure के रूप में भी काम करता है। यह streamable HTTP पर MCP server चलाता है, ताकि Claude Code, Claude Desktop या कोई दूसरा Phantom इसकी memory से query कर सके, इससे सवाल पूछ सके और tools call कर सके। इनमें वे tools भी शामिल हैं जिन्हें agent ने runtime पर खुद बनाकर अपने लिए register किया है, और जो restarts के बाद भी बने रहते हैं। Anthropic डिफ़ॉल्ट model backend है, और एक YAML block इसे Z.AI, OpenRouter, Ollama, vLLM, LiteLLM या किसी भी Anthropic Messages API compatible endpoint पर बदल देता है।
यह क्या करता है
- अपनी मशीन या VM पर चलता है, इसलिए software install कर सकता है, databases चला सकता है, और authentication के साथ public URL पर dashboards, pages और APIs दे सकता है
- Qdrant में तीन स्तर की persistent memory (episodic, semantic, procedural), जो Slack, web chat, Telegram, email और webhook channels में साझा होती है
- हर session के बाद self-evolution: observe, critique, generate, पाँच gates से validate (cross-model judges के साथ), apply और consolidate, और versioned rollback के साथ
- अपने MCP tools runtime पर खुद बनाता और register करता है। ये restarts के बाद भी बने रहते हैं और दूसरे connected agents भी इन्हें call कर सकते हैं
- bearer tokens के साथ streamable HTTP पर MCP server, Claude Code, Claude Desktop (mcp-remote के ज़रिए) और दूसरे Phantoms के लिए
- Secrets AES-256-GCM encrypted forms के ज़रिए magic-link auth के साथ इकट्ठे किए जाते हैं, plain-text config की जगह, और इसकी अपनी email identity भी है
शुरू करें
README में Docker की सिफ़ारिश की गई है। आपको एक Anthropic API key (या कोई और supported provider) और Docker Compose चाहिए। Slack वैकल्पिक है, क्योंकि /chat पर web chat अकेले भी काम करती है। Compose file Docker socket mount करती है ताकि Phantom sibling containers शुरू कर सके, इसलिए project सलाह देता है कि इसे अपनी निजी workstation की बजाय किसी समर्पित मशीन या VM पर चलाएँ। Ghostwright ghostwright.dev/phantom पर एक dedicated VM में managed Phantom भी देता है।
Compose file और env template डाउनलोड करें
curl -fsSL https://raw.githubusercontent.com/ghostwright/phantom/main/docker-compose.user.yaml -o docker-compose.yaml
curl -fsSL https://raw.githubusercontent.com/ghostwright/phantom/main/.env.example -o .env.env भरें और इसे शुरू करें
ANTHROPIC_API_KEY सेट करें, और अगर Slack चाहिए तो अपने Slack tokens और OWNER_SLACK_USER_ID भी सेट करें (या Slack के बिना web chat में login के लिए OWNER_EMAIL)। Compose memory के लिए Qdrant शुरू करता है, Ollama embedding model pull करता है, और agent boot होता है। Health http://localhost:3100/health पर देखी जा सकती है।
docker compose up -dMCP token बनाएँ
Container के अंदर से Claude Code के लिए bearer token generate करें। आप Slack में अपने Phantom से भी इसे बनाने को कह सकते हैं।
docker exec phantom bun run phantom token create --client claude-code --scope operatorClaude Code को connect करें
Claude Code को MCP endpoint की ओर इंगित करें। लोकल instance के लिए hosted URL की जगह http://localhost:3100/mcp इस्तेमाल करें।
claude mcp add phantom https://your-phantom.ghostwright.dev/mcp \
--transport http \
--header "Authorization: Bearer YOUR_TOKEN"कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।
कब इस्तेमाल करें
- किसी टीम को Slack में एक हमेशा चालू रहने वाला assistant दें, जो project conventions याद रखे और open PRs तथा CI status जैसे scheduled summaries पोस्ट करे

- किसी agent से अपनी मशीन पर databases, data pipelines और dashboards खड़े कराएँ, और localhost पर अटके आउटपुट की जगह एक shareable URL वापस पाएँ
- custom MCP tools एक बार बनाएँ और register करें, फिर बाद के sessions में Claude Code या दूसरे agents से इन्हें call करें
- Z.AI, OpenRouter, Ollama, vLLM या LiteLLM के ज़रिए किसी सस्ते या self-hosted model backend पर एक लंबे समय तक चलने वाला agent चलाएँ
How Phantom compares
Phantom alongside other open-source assistants & chatbots tools AI/TLDR tracks, ranked by GitHub stars.
| टूल | स्टार | यह क्या करता है |
|---|---|---|
| OpenClaw | ★ 396k | आपके मौजूदा चैट ऐप्स पर बात करने वाला, अपनी मशीन पर self-host किया गया पर्सनल AI असिस्टेंट |
| Hermes Agent | ★ 268k | स्वयं-सुधारने वाला AI एजेंट, जो अनुभव से सीखता है और कहीं भी चलता है |
| Odysseus | ★ 96.1k | एक self-hosted AI workspace: चैट, agents, रिसर्च, डॉक्यूमेंट्स, ईमेल, नोट्स और कैलेंडर, सब एक ही stack में |
| CowAgent | ★ 48.2k | एक सेल्फ-होस्टेड असिस्टेंट जो टास्क की योजना बनाता है, टूल चलाता है और वहीं जवाब देता है जहाँ आपकी टीम पहले से चैट करती है |
| AstrBot | ★ 47.9k | आपके मैसेजिंग ऐप्स के लिए ऑल-इन-वन एजेंट चैटबॉट प्लेटफ़ॉर्म |
| OpenHuman | ★ 43k | लोकल मशीन पर अपनी मेमोरी रखने वाला डेस्कटॉप पर्सनल AI |
| MindsHub | ★ 39.9k | एजेंट वर्कस्पेस, जिसमें बदले जा सकने वाले ओपन harness और अपनी पसंद का मॉडल |
| Phantom | ★ 1.5k | एक सेल्फ-होस्टेड AI को-वर्कर जो अपनी मशीन पर चलता है, आपकी बातें याद रखता है और अपने टूल खुद बनाता है |
