Skip to main content

Module traits

Module traits 

Source
Expand description

Backend-agnostic trait surface. Each deck-* crate is a concrete implementation of one or more of these traits; the orchestrator depends only on these abstractions.

Structs§

ToolDescriptor

Traits§

LlmBackend
A streamable LLM backend (ollama HTTP, llama.cpp in-process, etc).
McpClient
An MCP client connected to a single server (one trait instance per declared server). Implementations wrap rmcp transports.
Sandbox
Sandbox boundary: wrap an MCP server child process so that any tool invocation can only access an explicitly granted set of paths and syscalls.
Store
Encrypted, durable session/context store.