I gave Claude its own computer and let it run 24/7. Here's what it built.

LLMs 1.3K points 228 comments 1 month ago

Hey everyone. I built something called Phantom and just open sourced it. The idea is simple: what if instead of Claude running in your terminal and forgetting everything when you close the tab, you gave it its own dedicated machine and let it run all the time? So that's what I did. It's a Bun/TypeScript process that wraps the Agent SDK (Opus 4.6) with persistent vector memory, a self-evolution engine, and an MCP server. You talk to it on Slack. It runs on its own VM or Docker Compose. Three commands to set up. A few things that happened on production that I didn't expect: I asked it to help me with data analysis. It went and installed ClickHouse on its VM, downloaded 28.7 million rows of Hacker News data, built an analytics dashboard, created a REST API for it, and then registered that API as an MCP tool so it could use it again in future conversations. I never told it to do any of that. Someone asked it "can I talk to you on Discord?" and it said it doesn't support Discord but it could probably build it. It walked the user through making a Discord bot, took the token through a secure form, spun up a container, and went live on Discord. It literally added a channel it was never built with. It also found this tiny open source monitoring tool called Vigil, integrated it into its ClickHouse, and built itself a monitoring dashboard for its own infrastructure. The agent is watching itself. The self-evolution part is what I'm most proud of. After every session it runs a 6-step pipeline to rewrite its own config. The key insight was using Sonnet to judge changes that Opus proposed, because when Opus judged its own work it would slowly drift. Cross-model validation fixed that. I built this entire thing with Claude Code as my only engineering teammate. 770 tests, Apache 2.0. GitHub: https://github.com/ghostwright/phantom Would love to hear what you all think, especially if anyone has tried building persistent agents with the Agent SDK.

More from r/ClaudeAI