zhudotexe/kani

kani (カニ) is a highly hackable microframework for tool-calling language models. (NLP-OSS @ EMNLP 2023)

66
/ 100
Established

kani is a lightweight and customizable framework for building conversational AI agents that can use tools. It allows developers to feed in prompts and receive responses, enabling language models to perform actions like fetching real-time data or interacting with other systems. This tool is for NLP researchers, hobbyists, and developers who want fine-grained control over their AI's behavior and integrations.

599 stars. Used by 2 other packages. Actively maintained with 8 commits in the last 30 days. Available on PyPI.

Use this if you are a developer building a custom chatbot or AI agent and need fine-grained control over how your language model interacts with external tools and data.

Not ideal if you are looking for a no-code solution or a pre-built application, as this is a developer framework requiring coding knowledge.

AI development chatbot engineering natural language processing conversational AI tool-calling language models
Maintenance 17 / 25
Adoption 12 / 25
Maturity 25 / 25
Community 12 / 25

How are scores calculated?

Stars

599

Forks

29

Language

Python

License

MIT

Last pushed

Mar 04, 2026

Commits (30d)

8

Dependencies

1

Reverse dependents

2

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/zhudotexe/kani"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.