Skip to main content

Crate lellm

Crate lellm 

Source
Expand description

LeLLM — Rust LLM orchestration framework.

默认开启 provider(core + provider 适配层)。

# 默认:core + provider
lellm = "0.4"

# 需要 Graph 编排层
lellm = { version = "0.4", features = ["graph"] }

# 需要 Agent 运行时
lellm = { version = "0.4", features = ["agent"] }

# 需要 MCP 协议(完整:agent 集成 + http/sse 传输)
lellm = { version = "0.4", features = ["mcp"] }

# 轻量 MCP:仅 stdio 传输,不拉入 agent/provider(无 reqwest/hyper/TLS)
lellm = { version = "0.4", default-features = false, features = ["mcp-stdio"] }

# 全部启用
lellm = { version = "0.4", features = ["full"] }

Re-exports§

pub use lellm_provider as provider;

Modules§

prelude