r/PiCodingAgent • u/le_bravery • 15d ago
Question Any open source tools to make pi into a mini Hermes
Hey all
I have been using Hermes at home and loving it for months now.
I love pi at work and Hermes is banned there. Lots of good reasons for my employer including remote access and plenty of other things.
However some features and use cases of Hermes are really nice.
I guess I could roll my own or any of this stuff but if there’s good things to start from I’d rather hear about that.
Right now at work I have a directory where I put projects. I open pi into a new project directory and I have an Agents file there to tell it what to do. It can then access any repo or multiple repos to get a job done. The project directory serves to store design docs and temp files so I can revive sessions or have many sessions on a single topic, kind of providing some memory for longer running projects and isolation for shorter ones.
The few features I really think I want at work:
* memory and a knowledge base. I suppose I could kind of roll my own or use obsidian locally on my work laptop and have some Hermes memory plugin to help it.
* scheduled cron jobs. Stuff like “every Monday do this task at 10AM and tell me about it” is killer.
* safer remote access (gonna have to figure this out in my own, but assuming I get something going I would like to be able to have a single entry point and let my context guide the agent using memory and skills to do a task without me setting too much context in advance, like cd-ing into a directory).
I’m using macOS ghostty herdr pi as a my stack.
Any help or links would be awesome!
9
u/kalgecin 15d ago
For memory, I use hindsight. I run it on a separate machine and share the memory across multiple pcs.
For crons, I run everything on linux, and cron jobs are like any other cron job launching pi with a prompt as an argument.
For remote accessing, I launch pi in a tmux session and can see and resume it from anywhere (on local lan) through ssh even grom the couch on my tablet :)
Pretty sure you can adapt these to macos. Hindsight might be overkill tho…. I like it personally.
6
u/PharmADD 15d ago
I just asked my agent on Hermes to try and make a plan to rebuild the Hermes features in pi. I then just went and told it which features I wanted. I’ve had to do a few little things, but overall that worked for me.
2
u/notlusss 15d ago
Not sure, but there is plugins for features you are looking for.
Remote access: telegram plugin (pi-telegram), or web with tunnel
Cron: agents-cron
Memory: theres a bunch of this.
2
u/GroceryNo5562 14d ago
I have some hand rolled plugin for memory, im happy with it but it could be better. For Cron and remote access I recommend using paseo - so much better than using telegram or whatever for UI
And yes, my flow was OpenClaw -> Hermes -> pi
2
u/ijustwannacumplease_ 14d ago
So, use claude fable with subagents to pull down pi + pull down hermes + create frankenstein harness that has those features you want, whatever they are. Ask it to use a git repo for task tracking via git issue creation.
For it to work well, you should first use Fable to analyze fundamentals of these features to educate you on how to talk about it.
The most important thing now is to know what you want, if you only know vaguely use AI ('please ground truth with sources' etc) to do a long running research task in the form of a report that explains the feature set and how it works. And then, you need to actually read it/reference it. And then you point another AI session to said document and explain in your own words what you want.
3
u/KPOTOB 15d ago
```bash
#!/bin/sh
while sleep 10; do
pi -p "Use mutt to receive and process one unread mail"
done
```
2
u/jonas-reddit 15d ago
The beauty of pi …
Just tell pi what you want and let it build it.
2
u/GroceryNo5562 14d ago
I see a lot of memory recommendations from everyone, I would love if everyone next to their recommendations could explain why they recommend it and overall what's good about particular memory extension design
1
u/SnooMarzipans2394 15d ago
For remote access try a telegram bridge. I wrote one for little-coder (pi derivative).
1
u/Extra_Loquat_7667 15d ago
For scheduled tasks, you simply need to use the operating system's built-in scheduling feature to execute shell commands, triggering the Pi to run specific prompts.
No additional functionality is required.
1
u/Rare-Injury744 14d ago
Maybe you can just ask pi itself, for me it recommended me pi-observational-memory:src and pi-self-learning:self-leanings.ts
1
u/_supert_ 14d ago
Came from openclaw.
cron -> system cron memory -> my fork of pi-mem remote access -> nfs and/or ssh web ui -> tui skills -> skills.
1
u/lilian_moraru 13d ago
Maybe Oh-My-Pi? https://omp.sh/
Memory(I use mnemopi backend): https://omp.sh/docs/memory
Skills (learns new ones automatically): https://omp.sh/docs/skills
It can run in the background, for those cron jobs. Has subagents and advisors(any number of specialised advisors, looking over executed commands).
1
u/neerps 15d ago
For memory can look at Agentmemory, OpenViking, TencentDB as examples and for different cases. For crons have no solution currently. But I know that Pi Durable exists. Maybe it can help. Need to check. For remote access can suggest using 2nd layer harness like Orca or herdr (just ssh to machine). But I fear no way to evade directory change, as agents will pollute workspace in most cases. Though I had a case where agent selected an output dir based on memory.
1
u/Imre_R 15d ago
For memory I just use a shared obsidian vault. Cron jobs it figured out by himself and the telegram bridge is quite easy to set up
1
u/nycstartupcto 14d ago
It’ll be called herpies
-3
u/funbike 15d ago
OpenClaw.
OpenClaw is a compeditor to Hermes and it's based on Pi. Pi extensions work with OpenClaw.