1#![deny(missing_docs)]
2pub mod core {
21 pub use brainwires_core::*;
22}
23
24#[cfg(feature = "tools")]
26pub mod tools {
27 pub use brainwires_tool_system::*;
28}
29
30#[cfg(feature = "agents")]
32pub mod agents {
33 pub use brainwires_agents::*;
34}
35
36#[cfg(feature = "storage")]
38pub mod storage {
39 pub use brainwires_storage::*;
40}
41
42#[cfg(feature = "mcp")]
44pub mod mcp {
45 pub use brainwires_mcp::*;
46}
47
48#[cfg(feature = "mdap")]
50pub mod mdap {
51 pub use brainwires_mdap::*;
52}
53
54#[cfg(feature = "prompting")]
56pub mod prompting {
57 pub use brainwires_prompting::*;
58}
59
60#[cfg(feature = "permissions")]
62pub mod permissions {
63 pub use brainwires_permissions::*;
64}
65
66#[cfg(feature = "providers")]
68pub mod providers {
69 pub use brainwires_providers::*;
70}
71
72#[cfg(feature = "chat")]
77pub mod chat {
78 pub use brainwires_providers::{
79 AnthropicChatProvider, ChatProviderFactory, GoogleChatProvider, OllamaChatProvider,
80 OpenAiChatProvider, OpenAiResponsesProvider,
81 };
82}
83
84#[cfg(feature = "seal")]
86pub mod seal {
87 pub use brainwires_seal::*;
88}
89
90#[cfg(feature = "rag")]
94pub mod rag {
95 pub use brainwires_rag::*;
96}
97
98#[cfg(feature = "interpreters")]
100pub mod interpreters {
101 pub use brainwires_code_interpreters::*;
102}
103
104#[cfg(feature = "relay")]
106pub mod relay {
107 pub use brainwires_relay::*;
108}
109
110#[cfg(feature = "skills")]
112pub mod skills {
113 pub use brainwires_skills::*;
114}
115
116#[cfg(feature = "eval")]
118pub mod eval {
119 pub use brainwires_agents::eval::*;
120}
121
122#[cfg(feature = "proxy")]
124pub mod proxy {
125 pub use brainwires_proxy::*;
126}
127
128#[cfg(feature = "a2a")]
130pub mod a2a {
131 pub use brainwires_a2a::*;
132}
133
134#[cfg(feature = "mesh")]
136pub mod mesh {
137 pub use brainwires_mesh::*;
138}
139
140#[cfg(feature = "audio")]
142pub mod audio {
143 pub use brainwires_audio::*;
144}
145
146#[cfg(feature = "datasets")]
148pub mod datasets {
149 pub use brainwires_datasets::*;
150}
151
152#[cfg(feature = "training")]
154pub mod training {
155 pub use brainwires_training::*;
156}
157
158#[cfg(feature = "autonomy")]
160pub mod autonomy {
161 pub use brainwires_autonomy::*;
162}
163
164#[cfg(feature = "brain")]
166pub mod brain {
167 pub use brainwires_brain::*;
168}
169
170#[cfg(feature = "mcp-server")]
174pub mod mcp_server_support {
175 pub use rmcp;
176 pub use schemars;
177 pub use tokio_util::sync::CancellationToken;
178}
179
180pub mod prelude {
186 pub use brainwires_core::{
188 AgentResponse,
190 ChatOptions,
192 ChatResponse,
194 ContentBlock,
195 EdgeType,
196 EmbeddingProvider,
198 EntityStoreT,
199 EntityType,
201 FrameworkError,
203 FrameworkResult,
204 GraphEdge,
205 GraphNode,
206 ImageSource,
207 Message,
208 MessageContent,
209 PermissionMode,
211 PlanMetadata,
213 PlanStatus,
214 Provider,
215 RelationshipGraphT,
216 Role,
217 StreamChunk,
218 Task,
219 TaskPriority,
220 TaskStatus,
221 Tool,
223 ToolCaller,
224 ToolContext,
225 ToolInputSchema,
226 ToolMode,
227 ToolResult,
228 ToolUse,
229 Usage,
230 VectorSearchResult,
231 VectorStore,
232 WorkingSet,
234 WorkingSetConfig,
235 serialize_messages_to_stateless_history,
236 };
237
238 #[cfg(feature = "tools")]
240 pub use brainwires_tool_system::{
241 BashTool, FileOpsTool, GitTool, RetryStrategy, SearchTool, ToolCategory, ToolErrorCategory,
242 ToolOutcome, ToolRegistry, ToolSearchTool, ValidationTool, WebTool, classify_error,
243 };
244
245 #[cfg(feature = "agents")]
247 pub use brainwires_agents::{
248 AccessControlManager,
250 AgentExecutionResult,
251 AgentRuntime,
253 CommunicationHub,
254 ContentionStrategy,
255 ExecutionApprovalMode,
256 FileLockManager,
257 GitCoordinator,
259 LockPersistence,
260 PlanExecutionConfig,
261 PlanExecutionStatus,
262 PlanExecutorAgent,
264 TaskManager,
265 TaskQueue,
266 ValidationCheck,
267 ValidationConfig,
268 ValidationSeverity,
269 run_agent_loop,
270 };
271
272 #[cfg(feature = "storage")]
274 pub use brainwires_storage::{EmbeddingProvider as StorageEmbeddingProvider, TieredMemory};
275
276 #[cfg(feature = "mcp")]
278 pub use brainwires_mcp::{McpClient, McpConfigManager, McpServerConfig};
279
280 #[cfg(feature = "mdap")]
282 pub use brainwires_mdap::{
283 Composer, FirstToAheadByKVoter, MdapError, MdapEstimate, MdapResult, MicroagentConfig,
284 StandardRedFlagValidator,
285 };
286
287 #[cfg(feature = "knowledge")]
289 pub use brainwires_brain::knowledge::{
290 BehavioralKnowledgeCache, BehavioralTruth, PersonalKnowledgeCache, TruthCategory,
291 };
292
293 #[cfg(feature = "prompting")]
295 pub use brainwires_prompting::{
296 GeneratedPrompt, PromptGenerator, PromptingTechnique, TaskClusterManager, TechniqueLibrary,
297 TemperatureOptimizer,
298 };
299
300 #[cfg(feature = "permissions")]
302 pub use brainwires_permissions::{
303 AgentCapabilities, ApprovalAction, ApprovalResponse, ApprovalSeverity, AuditLogger,
304 CapabilityProfile, PermissionsConfig, PolicyEngine, TrustLevel, TrustManager,
305 };
306
307 #[cfg(feature = "audio")]
309 pub use brainwires_audio::{
310 AudioBuffer, AudioCapture, AudioConfig, AudioDevice, AudioError, AudioPlayback,
311 AudioResult, SpeechToText, SttOptions, TextToSpeech, Transcript, TtsOptions, Voice,
312 };
313}