Generative AI Toolkit -- a framework for increasing the quality of LLM-based applications over their whole life cycle

Jens Kohl, Luisa Gloger, Rui Costa, Otto Kruse, Manuel P. Luitz +8 more
12/18/2024
cs.SEcs.AI

No official code found. Best implementation: awslabs/generative-ai-toolkit (50 stars, Apache-2.0, last commit 2026-04-14).

Abstract

As LLM-based applications reach millions of customers, ensuring their scalability and continuous quality improvement is critical for success. However, the current workflows for developing, maintaining, and operating (DevOps) these applications are predominantly manual, slow, and based on trial-and-error. With this paper we introduce the Generative AI Toolkit, which automates essential workflows over the whole life cycle of LLM-based applications. The toolkit helps to configure, test, continuously monitor and optimize Generative AI applications such as agents, thus significantly improving quality while shortening release cycles. We showcase the effectiveness of our toolkit on representative use cases, share best practices, and outline future enhancements. Since we are convinced that our Generative AI Toolkit is helpful for other teams, we are open sourcing it on and hope that others will use, forward, adapt and improve

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The Generative AI Toolkit is a lightweight library for building, testing and evaluating AI agents in Python, using any of the LLMs supported by the Amazon Bedrock Converse API.

5014PythonOct 24, 20246 months agoApache-2.0

Cite this paper

@article{kohl2024generative,
  title  = {Generative AI Toolkit -- a framework for increasing the quality of LLM-based applications over their whole life cycle},
  author = {Jens Kohl and Luisa Gloger and Rui Costa and Otto Kruse and Manuel P. Luitz and David Katz and Gonzalo Barbeito and Markus Schweier and Ryan French and Jonas Schroeder and Thomas Riedl and Raphael Perri and Youssef Mostafa},
  year   = {2024},
  eprint = {2412.14215},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.14215v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.14215.svg)](https://codeofpaper.com/paper/2412.14215)

Discussion