跳到正文
原文
Simon Willison·· 2026-09-21AI 评分40

llm-keys-ui 0.1:远程保存 API key 而不粘贴进 ChatGPT

llm-keys-ui 0.1

AI 导读

llm-keys-ui 0.1 用来在远程机器上保存 API key,这样就不必把密钥粘贴进智能体会话或 ChatGPT 应用。Simon Willison 开始使用 Codex Remote,在多台机器上运行编程智能体,并从手机控制它们。

正文 · AI 翻译

这个插件解决了一个非常具体的问题。

我开始使用 Codex Remote 在多台机器上运行编程智能体,同时用手机控制它们。

有时我会用这些机器开发 LLM 项目,偶尔这就意味着我需要配置一个 API 密钥。

我不喜欢把 API 密钥粘贴到智能体会话中,所以我想要一种方法,能把这些密钥放到机器上,而不必直接粘贴到 ChatGPT 应用里。

有了这个插件,我可以让 Codex 运行:

uvx --with llm-keys-ui llm keys-ui --all

然后让它告诉我用于保存更多 API 密钥的界面 URL——包括本地网络或 Tailscale 设备的 IP。

之后,当它需要使用密钥时,可以把类似 llm keys get anthropic 的命令作为 shell 命令的一部分来使用。

Chat conversation requesting uvx --with llm-keys-ui llm keys-ui --all, with a response listing four server URLs on port 8010 and confirming the server is still running. LLM keys web interface listing anthropic, openai, openrouter, and qwen-dummy as stored keys, with a form containing Key name and New value fields and a Save key button. Existing key values are never displayed.

来源:Simon Willison · simonwillison.net