← All projects

02 / LLM library

Lucien

A Go library for generation and embeddings with local and agent-backed model runtimes.

What it does

A practical foundation for local LLM capabilities.

Lucien provides Go applications with text generation and local embeddings. It can run models through llama.cpp or delegate generation to an installed Codex or Claude Code CLI, behind a focused set of interfaces.

It also manages model downloads, inference configuration, structured output, and adaptive CPU, memory, and GPU resource policies. Applications can use the library's local runtime directly or choose only the capabilities they need.

Why Lucien? Lucien is the librarian of The Dreaming, whose library contains every imagined book. The name is a fitting reference for a library that helps applications work with language models and their knowledge.

View on GitHub