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. Default features cover common use cases; platform-specific and experimental features are opt-in.

FeatureDefaultDescription
a2aEnabledA2A protocol client and server for agent-to-agent communication
openaiEnabledOpenAI-compatible provider (GPT, Together, Groq, Fireworks, etc.)
mcpEnabledMCP client for external tool servers via stdio/HTTP transport
candleEnabledLocal HuggingFace model inference via candle (GGUF quantized models)
orchestratorEnabledMulti-model routing with task-based classification and fallback chains
self-learningEnabledSkill evolution via failure detection, self-reflection, and LLM-generated improvements
vault-ageEnabledAge-encrypted vault backend for file-based secret storage (age)
indexEnabledAST-based code indexing and semantic retrieval via tree-sitter (guide)
tuiDisabledratatui-based TUI dashboard with real-time agent metrics
metalDisabledMetal GPU acceleration for candle on macOS (implies candle)
cudaDisabledCUDA GPU acceleration for candle on Linux (implies candle)

Build Examples

cargo build --release                                     # all default features
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 --no-default-features               # minimal binary

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