Skip to main content

Module agent

Module agent 

Source
Expand description

The boundary: implement Agent, get an AG-UI endpoint.

This crate depends on no LLM client. The .NET SDK can build on Microsoft.Extensions.AI because .NET has one blessed chat abstraction; Rust has async-openai, rig-core and genai with no winner, so binding to any of them would make this crate useless to two thirds of the ecosystem. A framework integration is an impl Agent for … in its own crate.

Traits§

Agent
An agent that can serve one AG-UI run.
AgentState
What a run’s shared state must be.
DynAgent
The dyn-compatible form of Agent.

Type Aliases§

BoxAgent
A type-erased agent over state S.