AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
LLM Infra/
llama-cpp-agent
llama-cpp-agent logo

llama-cpp-agent

Active·★ 635·Updated 2026-03-09
★ Trending★ Hidden Gem

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.

llama-cpp-agent is a Python framework for interacting with LLMs running via llama.cpp. It provides a unified interface for chat, structured function calls, and JSON-formatted output — including models not explicitly fine-tuned for function calling. Developers can define tools and callable functions that the agent invokes directly, making it practical for building local agentic workflows without cloud dependencies.

#agent-framework#Communication
$ Install
$ pip install llama-cpp-agent
↗ Visit site★ GitHub
01

Features

01Structured function calls for models running via llama.cpp
02JSON-structured output even from non-function-call-finetuned models
03Chat interface with multi-turn conversation support
04Python-native tool/function definition and binding
05Compatible with local LLM deployments — no cloud required
02

Compatibility

Python
Python 3.9+
Verified via docs
llama.cpp
Native
Verified via docs
Ollama
Supported
Verified via docs
03

Quick start

1
$ pip install llama-cpp-agent
04

Use cases

↳Building local agentic pipelines with open-source LLMs
↳Extracting structured data from LLM responses without fine-tuning
↳Prototyping function-calling workflows on consumer hardware
05

Alternatives

MetaGPT logo
MetaGPT★ 68.4k
🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
vs →
cua logo
cua★ 17.3k
Open-source infrastructure for Computer-Use Agents. Sandboxes, SDKs, and benchmarks to train and evaluate AI agents that can control full desktops (macOS, Linux, Windows).
vs →
CopilotKit logo
CopilotKit★ 31.8k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
vs →
awesome-n8n-templates logo
awesome-n8n-templates★ 22.6k
Supercharge your workflow automation with this curated collection of n8n templates! Instantly connect your favorite apps-like Gmail, Telegram, Google Drive, Slack, and more-with ready-to-use, AI-powered automations. Save time, boost productivity, and unlock the true potential of n8n in just a few clicks.
vs →
TrendRadar logo
TrendRadar★ 58.6k
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
vs →
ChatTTS logo
ChatTTS★ 39.4k
A generative speech model for daily dialogue.
vs →
ChatGPT on WeChat logo
ChatGPT on WeChat★ 44.9k
Empower your WeChat with ChatGPT. Supports text, voice, and image generation.
vs →
chinese-llm-benchmark logo
chinese-llm-benchmark★ 6.1k
ReLE评测:中文AI大模型能力评测(持续更新):目前已囊括335个大模型,覆盖chatgpt、gpt-5.2、o4-mini、谷歌gemini-3-pro、Claude-4.5、文心ERNIE-X1.1、ERNIE-5.0-Thinking、qwen3-max、百川、讯飞星火、商汤senseChat等商用模型, 以及kimi-k2、ernie4.5、minimax-M2、deepseek-v3.2、qwen3-2507、llama4、智谱GLM-4.6、gemma3、mistral等开源大模型。不仅提供排行榜,也提供规模超200万的大模型缺陷库!方便广大社区研究分析、改进大模型。
vs →
See all alternatives →

Related searches

llama-cpp-agent AlternativesBest LLM Infra Tools 2026Open Source LLM Infrallama-cpp-agent Tutorialllama-cpp-agent Vs Competitorsagent-frameworkCommunication

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 635
Last commit2mo ago
StatusActive
License—
CategoryLLM Infra
Trend (30d)
+25.4↑ 4.0%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.