#947 · Primary category: AI Agents & Automation

llama-cpp-agent

agents function-calling llamacpp llm llm-agent llm-framework llms parallel-function-call

The llama-cpp-agent framework is a tool designed for easy interaction with Large Language Models (LLMs). Allowing users to chat with LLM models, execute structured function calls and get structured output. Works also with models not fine-tuned to JSON output and function calls.

Project last updated:03/09/26

GitHub Stars

659

Forks

74

Contributors

10

License

MIT

Why we included this project

For Python developers who want a local LLM to do more than chat, this framework is worth a look. It wraps llama.cpp to support conversations, structured JSON output, and function calls, even against models that were never fine-tuned for tool use. That's the part that matters in practice: many small models choke on strict JSON or tool-calling, and this library does the parsing and formatting for you. Teams prototyping local, privacy-friendly agents on CPU or modest GPUs should find the setup straightforward. One honest caveat: the project is no longer actively maintained, with the author pointing users to ToolAgents, so treat it as a reference implementation or a starting point rather than a long-term dependency.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category