Building a Tool Calling Platform for LLM Agents

arcade_ai · Tech · 2024 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: LLM agent infrastructure

Arcade AI argues that agents cannot become broadly useful until tool execution, tool management, and user-delegated authentication are separated from ad hoc orchestration code.

Constraints:

Architecture

Arcade AI provides a tool-calling platform with an opinionated Tool SDK, an engine exposing Auth, Tools, and LLM APIs, and actor workers that serve Python tools. The LLM API is OpenAI-compatible, injects and executes tools through the Tools API, and relies on a user-scoped OAuth/Auth API so agents can perform authenticated actions such as Notion, Twilio, Gmail, and Outlook operations.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  client-application[Client Application] --> llm-api[LLM API]
  llm-api --> tools-api[Tools API]
  tools-api --> auth-api[Auth API]
  auth-api --> token-storage[Token Storage]
  tools-api --> actor-workers[Actor Workers]
  tool-sdk[Tool SDK] --> actor-workers
  actor-workers --> external-services[External Services]
  tool-sdk --> tool-evaluation-framework[Tool Evaluation Framework]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Client Application Agent or app that sends prompts and receives tool-enabled LLM responses. LLM API
LLM API OpenAI-compatible endpoint that injects tools, handles tool choices, and composes tool results back into the response. Client Application, Tools API
Tools API Tool registry, management, execution, grouping, and scaling layer. LLM API, Auth API, Actor Workers
Auth API User-scoped OAuth/authentication layer that stores or retrieves tokens by provider, scope, and user ID. Tools API, Token Storage
Token Storage Ephemeral or VPC-hosted storage for long-lived authorization tokens. Auth API
Tool SDK Opinionated Python package scaffold for typed, testable, versionable tool functions. Actor Workers, Tool Evaluation Framework
Actor Workers Distributed runtimes that serve specific tools or toolkits and scale separately from the agent. Tools API, External Services
External Services OAuth-protected services such as Gmail, Outlook, Notion, Twilio, Slack, Salesforce, and Atlassian. Actor Workers
Tool Evaluation Framework CI/CD-like evaluation layer for how model, prompt, and tool changes affect agent/tool capability. Tool SDK

Data flow

A client sends a prompt and available tool definitions to an LLM/Arcade endpoint, the model predicts tool parameters, Arcade routes execution through its LLM API to the Tools API, the Tools API obtains user-scoped authorization from the Auth API, and an actor worker runs the tool in the appropriate runtime before the result is fed back into the LLM response.

4 supporting quotes
“client application invokes the llm with some type of prompt usually a conversational context and those tool definitions”transcript, stated
“execution entirely happens either within an orchest ation framework or manually once you get predicted parameters back”transcript, stated
“lastly the llm API it uses the tools API and the off API so this means essentially you if you're using the open AI client you point the base your url at arcade and you immediately get every tool that we have so I'll skip over this”transcript, stated
“lastly the actor is a essentially a worker API you could in theory write this with anything we open source the schema um but we provide a python CLI command just like yarn Dev there's arcade Dev it spins up the actor with”transcript, stated

Why this architecture

Arcade separates tool execution from orchestration so tools can be packaged, scaled, authenticated, tested, and run in the environments they require instead of being trapped inside a Python orchestration process or API-key-only helper.

3 supporting quotes
“tools need a dedicated runtime separate from orchestration now when I say orchestration I usually mean llm orchestration line chain llama index y yada crew AI what have you um the reason for this is because typically those are”transcript, stated
“use tools are code they need to be packaged like code versioned like code tested like code and right now they are sub packages of a sub package of a repo for most things agents need the same thing they need versions pend penned dependencies”transcript, stated
“agents should be able to act but not just for you not just a bot token not as some other entity that you have to give the world of you know the the keys to the castle to they should be able to act as”transcript, stated

Models used: large language models

Scale

Alternatives considered (roads not taken)

Collocate tool execution inside the agent orchestration framework

Rejected because: Collocation mixes compute resources and prevents scaling tool execution independently from the agent.

“without scaling the agent if the orchestration framework and the tool execution are collocated you'd have to scale both the client application in this case subsumes the tool execution in which case the computer resources are intermixed so there has to be a way to separate the”transcript, stated

Treat tools as notebook helpers or repo subpackages

Rejected because: The speaker argues tools need standard software practices: packaging, pinned dependencies, versions, tests, and monitoring.

“they need versions pend penned dependencies things we figured out in software a long time ago accurate and relevant monitoring”transcript, stated

API-key bot-token tools

Rejected because: API-key tools limit agents to low-impact actions and do not let agents act with the user's delegated permissions.

“have you noticed how most tools are https requests to something protected by an API key that's going to return text”transcript, stated

Developer-managed tool execution and prompt reinjection

Rejected because: Arcade's LLM API moves execution, input/output handling, and result reinjection behind a single HTTPS request.

“before arcade you have the left you're responsible for Tool execution you're responsible for handling the inputs and outputs”transcript, stated

Patterns

tool-use-orchestration (agent infrastructure)

Arcade centralizes tool registration, grouping, selection, execution, scaling, and result handling outside the agent orchestration framework.

“tool orchestration because I think it'll be familiar to people in terms of what it implies”transcript, stated
“what tools are going to what agent how can I group these tools together into toolkits synthetic toolkits”transcript, stated

structured-output-contract (tooling)

Tool definitions require typed inputs, typed outputs, descriptions, and execution methods so LLMs can predict parameters.

“a set of M inputs each with v values a set of why potential outputs all of the which are typed by the way a description of that function”transcript, stated

eval-driven-development (quality)

Arcade includes a tool-calling evaluation framework intended to run in CI/CD against new models, prompts, and tool capability changes.

“the tool SDK does come with a tool calling specific evaluation framework”transcript, stated
“I have a cicd pipeline I want to know every time a new model is released how it affects my tool calling capability”transcript, stated

safety-policy-enforcement (security)

OAuth scopes, user IDs, token storage, and deployment-boundary choices constrain what agents can do on behalf of users.

“you supply a provider an off provider and a set number of Scopes given that you provide a unique ID for the user”transcript, stated

cost-aware-routing (operations)

The architecture allows tools to run in the runtime they need, such as GPU Modal for image generation, while the agent runs elsewhere.

“what if you wanted your tool to run on modal with the GPU who was generating images but you didn't want your agent to run there”transcript, stated

Tradeoffs

Tool runtime placement

Chose Dedicated distributed tool runtimes over Tool execution inside orchestration frameworks.

Rationale: Separate runtimes let tools scale, use specialized compute, and be maintained independently from agent logic.

“how do you scale the tool calling up without scaling the agent”transcript, stated

Tool SDK design

Chose Opinionated typed Python tool package scaffold over Loose docstring parsing and arbitrary helper functions.

Rationale: Parameter annotations and packaging reduce ambiguity and make tools easier to serve to LLMs.

“we require that you annotate every parameter we're not parsing dock strings”transcript, stated

Authorization model

Chose User-scoped OAuth-style auth over Bot-token/API-key access.

Rationale: Agents become more useful when they can act as the user within authorized scopes.

“if agents can take actions on behalf of you the the world of the things that they can do for us opens up drastically”transcript, stated

Deployment responsibility

Chose Support Arcade cloud or customer-deployed Arcade environments over Only hosted execution.

Rationale: Security responsibility and token residency can align with the organization running the runtime.

“if it's our Cloud then it's our responsibility if it's the user and the they're deploying because arcade's very easy to deploy in your environment”transcript, stated

Gotchas (what bit them)

Tool calling is often confused with tool execution.

Root cause: Model APIs typically return predicted parameters, but execution remains the developer's responsibility.

Resolution: Design an execution platform where predicted parameters flow into managed tools and runtimes.

“when I say tool calling what I mean is prediction of parameters not execution”transcript, stated

Python orchestration frameworks can constrain tool runtime and concurrency.

Root cause: Collocated tool execution is limited by the orchestration runtime and can hit Python/GIL-style constraints for compute-heavy tools.

Resolution: Separate tool execution into actor runtimes that can be scaled independently or deployed on appropriate infrastructure.

“that forces tools to be essentially just concurrent HTTP requests and so there's no room for anything that might be computationally intensive”transcript, stated

Too many available tools can overwhelm model context and tool selection.

Root cause: Hundreds of tools cannot all fit in a single useful prompt, and smaller models degrade around 20 tools.

Resolution: Invest in tool grouping, actor-specific toolkits, and future tool selection systems.

“if you have 100 tools in the context window of a single request you're probably going to not even be able to use llama 32”transcript, stated

Tool integrations can silently change behavior under the agent.

Root cause: External services and integration packages evolve independently.

Resolution: Run CI/CD against fake OAuth accounts and every tool package nightly.

“how do you continuously manage arcades tool Integrations for maximum performance when the tools you're integrated with may change in Behavior underneath incredible question cicd”transcript, stated

Evaluation

Arcade evaluates tool capability through a tool-calling-specific evaluation framework, critics/rubrics, CI/CD checks on model and prompt changes, nightly integration tests with fake OAuth accounts, and package-level testing for Arcade-owned tools.

Metrics: Tool-calling capability under new models · Agent capability under prompt/model changes · Tool package nightly CI pass/fail · Integration behavior with OAuth-backed services · Production capability drift

3 supporting quotes
“there are critics rubrics I don't have enough time to explain it but it is built specifically for the purpose of saying I have a cicd pipeline”transcript, stated
“evaluate every time someone even changes a prompt”transcript, stated
“fake accounts fake o accounts on every single one cicd runs the tools every night”transcript, stated

Outcomes

The talk is an early product/platform presentation rather than a mature production case study; the strongest operating detail is nightly CI for Arcade-owned tool packages.

“we can create an ocean doc we can send a twio message we can read your Gmail all in a secure way”transcript, stated
“everything is downloadable except the engine is close Source binary but you can download the Doc container”transcript, stated