Synapse — A Rust agent framework with LangChain-compatible architecture.
This crate re-exports all Synapse sub-crates for convenient single-import usage. Enable features to control which modules are available.
Feature Flags
| Feature | Description |
|---|---|
default |
models, runnables, prompts, parsers, tools, callbacks |
agent |
default + graph, memory |
rag |
default + retrieval, loaders, splitters, embeddings, vectorstores |
full |
All features enabled |
Quick Start
use ;
use OpenAiChatModel;
use ;