Loading…
The llama-cpp-agent framework is a tool designed to simplify interactions with Large Language Models (LLMs). It provides an interface for chatting with LLMs, executing function calls, generating structured output, performing retrieval augmented generation, and processing text using agentic chains with tools. It uses guided sampling to constrain the model output to user-defined structures, enabling models not fine-tuned for function calling or JSON output to perform these tasks, and it is compatible with the llama-cpp serve.
AI named llama-cpp-agent in December 2025.