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
61
62
63
64
65
66
67
68
//! Kowalski - A Rust-based agent framework for interacting with Ollama models
//!
//! This crate provides a comprehensive framework for building AI agents with various capabilities.
//! It acts as a facade, re-exporting functionality from the other crates in the `kowalski` workspace.
//!
//! ## Core components
//! - **`kowalski_core`**: Re-exported as `kowalski::core` — `TemplateAgent`, tools, memory, MCP, federation types.
//! - **Tools** live inside `kowalski-core` (not a separate `kowalski-tools` crate).
//!
//! ## Optional features
//! - **`cli`**: `kowalski-cli` as `kowalski::cli`
//! - **`postgres`**: Postgres / pgvector paths in `kowalski-core`
//! - **`full`**: `cli` + `postgres`
//!
//! ## Usage
//!
//! Add `kowalski` to your `Cargo.toml` and enable the features you need (see the workspace `Cargo.toml` for the current version).
//!
//! ```toml
//! [dependencies]
//! kowalski = { version = "1.3.0" }
//! ```
//!
//! ```rust,no_run
//! use kowalski::core::agent::{Agent, BaseAgent};
//! use kowalski::core::template::builder::AgentBuilder;
//! use kowalski::core::config::Config;
//! use kowalski::core::error::KowalskiError;
//!
//! #[tokio::main]
//! async fn main() -> Result<(), KowalskiError> {
//! // Create a basic agent
//! let agent = AgentBuilder::new().await
//! .build().await?;
//! Ok(())
//! }
//! ```
// Re-export core components
pub use kowalski_core as core;
// Re-export optional CLI
pub use kowalski_cli as cli;
// Convenience re-exports for common types
pub use crate;
// Re-export error types
pub use crateKowalskiError;
pub type Result<T> = Result;
// Version information
pub const VERSION: &str = env!;