Expand description
Procedural macros for the klieo agent framework.
See the docs on tool for the #[tool] attribute macro and on
derive_klieo_response for the #[derive(KlieoResponse)] macro.
Attribute Macros§
- test
- Mark an
async fntest as a klieo test: emits a sync#[test] fnthat builds acurrent_threadtokio runtime, optionally constructs aklieo_core::test_utils::TestContext, andblock_ons the body. - tool
- Turn an
async fninto aklieo_core::Toolimplementation.
Derive Macros§
- Klieo
Response - Derive
klieo_core::KlieoResponsefor a struct so it can be the typed payload of a structured LLM response.