跳到正文
原文
Hacker News · 首页· amrrs·· 2026-10-19AI 评分30

不自建 LLM 代理,你怎么知道模型到底在干什么?

If you don't run your own LLM proxy, how do you know whats going on?

AI 导读

Hacker News 上一篇关于自建 LLM 代理(proxy)的讨论帖引发关注,核心观点是:不自己搭代理就无法掌握模型调用的真实情况。评论区推荐了 OpenRouter、liteLLMProxy 和 GoModel 等方案,其中 liteLLMProxy 可签发虚拟密钥、避免 API key 进入沙箱,并提供护栏(Guardrails)和全量可观测性,适合在沙箱中编排 agent 的场景。

正文
If you don't run your own LLM proxy, how do you know whats going on? (jrdsgl.com)
14 points by amrrs 2 hours ago | hide | past | favorite | 8 comments

One man’s fun is another man’s “idk what any of these words mean, I pay $20/mo for some company to abstract this complexity away”

For clarity, I do like blog posts like these.


OpenRouter does all this for you. It's pretty nice. Although for apps I use another server to lock down the requests even more and prevent the client from seeing my API key.


Yup. Setting up liteLLMProxy on some servers as we speak and will start playing around.

I can't orchestrate agents in sandboxes without it.

1. It can issue virtual keys, so provider API keys never go near the sandbox

2. I can see everything

3. Guardrails

And much more

Looking forward to it.


1) What kind of guardrails are you using? Do you do models like prompt injection checkers? Or what guardrails are useful that do not know the environment the agent lives in?

2) I heard Bifrost also works for this. Did you try that as well, pros/cons?


Well that was one of the reasons why i build my own agent/harness - to have actual full observability of what it is doing and why it is doing what it is doing.

Don't really understand why other agents to give those insights but well found my solution.


I use GoModel and its amazing. My favorite features are virtual model, the support for arbitrary request labels, and the nice dashboads / ui. Creator has more sophisticated report generation on the near term roadmap. He's super responsive to feedback and ships fast. (except for his recent trip to the US west coast to meet founders and investors, he's EU based)

来源:Hacker News · 首页 · news.ycombinator.com