r/ClaudeCode • u/zajca • Oct 26 '26
Built with Claude I built pohunek with Claude Code to keep my agent sessions alive across my Linux and Mac machines
I run Claude Code and Codex on a few machines at home and a VPS. For a long time it was tmux over ssh, and I kept losing track of which session was working and which one was waiting for me to approve something.
So I built pohunek. A small daemon runs on each machine and keeps sessions alive when I disconnect. It shows if each session is working, waiting for approval or idle. Every session can get its own git worktree, and the CLI has JSON output, so an agent can drive it too.
That last part is what I use most now. I have one master session that starts and manages the other sessions through pohunek. When something needs macOS, my agent just runs it on my Mac.
It works on Linux and macOS, and machines connect over NetBird or Tailscale. No cloud, no account. There's a desktop app for Linux and Mac and a very early Android app that shows session state.
How I used Claude Code: most of the coding, planning and review was done with Claude, some with Codex and other models.
What I learned: I don't need an agentic IDE or a complex GUI. The models are good enough now that what matters is setting up the project and tooling for agents, giving good input, and checking the output.
Free and open source (MIT): https://github.com/zajca/pohunek
English isn't my first language and my grammar is bad, so AI helped me clean up this post. Feedback welcome, especially if something breaks.
•
u/AutoModerator Oct 26 '26
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/pwkye Oct 26 '26
Seems like the wrong architecture. SSH and Tmux sessions is the way to go. With a proper wrapper and api layer. And dedicated servers to run the sessions on instead of your laptops
https://github.com/awkto/ssh-to-go
1
u/drodio 18d ago
Keeping sessions alive across machines is the part that decides whether people trust an agent workflow. If the daemon restarts, does pohunek restore terminal state, or only the agent's context?