Expand description
§wasm-agent
ReAct agent loop for WASM/edge environments.
Implements the Thought-Action-Observation cycle with a synchronous,
WASM-compatible tool dispatch system. All logic compiles and tests on
the host target; WASM-specific bindings are gated behind
#[cfg(target_arch = "wasm32")].
Re-exports§
pub use error::AgentError;pub use loop_runner::parse_react_step;pub use loop_runner::LoopRunner;pub use tools::ToolRegistry;pub use tools::ToolSpec;pub use types::AgentConfig;pub use types::Message;pub use types::ReActStep;pub use types::Role;
Modules§
- error
- history
- Conversation history management within WASM memory constraints.
- loop_
runner - ReAct loop runner: Thought -> Action -> Observation -> FinalAnswer.
- tools
- Tool registry and dispatch for WASM-safe function signatures.
- types
- Core types for the ReAct agent loop.