Tool Orchestration

inference.sh provides hundreds of pre-built integrations as tools for your agents. oauth flows, token refresh, and credential management are handled by the platform.

the integration tax

every tool your agent needs is an integration project:

  • implement the api calls
  • handle authentication (often oauth)
  • manage token storage and refresh
  • handle rate limits and errors
  • maintain as apis change

multiply this by every tool your agent needs. the integration work can exceed the agent work.

what the runtime provides

on inference.sh, integrations are ready to use:

categoryexamples
communicationgmail, slack, discord, x
productivitygoogle calendar, notion, github
datagoogle sheets, databases, file storage
searchweb search, knowledge bases
aiimage generation, transcription

connect once in workspace settings. your agents use them without additional code.

managed authentication

for each integration:

  • oauth flows are handled
  • tokens are stored securely (aes-256-gcm)
  • refresh happens automatically
  • credentials are injected at runtime

your agent code never touches credentials.

structured execution

tool calls are:

  • logged with full inputs and outputs
  • timed for performance analysis
  • retried on transient failures
  • subject to approval gates when configured

building custom tools

need something not in the library? build custom tools with the sdk:

python
1from inferencesh import Tool23@Tool4def my_custom_tool(param: str) -> str:5    """description for the agent"""6    # your implementation7    return result

custom tools get the same runtime benefits: logging, retries, approval gates.

tool types in one agent

Agents combine several tool kinds. The runtime schedules them through the same dependency graph — parallel when the model emits multiple calls in one turn, sequential across turns.

TypeWhat it runsTypical use
Grid / appinference.sh app (POST /run)Image gen, transcription, your deployed apps
FlowMulti-step flow as one toolPipelines you built in the flow editor
CallHTTP request you define (REST APIs)Internal services, third-party APIs with secrets
Connector (MCP)Tool on a connected MCP serverLinear, Slack, GitHub, etc.
Sub-agentAnother agent in its own chatResearch, writing, specialized workers
WebhookYour HTTP endpoint (async callback)Email, tickets, custom integrations

Call and connector tools use team secrets or OAuth — credentials never appear in the model context. Sub-agent and app runs are async: the parent turn waits at a sync barrier until every call in that turn completes.

Call tools
Connectors
Sub-agents — parallel fan-out and join behavior
Adding tools

learn more

we use cookies

we use cookies to ensure you get the best experience on our website. for more information on how we use cookies, please see our cookie policy.

by clicking "accept", you agree to our use of cookies.
learn more.