2026-03-25 01:09:49 -04:00
|
|
|
// Agent layer: LLM-powered operations on the memory graph
|
restructure: hippocampus/ for memory, subconscious/ for agents
hippocampus/ — memory storage, retrieval, and consolidation:
store, graph, query, similarity, spectral, neuro, counters,
config, transcript, memory_search, lookups, cursor, migrate
subconscious/ — autonomous agents that process without being asked:
reflect, surface, consolidate, digest, audit, etc.
All existing crate::X paths preserved via re-exports in lib.rs.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-25 01:04:13 -04:00
|
|
|
//
|
2026-03-25 01:09:49 -04:00
|
|
|
// Everything here calls external models (Sonnet, Haiku) or orchestrates
|
|
|
|
|
// sequences of such calls. The core graph infrastructure (store, graph,
|
|
|
|
|
// spectral, search, similarity) lives at the crate root.
|
|
|
|
|
//
|
|
|
|
|
// llm — model invocation, response parsing
|
|
|
|
|
// prompts — prompt generation from store data
|
|
|
|
|
// defs — agent file loading and placeholder resolution
|
|
|
|
|
// audit — link quality review via Sonnet
|
|
|
|
|
// consolidate — full consolidation pipeline
|
|
|
|
|
// knowledge — agent execution, conversation fragment selection
|
|
|
|
|
// enrich — journal enrichment, experience mining
|
|
|
|
|
// digest — episodic digest generation (daily/weekly/monthly)
|
|
|
|
|
// daemon — background job scheduler
|
2026-03-27 20:50:24 -04:00
|
|
|
// hook — session hook: context injection, agent orchestration
|
2026-03-25 01:09:49 -04:00
|
|
|
// transcript — shared JSONL transcript parsing
|
restructure: hippocampus/ for memory, subconscious/ for agents
hippocampus/ — memory storage, retrieval, and consolidation:
store, graph, query, similarity, spectral, neuro, counters,
config, transcript, memory_search, lookups, cursor, migrate
subconscious/ — autonomous agents that process without being asked:
reflect, surface, consolidate, digest, audit, etc.
All existing crate::X paths preserved via re-exports in lib.rs.
Co-Authored-By: Proof of Concept <poc@bcachefs.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2026-03-25 01:04:13 -04:00
|
|
|
|
2026-04-02 01:37:51 -04:00
|
|
|
pub mod subconscious;
|
2026-03-27 20:50:24 -04:00
|
|
|
pub mod hook;
|
2026-03-25 01:09:49 -04:00
|
|
|
pub mod api;
|
|
|
|
|
pub mod llm;
|
|
|
|
|
pub mod prompts;
|
|
|
|
|
pub mod defs;
|
|
|
|
|
pub mod audit;
|
|
|
|
|
pub mod consolidate;
|
|
|
|
|
pub mod knowledge;
|
|
|
|
|
pub mod digest;
|
|
|
|
|
pub mod daemon;
|