Provider interface returning AsyncIterable<StreamEvent>.
Available Providers
Setting Up a Provider
Interactive Setup
Manual Configuration
-
Set the API key via environment variable:
-
Or add it to
~/.config/lukan/credentials.json:
~/.config/lukan/credentials.json.
Selecting Models
Per-Channel Configuration
You can override the provider per-channel (WhatsApp, Email) inconfig.json:
OAuth Authentication
GitHub Copilot
OpenAI Codex
Ollama Cloud
Ollama Cloud fetches models dynamically fromhttps://ollama.com/api/tags. Vision-capable models are detected automatically (patterns: vision, -vl, multimodal, llava, llama-4).
OpenAI Compatible
Generic provider for any OpenAI-compatible endpoint (vLLM, Ollama local, LM Studio, etc.). Requires a base URL:/models endpoint. The API key is optional.
Lukan Cloud
Lukan Cloud is coming soon. All models, one API key, usage dashboard — no need to manage multiple provider keys.
