Kani: A Lightweight and Highly Hackable Framework for Building Language Model Applications
Not on the map. Why?
Abstract (arXiv)
Language model applications are becoming increasingly popular and complex, often including features like tool usage and retrieval augmentation. However, existing frameworks for such applications are often opinionated, deciding for developers how their prompts ought to be formatted and imposing limitations on customizability and reproducibility. To solve this we present Kani: a lightweight, flexible, and model-agnostic open-source framework for building language model applications. Kani helps developers implement a variety of complex features by supporting the core building blocks of chat interaction: model interfacing, chat management, and robust function calling. All Kani core functions are easily overridable and well documented to empower developers to customize functionality for their own needs. Kani thus serves as a useful tool for researchers, hobbyists, and industry professionals alike to accelerate their development while retaining interoperability and fine-grained control.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 5 of its 11 references that are in the map. First posted on arXiv 11 Sep 2023.
Builds on
5 of 11 references.
References · 5
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 4; 2026: 2.
11 papers.
- 2024FanOutQA: A Multi-Hop, Multi-Document Question Answering Benchmark for Large Language Modelscited by 29
- 2024On the Limit of Language Models as Planning Formalizerscited by 18
- 2024ReDel: A Toolkit for LLM-Powered Recursive Multi-Agent Systemscited by 8
- 2026Real-Time Deadlines Reveal Fragile Temporal Adaptation in LLM Strategic Dialoguescited by 5
- 2024You Have Thirteen Hours in Which to Solve the Labyrinth: Enhancing AI Game Masters with Function Callingcited by 4
- 2025TurnaboutLLM: A Deductive Reasoning Benchmark from Detective Gamescited by 4
- 2023Grounded Intuition of GPT-Vision's Abilities with Scientific Imagescited by 3
- 2025Toward Beginner-Friendly LLMs for Language Learning: Controlling Difficulty in Conversationcited by 3
- 2025Language Model as Planner and Formalizer under Constraintscited by 3
- 2026Language Models as Higher-Order Planning Formalizerscited by 1
- 2025First Steps Towards Overhearing LLM Agents: A Case Study With Dungeons & Dragons Gameplaycited by 0
- 2026Language Models as Higher-Order Planning Formalizers25 Mar 2026
- 2026Real-Time Deadlines Reveal Fragile Temporal Adaptation in LLM Strategic Dialogues19 Jan 2026
- 2025Language Model as Planner and Formalizer under Constraints7 Oct 2025
- 2025Toward Beginner-Friendly LLMs for Language Learning: Controlling Difficulty in Conversation4 Jun 2025
- 2025First Steps Towards Overhearing LLM Agents: A Case Study With Dungeons & Dragons Gameplay28 May 2025
- 2025TurnaboutLLM: A Deductive Reasoning Benchmark from Detective Games21 May 2025
- 2024On the Limit of Language Models as Planning Formalizers13 Dec 2024
- 2024You Have Thirteen Hours in Which to Solve the Labyrinth: Enhancing AI Game Masters with Function Calling11 Sep 2024
- 2024ReDel: A Toolkit for LLM-Powered Recursive Multi-Agent Systems5 Aug 2024
- 2024FanOutQA: A Multi-Hop, Multi-Document Question Answering Benchmark for Large Language Models21 Feb 2024
- 2023Grounded Intuition of GPT-Vision's Abilities with Scientific Images3 Nov 2023
Similar, not cited
Close in wording, no citation either way
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs
- 2023AgentSims: An Open-Source Sandbox for Large Language Model Evaluation
- 2023Opening up ChatGPT: Tracking openness, transparency, and accountability in instruction-tuned text generators
- 2025Kanana: Compute-efficient Bilingual Language Models
- 2024OpenThaiGPT 1.5: A Thai-Centric Open Source Large Language Model
- 2025Rethinking Stateful Tool Use in Multi-Turn Dialogues: Benchmarks and Challenges
- 2025Conversation Routines: A Prompt Engineering Framework for Task-Oriented Dialog Systems
- 2025ToolDial: Multi-turn Dialogue Generation Method for Tool-Augmented Language Models