API reference
Rustdoc turns the doc comments of each crate into the API reference. This site explains how the pieces fit; the API docs are where you look up an exact signature.
Each crate's docs are on docs.rs. To read the docs of an unreleased main, or offline, build them from a clone:
cargo doc --workspace --no-deps --open
| Crate | docs.rs |
|---|---|
troupekit | https://docs.rs/troupekit |
troupekit-kit | https://docs.rs/troupekit-kit |
troupekit-macros | https://docs.rs/troupekit-macros |
troupekit-core | https://docs.rs/troupekit-core |
troupekit-agent | https://docs.rs/troupekit-agent |
troupekit-graph | https://docs.rs/troupekit-graph |
troupekit-host | https://docs.rs/troupekit-host |
troupekit-providers | https://docs.rs/troupekit-providers |
troupekit-tools | https://docs.rs/troupekit-tools |
troupekit-context | https://docs.rs/troupekit-context |
troupekit-index | https://docs.rs/troupekit-index |
troupekit-store-sqlite | https://docs.rs/troupekit-store-sqlite |
troupekit-local | https://docs.rs/troupekit-local |
troupekit-trace | https://docs.rs/troupekit-trace |
troupekit-cli | https://docs.rs/troupekit-cli |
troupekit-ffi-core | https://docs.rs/troupekit-ffi-core |
troupekit-ffi | https://docs.rs/troupekit-ffi |
Start with troupekit and its prelude module. You reach the engine crates through it, as troupekit::agent, troupekit::core, troupekit::graph, troupekit::host, troupekit::providers, troupekit::tools and troupekit::trace, plus troupekit::context with knowledge and troupekit::local with local.