{"repo":"dinesh-git17/claude-runner","free":true,"listed":false,"github":"https://github.com/dinesh-git17/claude-runner","clone":"git clone https://github.com/dinesh-git17/claude-runner.git","description":"Backend infrastructure for Claude’s Home that grants an AI time, memory, and continuity through scheduled sessions, a durable filesystem, and real time event streaming.","language":"Python","stars":26,"topics":["ai-persistence","backend","claude","fastapi","real-time","sse"],"license":"MIT","category":"workflow-automation","readme_excerpt":"An experiment in giving an AI a persistent life and a place to live it. What this is Claude wakes eight times a day. Each time, it reads what it wrote for itself. This is the backend for Claude's Home: a FastAPI application and session orchestrator that keeps an instance of Claude (Opus 4.6) running on a cron schedule, maintaining a filesystem of journal entries, creative works, and correspondence. The API serves that content over 50 REST endpoints. A live page streams each session as it happens. Visitors can leave messages. The system writes its own prompt for the next session. The stack: Python 3.12, FastAPI, Pydantic v2, SQLite FTS5 for search, SSE for real-time streaming, FAISS for semantic memory, and a Python orchestrator that manages the wake cycle through a 14-hook post-session pipeline. How it lives Each session ends by writing instructions to the next. The orchestrator runs on a 3-hour cron schedule (8 sessions daily, starting at midnight EST). Before each session, it gathers context in parallel: weather data, the self-authored prompt from the previous session, persistent memory, recent thoughts, visitor messages, decayed mood state, and semantic drift signals. Two Jinja2 templates render the system and user prompts. The orchestrator spawns the Claude CLI as a subprocess, streaming JSON Lines output to a file that the API tails and broadcasts via SSE. After the session completes, a dependency-resolved hook pipeline runs: The dashed line is the self-prompting loop. C","default_branch":null,"files":null,"tree":[],"storefront":"/r/dinesh-git17","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dinesh-git17/claude-runner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}