runed is a Go daemon that wraps llama.cpp llama-server to serve Qwen3-Embedding-0.6B embeddings over gRPC on a UNIX domain socket. It runs as a shared singleton process per machine, so multiple client sessions (e.g. rune-mcp) share one embedding backend instead of each loading their own ~400 MB model.
This is the first pre-release.
Highlights
- Shared, on-demand daemon. Clients connect over
~/.runed/embedding.sock; if no daemon is listening, the client spawns one detached and reconnects. A socket probe ensures only a single daemon runs per machine.
- Self-bootstrap from a manifest. On first launch
runed fetches a build-time manifest URL and downloads the llama-server tarball and the embedding GGUF into ~/.runed/{bin,models}/. Subsequent launches reuse the cached artifacts as long as their SHA-256s still match — end users set no environment variables.
- Idle suspend without going offline. After
RUNED_IDLE_TIMEOUT (default 10m) of no RPC activity, the daemon stops its llama-server child to free ~470 MB of model weights, but stays up with the gRPC socket listening. The next Embed/EmbedBatch RPC transparently restarts the backend — cold-start latency is paid only on that one request.
- Health RPC reports self-bootstrap progress and backend state, including a distinct IDLE status for an idle-suspended embedder (treated as ready, not degraded).
- Manifest integrity & transport safety. Per-artifact SHA-256 verification on download; HTTPS expected in production, with a startup warning when an HTTP manifest URL is used.
Configuration
Key environment variables (full table in the README):
| Variable |
Purpose |
Default |
RUNED_HOME |
Data directory |
~/.runed |
RUNED_MANIFEST |
Manifest URL for self-bootstrap |
build-time default |
RUNED_CTX_SIZE |
llama-server --ctx-size (max input tokens) |
2048 |
RUNED_IDLE_TIMEOUT |
Idle period before suspending the backend (0 disables) |
10m |
RUNED_LLAMA_SERVER / RUNED_MODEL skip self-bootstrap and use a local binary / GGUF directly.
Install / run
Normally installed via the rune CLI:
rune install # → ~/.runed/bin/runed
For development, a foreground launch is supported:
The daemon process exits only on SIGINT/SIGTERM/SIGHUP or a Shutdown RPC.
CI / release
- Vendored
llama-server build with a reusable-workflow E2E gate.
- Linux build runners pinned to
ubuntu-22.04; artifacts named by build OS.
- Prerelease publishing is idempotent via
action-gh-release.
What's Changed
- feat(ci): vendor llama-server build + reusable workflow E2E gate by @jh-lee-cryptolab in #3
- feat: runed self-bootstrap with manifest-driven artifact install by @couragehong in #4
- feat: backend idle-suspend (keep runed alive across idle) by @couragehong in #5
- feat: report self-bootstrap status via Health RPC by @couragehong in #6
- feat(bootstrap): add audit installation by @esifea in #7
- feat(ci): add generating manifest step by @esifea in #8
- feat(health): report idle-suspended embedder as IDLE, not DEGRADED by @couragehong in #10
- ci: pin linux build runners to ubuntu-22.04 by @jh-lee-cryptolab in #9
- ci(release): make prerelease publish idempotent via action-gh-release by @jh-lee-cryptolab in #11
- fix(bootstrap): retry transient manifest fetch failures at boot by @jh-lee-cryptolab in #12
New Contributors
Full Changelog: https://github.com/CryptoLabInc/runed/commits/v0.1.0
What's Changed
- feat(ci): vendor llama-server build + reusable workflow E2E gate by @jh-lee-cryptolab in #3
- feat: runed self-bootstrap with manifest-driven artifact install by @couragehong in #4
- feat: backend idle-suspend (keep runed alive across idle) by @couragehong in #5
- feat: report self-bootstrap status via Health RPC by @couragehong in #6
- feat(bootstrap): add audit installation by @esifea in #7
- feat(ci): add generating manifest step by @esifea in #8
- feat(health): report idle-suspended embedder as IDLE, not DEGRADED by @couragehong in #10
- ci: pin linux build runners to ubuntu-22.04 by @jh-lee-cryptolab in #9
- ci(release): make prerelease publish idempotent via action-gh-release by @jh-lee-cryptolab in #11
- fix(bootstrap): retry transient manifest fetch failures at boot by @jh-lee-cryptolab in #12
- fix(daemon): self-evict when socket is taken over; safe unlink-on-close by @couragehong in #13
New Contributors
Full Changelog: https://github.com/CryptoLabInc/runed/commits/v0.1.0