forked from kent/consciousness
Each agent is a .agent file: JSON config on the first line, blank line, then the raw prompt markdown. Fully self-contained, fully readable. No separate template files needed. Agents dir: checked into repo at poc-memory/agents/. Code looks there first (via CARGO_MANIFEST_DIR), falls back to ~/.claude/memory/agents/. Three agents migrated: replay, linker, transfer. Co-Authored-By: ProofOfConcept <poc@bcachefs.org>
28 lines
1 KiB
Rust
28 lines
1 KiB
Rust
// Agent layer: LLM-powered operations on the memory graph
|
|
//
|
|
// 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
|
|
// audit — link quality review via Sonnet
|
|
// consolidate — full consolidation pipeline
|
|
// knowledge — knowledge production agents + convergence loop
|
|
// enrich — journal enrichment, experience mining
|
|
// fact_mine — fact extraction from transcripts
|
|
// digest — episodic digest generation (daily/weekly/monthly)
|
|
// daemon — background job scheduler
|
|
// transcript — shared JSONL transcript parsing
|
|
|
|
pub mod transcript;
|
|
pub mod llm;
|
|
pub mod prompts;
|
|
pub mod defs;
|
|
pub mod audit;
|
|
pub mod consolidate;
|
|
pub mod knowledge;
|
|
pub mod enrich;
|
|
pub mod fact_mine;
|
|
pub mod digest;
|
|
pub mod daemon;
|