1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//! # brainwires-inference
//!
//! LLM-driven workhorses for the Brainwires Agent Framework.
//!
//! This crate is the home for everything in the framework that drives an
//! LLM call (chat / completion) or constructs prompts for one. It depends
//! on `brainwires-agent` for coordination primitives (locks, message
//! bus, agent lifecycle, runtime context) — coordination is what holds
//! agents together; inference is what they do.
//!
//! Extracted from `brainwires-agent` in Phase 11f to separate the
//! "what holds agents together" (`brainwires-agent`, the coordination
//! crate) from "what makes them think" (this crate).
//!
//! ## Modules
//!
//! - [`chat_agent`] — streaming chat completion loop with per-user session management
//! - [`task_agent`] — autonomous task execution loop
//! - [`planner_agent`] — LLM-powered dynamic task planning
//! - [`judge_agent`] — LLM-powered cycle evaluation
//! - [`validator_agent`] / [`validation_agent`] — LLM-driven validation
//! - [`validation_loop`] — quality-check loop wrapping validation agents
//! - [`cycle_orchestrator`] — Plan → Work → Judge cycle driver
//! - [`plan_executor`] — execution of LLM-generated plans
//! - [`summarization`] — history compaction via LLM
//! - [`system_prompts`] — registry of agent prompt templates
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;