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

llama-cpp-agent

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

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

cua logo
cua★ 29.0k
Open-source infrastructure that gives AI agents computers they can use: sandboxed desktops and VMs, drivers for operating native apps, SDKs and benchmarks for computer-use agents.
Cherry Studio logo
Cherry Studio★ 52.5k
A powerful desktop client for multiple LLMs. Supports local and cloud models.
CopilotKit logo
CopilotKit★ 37.8k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
awesome-n8n-templates logo
awesome-n8n-templates★ 25.8k
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.
TrendRadar logo
TrendRadar★ 62.7k
⭐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 等渠道智能推送。
ChatTTS logo
ChatTTS★ 39.9k
A generative speech model for daily dialogue.
CowAgent (formerly chatgpt-on-wechat) logo
CowAgent (formerly chatgpt-on-wechat)★ 47.3k
Open-source personal AI assistant and agent harness. Plans tasks, runs tools and skills, and builds memory and knowledge; multi-agent, multi-model and multi-channel (WeChat, Feishu, DingTalk, Telegram, Slack and more).
langchain4j-aideepin logo
langchain4j-aideepin★ 1.4k
基于AI的工作效率提升工具(聊天、绘画、知识库、工作流、 MCP服务市场、语音输入输出、长期记忆) | Ai-based productivity tools (Chat,Draw,RAG,Workflow,MCP marketplace, ASR,TTS, Long-term memory etc)
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 658
Last commit7mo ago
StatusActive
License—
CategoryLLM Infra
Trend (30d)
+26.3↑ 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.
AboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.