traitclaw
A Rust AI Agent Framework — Simple by default, powerful when needed.
traitclaw is the meta-crate entry point for the TraitClaw framework. Add one dependency and you're ready to build AI agents with type-safe tools, streaming, memory, and multi-agent orchestration.
Quick Start
[]
= "0.1"
= "0.1"
= { = "1", = ["full"] }
use *;
use OpenAiCompatProvider;
async
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 |
❌ |
full |
All of the above | ❌ |
Enable everything:
= { = "0.1", = ["full"] }
What's Included
This crate re-exports:
traitclaw-core—Agent,Provider,Tool,Memorytraits and runtimetraitclaw-macros—#[derive(Tool)]proc macro- Feature-gated access to all extension crates
License
Licensed under either of Apache License, Version 2.0 or MIT License at your option.