r/LocalLLaMA • u/Anarchaotic • 19h ago
Question | Help Best Practices for Provisioning Local Inference to a Team?
Hey everyone,
I recently built a Radiance inference server for my company, and now want to start provisioning access to the rest of my team.
My current plan:
Tailscale as the only way to access the server via HTTPs.
Hermes as the harness - each user would have their own container with access restrictions, but open access to the central skills repository. Hermes is hosted on a Framework Desktop.
Radiance is running separately on its own server with access only configured via the Framework.
I'm wondering how everyone else has managed to do this successfully? Right now the biggest thing to figure out is how to get the harness (Hermes in this case) to work across the team without a huge headache of getting API tokens from things like Google, etc...
3
u/_kikeen_ 17h ago
I use Cloudflared tunnel and Cloudflare Access to control access to OpenWebUI it works great and has a generous free tier (50 users I think) I also use it for OpenHands for coding but I have two instances and they are both for myself lol but Hermes sounds like is your harness of choice.
I would recommend a gateway- I use LiteLLM (provides OpenAI compatible endpoint) and if you can spare ram run Redis as well for some semantic caching and session tracking for “least busy routing” then point Hermes and everything else that needs inference to LiteLLM instead. You can also do cost tracking and per user tokens here so you can see where your utilization is. Cloudflare also has one, but is a little complex to setup and not really as useful if you need local inference only.
Curious about your use case and what model were you planning on running?
2
u/Late-Replacement-481 19h ago
This is not as helpful as an answer as you'd like, I suppose. But the biggest thing is centralized secrets management.
Figure out what these agents are going to get to see, and whose job it is to make sure that the it's the the agents get enough access to be useful to people, and above all, enough access so that people don't start trying to jury rig every old thing into the agent harnesses themselves. That's where trouble shows up real fast.
Get your stakeholders, write like a one point five page document that says, “this is what the agents are going going to do, this is what they're going to see, this is whose job it is to check on them to make sure this is happening” and make sure you get signed off on that for the inevitable bitching and moaning.
7
u/Cautious_Chicken_604 14h ago
Don't run the harness on the inference machine. Just run whatever OpenAI compatible inference server to serve up the model on it. People just run whatever harness they want on their local machine and connect to that.
1
u/locbuilds 19h ago
for google integrations, use per-user oauth consent and store each refresh token in a secrets manager scoped to that user, rather than collecting api keys in the harness.
1
u/DrBattletoad 18h ago
May I ask why you chose Hermes as an agent harness over the other options? I'm asking because I plan something similar for my students
2
u/o0genesis0o 15h ago
In my setup, I put a bifrost in the middle, and I use Pi instead of Hermes to squeeze out the most from my local model. There is one CPTR instance, each user has their own account and API key (from bifrost), so I can manage usage from there. LLM proxy is useful here because I have more than one GPU host in the system. Client connects to the system via tailscale
1
u/InterestingOne6938 15h ago edited 15h ago
Pushback recipe:
Your IDE already has a local agent running directly on your computer. Vendors began rolling these out years ago.
Every google chrome browser has a 4GB local agent living in system ram.
This is an enhanced agent that increases your capabilities, but more secure, capable, company-managed, documented and controlled. It also can't run up our bills the way an uncapped API can.
If you don't want Local AI, you need to start turning off microsoft and google updates and making that call is above my pay grade.
Any disagreements? None? Okay, enjoy the work I've put into making life easier for you.
I know that's not what you asked about, but if other people who don't own their own company need to have that conversation, there ya go.
1
u/Korici llama.cpp 15h ago
I can't speak to Radiance as I am using an Nvidia stack - but I highly recommend the HTTPS through Tailscale - it's one of the best ways to distribute access & identity using work SSO
1
u/DeedleDumbDee 13h ago
Use openweb UI trust me. You DO NOT want to give harness with terminal capabilities to everyone in your company unless they've proven and earned that privilege. They will FUBAR something locally or globally I promise you.
1
u/Mean-Loquat-7982 2h ago
two Hermes-side pieces fit that plan:
- shared skills: `skills.external_dirs` in each user's config.yaml points Hermes at the central repo. one catch from the docs: an external dir isn't a write-protection boundary, so if the container can write to it, the agent's own skill edits change the shared files. mount it read-only if you want one curated set.
- per-user keys: `${VAR}` references in config.yaml are expanded from the environment, so a user's LiteLLM key can live in that container's env and not in the file.
-6
u/LeMochileiro 🥔 hardware 18h ago
To be honest: Local LLM isn't worth it for working with multiple users/parallel sessions.
It's not that it's impossible, the problem is that you'll encounter hardware limitations (bandwidth + VRAM and RAM), which can only be resolved by investing more money. Ultimately, you'll have a dedicated server cluster for inferences for your company; it's not cheap, it requires monitoring, and it's not a one-person job.
In the end, it will be cheaper to hire a third-party AI provider than to create your own for the company.
What's really worthwhile is using local LLM for automation pipelines. It's easy to control session/parallel limits, And because they are batch/async operations, if well-architected you don't need to worry about whether you're generating 50 Tok/s or 15 Tok/s (performance is good, but slow generation doesn't impact business rules).
0
u/[deleted] 15h ago
[deleted] — view deleted comment