askit_agent

Attribute Macro askit_agent 

Source
#[askit_agent]
Expand description

Declare agent metadata and generate agent_definition / register helpers.

Example:

#[askit_agent(
    title = "Add Int",
    category = "Utils",
    inputs = ["int"],
    outputs = ["int"],
    integer_config(
        name = "n",
        default = 1,
    )
)]
struct AdderAgent { /* ... */ }