26 comments

  • constGard3 hours ago
    I&#x27;ve added a few more bells and whistles to my agentic rube goldberg, but the gist is forgejo tag listeners triggering argo workflows to orchestrate<p>1. issue tag<p>2. write pr<p>3. testing<p>4. review+revise loop<p>5. merge mutex to ensure you don&#x27;t get a merge storm<p>6. rebase and merge<p>I&#x27;ve been trying really hard to have it properly implement agentic identity where the pod gets a spiffe-attested token and then trades that for access to the vault secret for a project-scoped forgejo service account. I wish forgejo could configure a trusted external jwt signing authority so I could skip vault and the accounts.<p>Here&#x27;s the inspiration for the auth model I&#x27;ve been trying to implement: <a href="https:&#x2F;&#x2F;datatracker.ietf.org&#x2F;doc&#x2F;draft-klrc-aiagent-auth&#x2F;" rel="nofollow">https:&#x2F;&#x2F;datatracker.ietf.org&#x2F;doc&#x2F;draft-klrc-aiagent-auth&#x2F;</a><p>The last piece has been using gvisor + kubernetes agent sandboxes. My fable adventure last week was having it debug the process of attesting and distributing workload identities for agents running in gvisor, as it creates a layer of indirection that confuses spire to the point it won&#x27;t issue an ID.
  • david-giesberg12 hours ago
    I&#x27;ve been doing something pretty similar, except instead of having a persistent opencode server, I&#x27;ve been using this workflow that runs opencode inside of the Forgejo action runners:<p><a href="https:&#x2F;&#x2F;codeberg.org&#x2F;dragonfyre13&#x2F;forgejo-opencode" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;dragonfyre13&#x2F;forgejo-opencode</a><p>Still tinkering with it, but the gist is that I can invoke Opencode with &#x2F;oc inside of an Forgejo issue, then it will come back with a PR for me to review.
    • t0mas8811 hours ago
      Nice! I&#x27;ve done that with Claude Code + Forgejo but as a small separate app to run Claude in Docker: <a href="https:&#x2F;&#x2F;github.com&#x2F;smithy-ai&#x2F;smithy-ai" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;smithy-ai&#x2F;smithy-ai</a>
  • MisterPea11 hours ago
    Some times I feel like a lot of people in tech independently go through the same things right around the same time with few people writing&#x2F;sharing about it.<p>I am also creating this and enjoyed the post and comments all going through the same thing :)
    • plmpsu9 hours ago
      Not only in tech. This is a common phenomenon. We&#x27;re not that original.
      • jatora3 hours ago
        nah im original af you wouldnt believe the stuff i have built even if i told you, its so unique it&#x27;s borderline retarded to the eye.
    • iagooar8 hours ago
      I have created this in 3 different ways, also with e2b.dev (great service). And yeah, that is my problem - I spend 99% of time hacking cool stuff, 1% yapping about it. Should do more yapping.
      • girvo6 hours ago
        Depressingly in todays attention economy, you absolutely should! It&#x27;ll be good for you directly. At least one upside is it can help others too I suppose, I just get sad when I think about how important attention is now
    • MAustriaGA11 hours ago
      I think it’s because people in tech expect everything for free.<p>I had a conversation with my lawyer and I had “just one more question” that was going to take more than the time we had left in the current meeting. He said “schedule another 30 and let’s talk about that.”<p>Fair!
  • atn342 hours ago
    I&#x27;ve got a gitea instance and a systemd timer polling for issues assigned to my bot. The systemd timer clones the repo etc and spawns the agent in a restricted environment where it has a private localhost (enforced by systemd), and then I set HTTP_PROXY to an inner proxy that connects to an outer proxy over a unix socket. The outer proxy enforces an allowlist and injects credentials. The agent doesn&#x27;t have access to any credentials inside its sandbox.<p>For the agent I was using `claude -p` with a pro subscription, but they&#x27;ve been treating their paying subscribers like they&#x27;re on a free trial (they&#x27;re subsidizing it so heavily it might as well be). So now I&#x27;m using an ollama pro subscription and a homebuilt agent with a bash tool and a str_replace tool. It gets on just fine with only those two
  • doctorspazz12 hours ago
    I&#x27;ve been trying to find the motivation to do a write up on my AI lab, and this is just what I needed. Thanks for sharing. My setup is a similar idea, just with n8n&#x2F;git&#x2F;argo&#x2F;k3s. It&#x27;s mainly for automated workflows that Qwen or Gemma4 can handle.
  • templar_snow10 hours ago
    This is great. Homelab AI feels like it&#x27;s going to fun as heck. I currently have Claude maintain my homelab across all devices; it made homelab setup and maintenance go from &quot;This is a trap that will fascinate you for years but never fully work right and waste time that would have better been spent elsewhere&quot; to &quot;This is actually a great idea and really extends my capabilities.&quot;
    • ohyoutravel10 hours ago
      I’ve found, even using the latest models, there are some time saving nuggets but mostly subtle config difficulties that just cause an enormous amount of debugging and a net negative on balance, unless you’re just asking for super targeted tasks like “set up a docker compose file” or “give me an NSD config.” But with both of those you need to already know you need the underlying tech and what to ask.
  • dlxfoo12 hours ago
    Im doing something very similar. Running my OpenCode on a proxmox lxc. I have an additional layer of Kimaki, which gives you Discord integration (hate it or love it). Chatting with your codebase (voice messages, too, if that’s your jam), is very very cool.
    • rsgm12 hours ago
      That&#x27;s very cool. Thanks, I&#x27;ll have to check that out.
  • schanz7 hours ago
    Any idea as of why this domain is blocked by quad9 resolvers? I am unable to open the website because Quad9 filters the domain:<p>dig @9.9.9.9 rsgm.dev NS<p><pre><code> ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; EDE: 17 (Filtered)</code></pre>
    • abtinf6 hours ago
      If I had to guess, it&#x27;s because the registration is brand new (about 8 hours old), created at 2026-06-15 14:01:25 UTC.
    • saint_yossarian4 hours ago
      It&#x27;s on a malware list: <a href="https:&#x2F;&#x2F;quad9.net&#x2F;result&#x2F;?url=rsgm.dev#domain-tester" rel="nofollow">https:&#x2F;&#x2F;quad9.net&#x2F;result&#x2F;?url=rsgm.dev#domain-tester</a>
  • vinnymac2 hours ago
    I’m working on an open source Forgejo Frontend that exposes additional features like this, and offers a better user experience, faster large diffs, and basically fixes every little thing I don’t like about Forgejo. Would be interested in hearing more of your complaints so I can continue to improve.
  • orangeisthe8 hours ago
    Two main reasons I don&#x27;t have this setup already is - the resource you need to give the VM running opencode to build your projects - Faster testing<p>I run pi coding agent right on my mac and I run our entire software suite - example: redis, postgres, kratos, .. etc. With coding agent running on my main development device, I can build faster (assuming opencode VM is a on a low specd machine) as well as test it faster. Example: I can just rebuild the backend and restart it and test it on the UI client with the new changes.
  • CGamesPlay4 hours ago
    Nice! I am still looking for the best AI integration for my setup. Currently I don&#x27;t have any interaction between Forgejo and my coding agent. I experimented with a Forgejo Actions runner, but the problem that I had was there&#x27;s not a great way to manage the context there: you get what&#x27;s in the issue or PR, but it gets muddy once you have multiple rounds and&#x2F;or discussion moves from the issue to the PR.
  • palmotea11 hours ago
    &gt; I set up OpenCode Web UI with Git access to make my homelab easier to manage. OpenCode pushes to Git, I approve the PRs, GitOps deploys the changes. Best of all, OpenCode runs as a server with persistent coding sessions synced across devices.<p>&gt; I’ll share my homelab setup soon. There are about a dozen docker compose stacks for the services that I manage.<p>That is probably neat, but before I read, how many thousands of dollars would I need to spend to acquire the RAM and GPUs needed to do something similar?
    • zaptheimpaler11 hours ago
      0? OpenCode is just a harness, it can connect to any model hosted online.
      • jagged-chisel6 hours ago
        &gt; ... hosted online.<p>Oh, so not <i>that</i> kind of Home Lab.
        • Carrok2 hours ago
          It can connect to any model hosted anywhere.
  • taleodor12 hours ago
    Very cool, we&#x27;re doing similar except we let agents open PRs as well + we track release metadata and agentic sessions via our ReARM system + we&#x27;ve recently launched an option for agents to track helm-based deployments via ReARM - <a href="https:&#x2F;&#x2F;docs.rearmhq.com&#x2F;workflows&#x2F;devops.html" rel="nofollow">https:&#x2F;&#x2F;docs.rearmhq.com&#x2F;workflows&#x2F;devops.html</a>
    • rsgm12 hours ago
      I didn&#x27;t mention this part, but while writing this I realized I could easily add a skill to hit the Forgejo PR API. There&#x27;s no forgejo CLI like there is with GitHub sadly.
      • kenosha7 hours ago
        I just use the tea CLI. There is pretty good compatibility between tea and forgejo. The only place I’ve found it to be incomplete is forgejo’s actions api was missing some endpoints.
      • t0mas8811 hours ago
        There is, but it&#x27;s limited. For example Forgejo does not expose CI build logs via the API so it&#x27;s hard to make Claude auto-fix a build issue.<p>I still need to find the time to get into the Forgejo code and add that endpoint.
      • cosnenc11 hours ago
        There is: <a href="https:&#x2F;&#x2F;forgejo.org&#x2F;docs&#x2F;latest&#x2F;admin&#x2F;command-line&#x2F;" rel="nofollow">https:&#x2F;&#x2F;forgejo.org&#x2F;docs&#x2F;latest&#x2F;admin&#x2F;command-line&#x2F;</a>
        • mfenniak11 hours ago
          That&#x27;s not an API tool. It performs direct database access for administrative functions on the Forgejo server.<p>But there is a different tool that is an API accessing CLI: <a href="https:&#x2F;&#x2F;codeberg.org&#x2F;forgejo-contrib&#x2F;forgejo-cli" rel="nofollow">https:&#x2F;&#x2F;codeberg.org&#x2F;forgejo-contrib&#x2F;forgejo-cli</a>
      • bityard12 hours ago
        That seems like a problem an LLM could solve. ;) (Assuming Forgejo has a reasonable REST&#x2F;whatever API.)
  • variety867512 hours ago
    How do you run inference for Open Code? What models are you running
    • znnajdla14 minutes ago
      For me personally: I sync OpenCode authentication tokens across all containers using Syncthing (will probably get a NAS at some point) and keep it signed it to Codex, DeepSeek, Kimi as well as a local Gemma 4 12B running on a MacMini. For frontier inference API endpoints you can also use vibeproxy to give you OpenAI compatible endpoints to Codex&#x2F;Antigravity.
  • msukkarieh8 hours ago
    We have a lot of folks using Sourcebot in their home lab as a nice free code search across their projects. Hope it could be helpful!<p><a href="https:&#x2F;&#x2F;github.com&#x2F;sourcebot-dev&#x2F;sourcebot" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sourcebot-dev&#x2F;sourcebot</a>
  • _def12 hours ago
    I wonder how gitops is done with docker compose
    • stryan12 hours ago
      I see a lot of people using Komodo for it, though if I had to pick I&#x27;d go with Doco CD[0]. You can also use standard Ansible for just cron+bash script to git pull.<p>On the Podman side, I wrote a tool named Materia[1] for it, but there&#x27;s also the wonderful Ansible quadlet role as well as Quadit and Orchess.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;kimdre&#x2F;doco-cd" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kimdre&#x2F;doco-cd</a><p>[1] <a href="https:&#x2F;&#x2F;primamateria.systems" rel="nofollow">https:&#x2F;&#x2F;primamateria.systems</a> or <a href="https:&#x2F;&#x2F;github.com&#x2F;stryan&#x2F;materia" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stryan&#x2F;materia</a>
    • rsgm12 hours ago
      I recently setup Arcane and started migrating stuff from Truenas apps, they were all deployed as custom docker compose services so it worked out. Arcane supports Git syncs to auto deploy compose stacks, <a href="https:&#x2F;&#x2F;getarcane.app&#x2F;docs&#x2F;features&#x2F;projects#sync-from-git" rel="nofollow">https:&#x2F;&#x2F;getarcane.app&#x2F;docs&#x2F;features&#x2F;projects#sync-from-git</a> I&#x27;ll write up some posts on my full setup soon.
      • blumomo12 hours ago
        What _IS_ Arcane? I fail to understand from their website <a href="https:&#x2F;&#x2F;getarcane.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getarcane.app&#x2F;</a><p>Is it a deployment automation platform where it can run a project’s docker services, with rollback and all?
        • rsgm11 hours ago
          so, the project is pretty much vibe coded, including the docs. It makes a lot more sense if you play around with it. It&#x27;s just a docker host management UI, I like using it. It has gitops built in and a nice container log view. It doesn&#x27;t do rollbacks, it only seems to sync from git and run compose up.
          • zbentley4 hours ago
            Is it analogous to portainer with a git-pull-compose-apply loop?
    • c-hendricks10 hours ago
      A long long time ago I wrote something for the company I was with to allow for pre-merge staging environments (preview environments but I didn&#x27;t have a name for them then)<p>Used docker-compose + git for application servers, and docker-compose + sync for static sites.<p>Actually worked pretty well! There&#x27;s bound to be better options nowadays.
  • cantalopes7 hours ago
    I get DNS_PROBE_POSSIBLE trying to open that domain
  • fazgha12 hours ago
    So first post in the blog, and it went directly HN frontpage.<p>Then, I said homelab AI, I thought it&#x27;s an interesting post about local GPU setup (and I am really interested in this topic).. but no, just another hype post about how to use whatever-code...
    • rsgm12 hours ago
      I looked into running local models last month. They just aren&#x27;t quite there for agentic tool use workflows without spending a small fortune. I&#x27;m hopeful smaller local models get much better soon.<p>I was also hoping to put out another post on my homelab setup, it has some neat stuff, but I haven&#x27;t had a chance to finish it.
      • sosodev12 hours ago
        I think it heavily depends on what you&#x27;re asking the model to do. Qwen3.6, both 27B and 35B-A3B, do agentic tool use very well. Their decision making is sus, but the dense model is decent in that way. A 4-bit quant for either of those can run on many home systems with a bit of configuration.<p>The biggest issue I&#x27;ve noticed is that the chat templates for open models are really hit or miss. The default Qwen3.6 chat template mostly works these days, but depending on your workload it may cause major issues. There are plenty of &quot;fixed&quot; chat templates on hugging face, but people report mixed success. It really seems to depend a lot on what the tool you&#x27;re using expects.
        • nyrikki10 hours ago
          My workflow is too different right now (gradually constrained to network less builds for reasons) but I am really enjoying how zeds agents have worked out in the past few weeks.<p>I have 27b, 35B-A3B and a cpu backed gpt-oss configured and use them in parallel, checking if one is getting ratholed and adding context or manual fixes.<p>I had various other systems setup and commercial models but really don’t use them.<p>It may be too interactive for some people, but it is a good mix of fail fast and often the places qwen3.6 was failing was eventually problems with the frontier models.<p>And this is with the unsloth defaults and hardened llama.cpp podman containers.<p>I do sometimes load other models or honestly just feed things into google’s free agent. But that is rare and to be honest manually fixing is typically faster and less error prone
    • reactordev12 hours ago
      you can&#x27;t explain the HN hug. You feel it, or your servers do.
  • estetlinus11 hours ago
    Do you use this at work or is it for vibe coding? Also, I don’t quite understand the problem you are solving. The solutions is a lot of technical parts put together, but why?
  • gaotus4 hours ago
    i work on something similar, hope to finish soon
  • johnnytech13 hours ago
    Really cool! Do you autoapprove edits or do you approve manually?
    • rsgm13 hours ago
      I&#x27;ll verify the PR code myself before merging, but that&#x27;s usually a quick skim.
  • hottrends6 hours ago
    [flagged]
  • Patchistry4 hours ago
    [flagged]
  • eugmai8610 hours ago
    [flagged]
  • ericmaciver8 hours ago
    [dead]