attuned-core
Core types and traits for Attuned - a Rust framework for representing human state as interpretable vectors and translating them into interaction constraints for LLM systems.
Overview
Attuned produces context, not actions. It represents user state across interpretable dimensions (axes) and translates that state into guidelines for LLM interactions.
Core Types
- [
StateSnapshot] - A point-in-time capture of user state - [
PromptContext] - Translated guidelines for LLM conditioning - [
Translator] - Trait for converting state to context
Example
use ;
// Create a state snapshot
let snapshot = builder
.user_id
.source
.axis
.axis
.build
.unwrap;
// Translate to prompt context
let translator = default;
let context = translator.to_prompt_context;
// Use guidelines in your LLM system prompt
for guideline in &context.guidelines