Kani
Visit Toolkani is a lightweight and highly hackable microframework for tool-calling language models. It offers fine-grained customizability for NLP researchers, hobbyists, and developers.
At a glance
Trending
kani is a lightweight and highly hackable microframework for tool-calling language models. It offers fine-grained customizability for NLP researchers, hobbyists, and developers.
Trending
About
kani (カニ) is a lightweight and highly hackable microframework designed for chat-based language models with tool usage and function calling capabilities. Unlike more opinionated frameworks, kani offers extensive customizability over the control flow, making it an ideal choice for NLP researchers, hobbyists, and developers who require precise control. It supports a wide range of models out-of-the-box, including OpenAI, Anthropic, Google AI, Hugging Face transformers, llama.cpp, and vLLM, with a model-agnostic framework for easy integration of others. Key features include automatic chat memory management, robust function calling with model feedback and retry mechanisms, and support for multimodal inputs. The framework is built with an asynchronous design, allowing for scalable parallel chat sessions.
Capabilities
Pricing & Plans
Open Source
Free
FAQs
Trending