aethellib
Composable text generation primitives over target-specific TOML corpora with provenance tracking.
details for aethellib
aethellib is a Rust library for composable text generation from target-specific TOML corpora, with built-in source provenance tracking. The library focuses on loading and validating attributed documents into a single-target corpus, then pooling values by section and field so generation rules can operate predictably and transparently.
The generation engine is built around composable rules rather than a rigid DSL. You can combine primitives like literals, picks, and concatenation to construct outputs step by step, while the engine stores prior results in context for reuse across rules. This makes complex generation flows easier to reason about and extend.
A core differentiator is provenance as a first-class concept. Generated values preserve traceable source metadata, so outputs can be inspected and explained back to the originating corpus values. That traceability is especially useful when generation quality, data lineage, or debugging clarity matters.
The project is currently at version 0.8.4 and under active development. It is
published on crates.io and can be installed with cargo add aethellib. For a complete
reference workflow, the repository includes a runnable example that demonstrate corpus loading,
rule composition, and context-based output retrieval in practice.