8 Best Gorilla Alternatives in 2026 (Open Source)

Gorilla: Training and Evaluating LLMs for Function Calls (Tool Calls). vs ChatGPT function calling: open-source model + comprehensive BFCL leaderboard + GoEx safe execution engine, all from UC Berkeley research

Short answer

  • Closest match to Gorilla: llama-cpp-agent.
  • Most actively developed: Langroid (102 commits in the last 90 days).
  • Fastest growing: Swarm (+125 GitHub stars in the last 30 days).
  • No commit in 6+ months: llama-cpp-agent, Agentflow, Open Assistant API and AgentRun and 1 more.

These 8 open-source tools do the same job. They are ordered by how closely they match Gorilla, with live GitHub data so you can see which projects are actively maintained.

By package downloads llama-cpp-agent is the most used here (603 in the last 30 days), even though BabyAGI has the most GitHub stars. See all agent tools by downloads.

ToolGitHub starsStars / 30dLast commitDownloads / 30d
Gorilla(original)13.0k+412026-03-23—
llama-cpp-agent659+62026-03-09603
Agentflow32102023-08-11—
Open Assistant API367+12024-12-14—
Langroid4.1k+272026-10-02—
AgentRun380+22024-11-10—
Cheshire Cat AI3.1k+142026-07-29210
Swarm22.0k+1252026-04-15—
BabyAGI22.4k+242026-01-3195
  1. 1. llama-cpp-agent

    Python framework for LLM chat, structured output, function calling, RAG, and agent chains

    What sets it apart: Enabled function calling and structured output from any local LLM through grammar-based guided sampling, making capabilities previously exclusive to fine-tuned models available to all llama.cpp-compatible models — now deprecated

    Best for: Getting structured output from local LLMs without fine-tuning; Building function-calling agents with open-source models locally

  2. 2. Agentflow

    Complex LLM Workflows from Simple JSON.

    What sets it apart: vs AutoGPT / LangChain agents: deterministic step-by-step workflow execution from JSON definitions — balanced between chat flexibility and autonomous agent unpredictability, with custom function support

    Best for: Developers wanting structured, repeatable LLM workflows vs. freeform chat; Multi-step content generation pipelines (e.g., market research → analysis → report); Teams needing predictable LLM execution with human-readable workflow definitions

  3. 3. Open Assistant API

    Open-source, self-hosted AI assistant API compatible with OpenAI and supporting LLMs, RAG, and tools

    What sets it apart: Open-source OpenAI Assistant API compatible service supporting multiple LLMs via One API, with RAG, web search, and local deployment

    Best for: self-hosted-openai-assistant-alternative; multi-llm-assistant-apps; enterprise-local-deployment

  4. 4. Langroid

    Harness LLMs with Multi-Agent Programming

    What sets it apart: vs LangChain/CrewAI: Actor-model-inspired multi-agent framework from CMU/UW-Madison researchers, praised for intuitive Agent-Task abstractions, lightweight design, and production use at companies like Nullify - no dependency on LangChain

    Best for: Building multi-agent systems with clean Agent-Task abstractions; Teams wanting an intuitive, lightweight alternative to LangChain; Research applications with complex agent collaboration patterns

  5. 5. AgentRun

    The easiest, and fastest way to run AI-generated Python code safely

    What sets it apart: Single-line safe Python code execution from LLMs in Docker containers with automatic dependency management, safety checks, and resource limiting

    Best for: safe-llm-code-execution; sandboxed-python-runtime; giving-code-execution-to-llm-agents

  6. 6. Cheshire Cat AI

    AI agent microservice

    What sets it apart: vs LangChain/LlamaIndex: opinionated, ready-to-deploy conversational AI microservice with built-in admin panel, plugin system, and Qdrant RAG — not a framework but a complete product

    Best for: Building custom AI assistants as embeddable microservices; Teams needing plugin-extensible conversational AI with admin panel

  7. 7. Swarm

    Educational framework exploring ergonomic, lightweight multi-agent orchestration. Managed by OpenAI Solution team.

    Best for: Developers learning multi-agent orchestration patterns and concepts; Rapid prototyping of multi-agent workflows before production implementation; Educational settings exploring agent handoff and coordination

  8. 8. BabyAGI

    What sets it apart: vs static agent frameworks (LangChain/CrewAI): focuses on self-building capability where agents autonomously generate and improve their own functions — 'the simplest thing that can build itself'

    Best for: Exploring autonomous agent architecture concepts; Educational experimentation with self-building AI systems

FAQ

What are the best alternatives to Gorilla?
The closest open-source alternatives to Gorilla are llama-cpp-agent, Agentflow and Open Assistant API, followed by Langroid, AgentRun and Cheshire Cat AI. They are ranked by how closely they match what Gorilla does.
Which Gorilla alternative is the most popular?
BabyAGI has the most GitHub stars among Gorilla alternatives, with 22,363 stars.
Which Gorilla alternative is the most actively maintained?
By recent activity, Langroid (102 commits in the last 90 days) is the most actively developed alternative.

Maintain Gorilla or one of these alternatives?

Each tool page has a maintainer box: a README badge with your live rank and stars, or a homepage + category feature for $49 / 7 days.

Gorilla · llama-cpp-agent · Agentflow · Open Assistant API · Langroid · AgentRun