pub enum BackendKind {
Llm,
Policy,
Optimization,
Analytics,
Search,
Storage,
Other(String),
}Expand description
The kind of backend — which agent instantiation strategy it supports.
This is not a capability (capabilities are declared separately via
Capability). This is the category of the backend, used for
coarse routing before capability matching.
§Extensibility
The Other(String) variant allows future backend kinds without
breaking the enum. Use it for experimental or domain-specific backends.
Variants§
Llm
Large language model — cloud or local inference.
Examples: Anthropic Claude, OpenAI GPT, local llama-burn.
Policy
Policy engine — rule evaluation and access control.
Examples: Cedar, OPA, Polar (policy mode).
Optimization
Constraint optimization — resource allocation, scheduling.
Examples: CP-SAT (OR-Tools), Polar (constraint mode), custom solvers.
Analytics
Analytics and ML — embeddings, classification, regression.
Examples: Burn, LanceDB, Polars.
Search
Search — vector similarity, full-text, semantic.
Examples: LanceDB (vector), Qdrant, Meilisearch.
Storage
Storage — persistence, event sourcing, document store.
Examples: SurrealDB, PostgreSQL, SQLite.
Other(String)
Extension point for future or domain-specific backends.
Trait Implementations§
Source§impl Clone for BackendKind
impl Clone for BackendKind
Source§fn clone(&self) -> BackendKind
fn clone(&self) -> BackendKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BackendKind
impl Debug for BackendKind
Source§impl<'de> Deserialize<'de> for BackendKind
impl<'de> Deserialize<'de> for BackendKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for BackendKind
impl Display for BackendKind
Source§impl Hash for BackendKind
impl Hash for BackendKind
Source§impl PartialEq for BackendKind
impl PartialEq for BackendKind
Source§impl Serialize for BackendKind
impl Serialize for BackendKind
impl Eq for BackendKind
impl StructuralPartialEq for BackendKind
Auto Trait Implementations§
impl Freeze for BackendKind
impl RefUnwindSafe for BackendKind
impl Send for BackendKind
impl Sync for BackendKind
impl Unpin for BackendKind
impl UnsafeUnpin for BackendKind
impl UnwindSafe for BackendKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.