Functionary: Conversational LLM for Controlled Tool Use

Functionary is a language model that can interpret and execute functions/plugins, deciding when to call tools and understanding their results.

Stars
★ 1.6k
Last updated
5mo ago
FARS reviewed
Nov 08, 2026
License
MIT
Primary language
Python

At a glance

How it runs
Self-hosted serviceLibrary / SDK
Works with
Platform-specificOpenAI API
Cost
Free, no paid service needed
Setup effort
High · needs real infrastructure
You'll need
Python 3.xvLLM or SGLangNVIDIA GPUShell / CLINetwork accessLocal filesystem
Typical use
Developers integrating a chat model with external APIs for tasks like weather queries.
Not a fit if
  • Teams needing maintained, supported software; the project is deprecated with no fixes
  • Users with a single consumer GPU; medium models need 4×A6000 or 2×A100 80GB
  • Anyone wanting a turnkey app rather than deploying their own inference server
Maintenance
Commits in the last 6 monthslast commit 2026-06-30

What does this agent do, and when should you use it?

Functionary is a language model developed by MeetKai that specializes in function calling. It can decide whether to invoke functions based on user input, supports parallel calls, and generates responses grounded in tool execution results. The project is deprecated but provides multiple model versions, such as meetkai/functionary-v4r-small-preview and functionary-medium-v3.1. Deployment is possible via vLLM, SGLang, or TGI servers, with an OpenAI-compatible API. Despite being unmaintained, the code and documentation serve as a valuable reference.

Functionary takes user messages and tool definitions in JSON Schema format, uses the model to determine if function calls are needed, and generates tool_calls with function names and arguments. It supports parallel execution and can process tool results to produce final responses. Deployed via servers, it exposes an OpenAI-compatible chat completions endpoint at /v1/chat/completions, accepting standard requests and returning chat responses.

  1. Developers integrating a chat model with external APIs for tasks like weather queries.
  2. Scenarios requiring the model to call multiple tools in parallel, e.g., booking flights and hotels.
  3. Customer support systems that need structured extraction from user complaints.
  4. Researchers studying function-calling model implementations.
  5. Teams needing a self-hosted LLM service with an OpenAI-compatible interface.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install -e .[vllm]
  • pip install -e .[sglang] --find-links

How do you install or deploy this agent?

The project is deprecated, but the README provides installation steps: clone the repository, then install dependencies using pip: for vLLM run pip install -e .[vllm]; for SGLang run pip install -e .[sglang] --find-links ....

How do you use this agent?

Start the server using vLLM: python3 server_vllm.py --model "meetkai/functionary-v4r-small-preview" --host 0.0.0.0 --port 8000 --max-model-len 8192. Then use the OpenAI client: set base_url="http://localhost:8000/v1" and api_key="functionary", and send chat.completions requests with messages and tools.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • confirmation before acting — Turn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
  • sensitive-data handling — Use dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.

What are this agent's strengths and limitations?

Pros
  • Supports parallel function calls and code interpreter, offering rich functionality.
  • Ranked 2nd on Berkeley Function-Calling Leaderboard, demonstrating strong performance.
  • Provides OpenAI-compatible API, easing integration with existing applications.
  • Multiple deployment backends (vLLM, SGLang, TGI) allow flexibility.
Limitations
  • Officially deprecated and no longer maintained, with no updates or support.
  • Medium models require multiple GPUs (e.g., 4×A6000), incurring significant hardware costs.
  • GGUF integration in llama.cpp may lag, necessitating custom scripts.
  • Dependent on specific inference servers; not a standalone application.

How does this agent compare with similar options?

The README compares Functionary with NexusRaven, Gorilla, Glaive, and GPT-4-1106-preview, highlighting its support for multi-turn conversations, following up on missing arguments, and generating responses grounded in tool results.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Functionary: Conversational LLM for Controlled Tool Use This agent 44 · Major gaps Self-hosted serviceFree ★ 1.6k 5mo ago Python OpenAI API
LLM-in-Sandbox 47 · Major gaps CLIFree + model costs ★ 248 3mo ago Python OpenAI API · Claude API
Forge: Reliability Layer for Self-Hosted LLM Tool Calling 77 · Good CLIFree + model costs ★ 2.3k 10d ago Python OpenAI API · Claude API
Qwen-Agent 52 · Major gaps Library / SDKFree + model costs ★ 17k 9mo ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
44/ 100 5-point scale 2.2 / 5
Trust 8/29
Reliability 3/14
Adaptability 10/18
Convention 12/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

The server exposes an OpenAI-compatible chat endpoint, and README examples show tool definitions, returned tool calls, and execution of a real Python function. The packet shows no pre-call confirmation, permission controls, sensitive-data rules, or tool-execution isolation, so least privilege, confirmation, data-flow clarity, and external-effects safeguards are only partial. README documents LoRA load and unload endpoints, giving limited rollback. The license names a copyright holder, supporting attribution, but does not verify publisher identity.

Reliability3 / 14 · 1.1/5

README gives deployment paths for vLLM, SGLang, TGI, and llama.cpp, and pyproject pins some optional dependency versions. However, README explicitly says the project is deprecated and the documentation is outdated; base dependencies also include ranged versions, so availability support is limited. server.py shows no requester-facing exception handling or failure explanation, earning 0 for failure messages.

Adaptability10 / 18 · 2.8/5

README lists chat, parallel and serial function calls, follow-up grounded in tool results, code interpreter use, and several deployment and model sizes, supporting varied tasks and hardware environments. The claim that tools trigger only when needed is asserted, while examples do not establish precise trigger boundaries, so trigger precision is low.

Convention12 / 18 · 3.3/5

README is organized into installation, deployment, API usage, model information, and examples, and notes compatibility differences and limitations. The MIT license is complete and clear. Multiple model and interface generations coexist; maintenance responsibility is explicitly limited because the project is deprecated and unsupported. The changelog is traceable, but the lack of ongoing maintenance limits the update path, so these areas do not receive full marks.

Effectiveness7 / 13 · 2.7/5

Tool calls return structured JSON Schema arguments and include conversational examples, making results usable by clients. Tool calling and interpreting execution results provide a clear capability beyond plain chat. Listed GPU requirements are substantial, and the packet provides little cost or resource-selection analysis, so cost-benefit support is thin.

Verifiability4 / 8 · 2.5/5

README deployment commands, request examples, and model tables make usage claims traceable, and the code shows how the chat endpoint passes tool definitions onward. However, feature comparisons and performance ranking are primarily documentation claims, and examples and code do not independently corroborate every claim. The documentation distinguishes examples from outputs and identifies some compatibility limits, supporting partial separation of facts and limitations.

Risks and how to mitigate them
  • Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
  • Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
  • README explicitly says the repository is deprecated, its code and documentation are outdated, and updates and support have ended; deployment and compatibility guidance may not fit current environments.
  • The real-function example invokes Python functions registered by the application; deployers should review those functions' permissions and side effects.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision e240e8c54684
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/functionary.svg)](https://followagents.com/en/agents/functionary)
<a href="https://followagents.com/en/agents/functionary"><img src="https://followagents.com/badge/functionary.svg" alt="FARS review"></a>

FAQ

Does Functionary support parallel function calls?
Yes, it supports parallel function calling, generating multiple tool_calls in a single response.
Is a GPU required to run it?
Yes, model inference requires NVIDIA GPUs; small models need about 24GB VRAM, while medium models need 160GB (e.g., multiple A100s).
How can I integrate it with the existing OpenAI SDK?
Simply set the base_url to your local server address and provide any api_key value; you can then use the OpenAI Python SDK directly.
The project is deprecated; can I still use it?
You can still use the code and models, but there are no updates or official support, and there may be bugs or compatibility issues.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts