Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Feature Flags

Zeph uses Cargo feature flags to control optional functionality. As of M26, eight previously optional features are now always-on and compiled into every build. The remaining optional features are explicitly opt-in.

Always-On (compiled unconditionally)

FeatureDescription
openaiOpenAI-compatible provider (GPT, Together, Groq, Fireworks, etc.)
compatibleCompatibleProvider for OpenAI-compatible third-party APIs
orchestratorMulti-model routing with task-based classification and fallback chains
routerRouterProvider for chaining multiple providers with fallback
self-learningSkill evolution via failure detection, self-reflection, and LLM-generated improvements
qdrantQdrant-backed vector storage for skill matching and MCP tool registry
vault-ageAge-encrypted vault backend for file-based secret storage (age)
mcpMCP client for external tool servers via stdio/HTTP transport

Optional Features

FeatureDescription
tuiratatui-based TUI dashboard with real-time agent metrics
candleLocal HuggingFace model inference via candle (GGUF quantized models) and local Whisper STT (guide)
metalMetal GPU acceleration for candle on macOS (implies candle)
cudaCUDA GPU acceleration for candle on Linux (implies candle)
discordDiscord channel adapter with Gateway v10 WebSocket and slash commands (guide)
slackSlack channel adapter with Events API webhook and HMAC-SHA256 verification (guide)
a2aA2A protocol client and server for agent-to-agent communication
indexAST-based code indexing and semantic retrieval via tree-sitter (guide)
gatewayHTTP gateway for webhook ingestion with bearer auth and rate limiting (guide)
daemonDaemon supervisor with component lifecycle, PID file, and health monitoring. Combined with a2a, enables --daemon headless mode (guide)
schedulerCron-based periodic task scheduler with SQLite persistence, including the update_check handler for automatic version notifications (guide)
sttSpeech-to-text transcription via OpenAI Whisper API (guide)
otelOpenTelemetry tracing export via OTLP/gRPC (guide)
pdfPDF document loading via pdf-extract for the document ingestion pipeline
mockMock providers and channels for testing

Build Examples

cargo build --release                                      # default build (always-on features included)
cargo build --release --features metal                     # macOS with Metal GPU
cargo build --release --features cuda                      # Linux with NVIDIA GPU
cargo build --release --features tui                       # with TUI dashboard
cargo build --release --features discord                   # with Discord bot
cargo build --release --features slack                     # with Slack bot
cargo build --release --features daemon,a2a                # headless daemon with A2A endpoint
cargo build --release --features tui,a2a                   # TUI with remote daemon support
cargo build --release --features gateway,daemon,scheduler  # with infrastructure components
cargo build --release --features full                      # all optional features

The full feature enables every optional feature except metal, cuda, and otel.

zeph-index Language Features

When index is enabled, tree-sitter grammars are controlled by sub-features on the zeph-index crate. All are enabled by default.

FeatureLanguages
lang-rustRust
lang-pythonPython
lang-jsJavaScript, TypeScript
lang-goGo
lang-configBash, TOML, JSON, Markdown