llmuxer
Every LLM-backed tool I built started the same way: wire up an API client, handle key storage, paper over provider quirks. hn-jobs-evaluator had Gemini baked in. Next tool, same plumbing from scratch.
llmuxer is the extraction of that pattern into a 3-crate library.
llmuxer is the core: LlmConfig holds provider + key, builds a client, and exposes QueryBuilder and CacheBuilder via a fluent interface. Provider differences stay inside.
llmuxer-keystore persists configs so you’re not re-entering API keys across tools.
llmuxer-egui wraps keystore into a widget: a button that opens provider/key selection with prefilled data. Drop it into any egui app.
The interesting part of LLM-backed utilities is what they do with the output, not the HTTP client boilerplate that gets you there.
Source on GitHub: https://github.com/exlee/llmuxer
Przemysław Alexander Kamiński
vel xlii vel exlee
Powered by hugo and hugo-theme-nostyleplease.