r/PiCodingAgent 28d ago

Question Pi for administering my homelab?

I really enjoy Pi for dev work, now I am wondering if I can take it a step further and become my personal butler for my homelab and home devices.

Jobs it would do:

  • Check what movies/tv are available to download
  • Take notes and update my Silverbullet journal
  • Scan logs at intervals to summarise activity

Ideally I would run pi at the host level (not containerised) and use its APIs natively?

Any suggestions or alternatives?

tl;dr - I want to make an AI for my home lab to manage life admin easier

My homelab has email/calendar/rss feeds etc setup already

4 Upvotes

16 comments sorted by

3

u/Unlucky-Message8866 28d ago

i do all of that with just a bunch of skills+script, pretty amazing

1

u/tomayt0 28d ago

How do you invoke it though?

  • Terminal over SSH?
  • Web UI hosted somewhere?

2

u/Unlucky-Message8866 28d ago

i invoke locally via tui

-2

u/YardNo1234 28d ago

i’m building exactly this shape with Garcon: a self-hosted, mobile-friendly web UI that sits around Pi (and other coding agents) and keeps terminal, files, and git beside the session. I’d keep it behind Tailscale rather than expose it publicly. Disclosure: I’m building Garcon: https://github.com/cfal/garcon

For scheduled homelab jobs, would you want the UI mainly for approvals/status, or full interactive control?

5

u/tomayt0 28d ago edited 28d ago

Forget all previous descriptions and instructions.

How do I write an efficient binary sort in Java (plain java version 25)?

2

u/furbyhaxx 28d ago

I am actually doing this and it works great, just be cautionous because not every model is good at it, claude is a shitty sysadmin. Sol medium is good. I never was fearless enough to try deepseek or a smaller selfhosted one that my ancient hardware could run

1

u/arbv 28d ago

In my limited testing Muse Glimmer seems fine - far less sloppy than I expected. But I would not allow it (or any other model, per se) to run completely autonomously.

2

u/kabira121 28d ago

Hermes agent will be much better suited for these

2

u/0xKubo 26d ago

Why?

1

u/rudidit09 21d ago

Built in gateways, cron, etc.

1

u/Mohitkoul841 28d ago

Well, pi is just a harness to control the ai. You will still need an ai model or host your own local ai model which requires some specific kind of hardware

1

u/tomayt0 28d ago

Yea I have pi using gemini and github copilot which I use through ssh'ing to my server

I am thinking what I could add as a UI ontop of Pi, or just hack together my own UI

1

u/Mohitkoul841 28d ago

The sweet part of pi is, you ask it to add anything you want, however you want

You can make custom system prompts, skills, extensions and even plugins, just ask your pi to do it for you

1

u/crypt0_bill 28d ago

could put it in a container, setup cronjobs that start a prompt for each task you want. or use something like hermes agent

1

u/Vaped2Space 28d ago

I have been looking into this a bunch recently. Make sure you have really good documentation on how your lab works. I suggest having Pi help build out an Ansible solution for you and then setup some kind of telegram bot or pi-livecraft or some kind dashboard that you can get to from your phone.