Skip to main content

act_component

Attribute Macro act_component 

Source
#[act_component]
Expand description

Attribute macro for ACT component modules. Takes no arguments.

Transforms a module of #[act_tool] functions into a complete WIT component implementation (wit-bindgen world, Guest impl, list_tools/call_tool dispatch, plus session-provider when #[session_open]/#[session_close] are present). Component metadata and skills are embedded by act-build pack, not this macro.