How mlabonne/gorilla-custom works
This repository is a collection of Gorilla-related products rather than one end-to-end application: an agent-comparison frontend, function-calling benchmarks and inference tools, OpenFunctions, GoEx, Gorilla model utilities, and RAFT. The graph preserves those distinct product branches and their principal documented capabilities. Sampled source establishes several internal calls; where only the README or file tree supports a subsystem, links are documented or marked unverified rather than presented as inspected runtime wiring.
Main entry points: main.py Action Runtime · _llm_response_generation.py Response Generation · AgentArena.js Agent Comparison · App.js Arena Router
Components 34
Agent Arena
- Arena Router
agent-arena/client/src/App.js - Agent Comparison
agent-arena/client/src/components/AgentArena.js - Agent Selection
agent-arena/client/src/components/AgentDropdown.js - Prompt Editor
agent-arena/client/src/components/CodeEditor.js - Agent Output
agent-arena/client/src/components/AgentOutput.js - ELO Leaderboard
agent-arena/client/src/components/Leaderboard.js - Community Profiles
agent-arena/client/src/components/UserPrompts.js
Function Call Benchmark
- Benchmark User
- Categories and Config
berkeley-function-call-leaderboard/bfcl_eval/constants/eval_config.py - Response Generation
berkeley-function-call-leaderboard/bfcl_eval/_llm_response_generation.py - Model Handlers
berkeley-function-call-leaderboard/bfcl_eval/model_handler/base_handler.py - Local Model Serving
berkeley-function-call-leaderboard/bfcl_eval/model_handler/local_inference/base_oss_handler.py - Result Evaluation
berkeley-function-call-leaderboard/bfcl_eval/eval_checker - Stateful Scenarios
berkeley-function-call-leaderboard/bfcl_eval/eval_checker/multi_turn_eval - Scores and Results
berkeley-function-call-leaderboard/bfcl_eval/constants/eval_config.py
Action Execution
- Agent or Client
- HTTP Interface
goex/server.py - Action Runtime
goex/main.py - Action Generation
goex/exec_engine/pipeline.py - API Execution
goex/exec_engine/api_executor.py - Docker Sandbox
goex/exec_engine/docker_sandbox.py - Filesystem Manager
goex/exec_engine/fs_manager.py - Database Manager
goex/exec_engine/db_manager.py - Validation and Undo
goex/exec_engine/negation_manager.py - External APIs and Stores
Gorilla Model Tools
- Model Developer
- Gorilla Inference
gorilla/inference/gorilla_eval.py - API Retrieval
gorilla/eval/retrievers - Model Evaluation
gorilla/eval/get_llm_responses.py - Model Delta Utility
gorilla/inference/apply_delta.py
OpenFunctions
- Function-Calling Client
- Hosted Inference
openfunctions/inference_hosted.py - Local Inference
openfunctions/inference_local.py
Other components
- User
Connections 34
- User → Arena Router: opens
agent-arena/client/src/App.js - Arena Router → Agent Comparison: routes to
agent-arena/client/src/App.js - Agent Comparison → Agent Selection: selects agents
agent-arena/client/src/components/AgentArena.js - Agent Comparison → Prompt Editor: uses editor
agent-arena/client/src/components/AgentArena.js - Agent Comparison → Agent Output: renders output
agent-arena/client/src/components/AgentArena.js - Arena Router → ELO Leaderboard: routes to
agent-arena/client/src/App.js - Arena Router → Community Profiles: routes to
agent-arena/client/src/App.js - Agent Comparison → ELO Leaderboard: submits comparisons
- Benchmark User → Response Generation: runs benchmark
- Response Generation → Categories and Config: loads settings
berkeley-function-call-leaderboard/bfcl_eval/_llm_response_generation.py - Response Generation → Model Handlers: requests inference
berkeley-function-call-leaderboard/bfcl_eval/_llm_response_generation.py - Response Generation → Local Model Serving: starts local server
berkeley-function-call-leaderboard/bfcl_eval/_llm_response_generation.py - Model Handlers → Stateful Scenarios: uses state utilities
berkeley-function-call-leaderboard/bfcl_eval/model_handler/base_handler.py - Response Generation → Scores and Results: writes responses
berkeley-function-call-leaderboard/bfcl_eval/_llm_response_generation.py - Response Generation → Result Evaluation: evaluates results
berkeley-function-call-leaderboard/bfcl_eval/_llm_response_generation.py - Result Evaluation → Stateful Scenarios: checks stateful cases
- Categories and Config → Scores and Results: defines output paths
berkeley-function-call-leaderboard/bfcl_eval/constants/eval_config.py - Agent or Client → HTTP Interface: sends actions
- HTTP Interface → Action Runtime: dispatches
goex/server.py - Action Runtime → Action Generation: generates actions
goex/main.py - Action Runtime → API Execution: executes API calls
goex/main.py - Action Runtime → Docker Sandbox: runs sandbox code
goex/main.py - Action Runtime → Filesystem Manager: manages files
goex/main.py - Action Runtime → Database Manager: executes database calls
goex/main.py - Action Runtime → Validation and Undo: checks reversals
- Docker Sandbox → External APIs and Stores: confines execution
- API Execution → External APIs and Stores: calls services
- Database Manager → External APIs and Stores: reads and writes
- Model Developer → Gorilla Inference: runs model
- Model Developer → Model Evaluation: evaluates model
- Model Evaluation → API Retrieval: retrieves APIs
- Model Developer → Model Delta Utility: prepares model
- Function-Calling Client → Hosted Inference: requests inference
- Function-Calling Client → Local Inference: runs locally