Kapitsa is a local language model inference engine optimized for Apple Silicon computers, with particular emphasis on Qwen and Nemotron architectures. It uses specialized Metal kernels and Apple Neural Engine acceleration to improve inference performance. Integrated SSD-based expert streaming enables compatible mixture-of-experts models to operate beyond available unified memory capacity. Persistent prompt caching reduces repeated context processing across application restarts. The engine supports quantized models in MLX and GGUF formats, including specialized distributions developed by its maintainers. OpenAI-compatible and Anthropic-compatible API endpoints facilitate integration with existing AI applications. Dedicated commands connect local models with popular coding agents. Network-based inference enables smaller Macs to access models hosted on more capable machines.
Features
- Optimized Apple Silicon language model inference with specialized Metal kernels and Neural Engine acceleration
- SSD-based expert streaming for executing compatible large mixture-of-experts models on memory-constrained Macs
- Persistent prompt caching for reducing repeated context processing following application restarts
- Quantized MLX and GGUF model compatibility with specialized Qwen, Hy4, Inkling, and DeepSeek distributions
- OpenAI-compatible and Anthropic-compatible API endpoints with integrated browser-based chat functionality
- Local coding agent integration supporting Claude Code, Codex, OpenCode, Pi, Aider, and other assistants