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
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★ 68.4k
🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
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).
CopilotKit★ 31.8k
React UI + elegant infrastructure for AI Copilots, AI chatbots, and in-app AI agents. The Agentic Frontend.
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.
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 等渠道智能推送。
ChatGPT on WeChat★ 44.9k
Empower your WeChat with ChatGPT. Supports text, voice, and image generation.
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万的大模型缺陷库!方便广大社区研究分析、改进大模型。
Related searches
Comments
Log in to leave a comment
No comments yet. Be the first!