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
69
//! # TraitClaw
//!
//! A Rust AI Agent Framework — Simple by default, powerful when needed.
//!
//! This is the main entry point for the TraitClaw framework. It re-exports
//! everything from `traitclaw-core` and `traitclaw-macros`, so you only need
//! one dependency in your `Cargo.toml`:
//!
//! ```toml
//! [dependencies]
//! traitclaw = "1.0"
//! ```
//!
//! ## Feature Flags
//!
//! | Feature | Crate | Default |
//! |---------|-------|---------|
//! | `openai-compat` | `traitclaw-openai-compat` | ✅ |
//! | `macros` | `traitclaw-macros` | ✅ |
//! | `steering` | `traitclaw-steering` | ❌ |
//! | `sqlite` | `traitclaw-memory-sqlite` | ❌ |
//! | `mcp` | `traitclaw-mcp` | ❌ |
//! | `rag` | `traitclaw-rag` | ❌ |
//! | `team` | `traitclaw-team` | ❌ |
//! | `eval` | `traitclaw-eval` | ❌ |
//! | `strategies` | `traitclaw-strategies` | ❌ |
//! | `full` | all of the above | ❌ |
// Re-export everything from traitclaw-core
pub use *;
// Re-export the derive macro
pub use Tool;
// ── Feature-gated provider re-exports ────────────────────
/// OpenAI-compatible provider (GPT, Ollama, Groq, etc.)
pub use traitclaw_openai_compat as openai_compat;
/// Steering system (Guards, Hints, Trackers)
pub use traitclaw_steering as steering;
/// SQLite-backed persistent memory
pub use traitclaw_memory_sqlite as memory_sqlite;
/// Model Context Protocol (MCP) integration
pub use traitclaw_mcp as mcp;
/// Retrieval-Augmented Generation (RAG)
pub use traitclaw_rag as rag;
/// Multi-agent teams and delegation
pub use traitclaw_team as team;
/// Evaluation and benchmarking
pub use traitclaw_eval as eval;
/// Reasoning strategies (ReAct, CoT, MCTS)
pub use traitclaw_strategies as strategies;