Skip to main content

Crate lmm_derive

Crate lmm_derive 

Source
Expand description

§lmm-derive

Proc-macro crates for the lmm agent framework.

§Derives

  • Auto - Generates impl Agent, impl Functions, and #[async_trait] impl AsyncFunctions for any struct that contains an agent: LmmAgent field. The struct must also impl Executor.

§Macros

See the agents! macro re-exported from lmm_agent.

§Attribution

The Auto derive is adapted from the autogpt crate’s auto-derive: https://github.com/wiseaidotdev/autogpt/blob/main/auto-derive/src/lib.rs

Derive Macros§

Auto
Derives Agent, Functions, and AsyncFunctions for a struct that: