agentskit.js
Tools

Tools

Every function the agent can call. Built-ins, integrations, MCP bridge, composers.

Authoring

  • defineTool (core) — JSON-Schema inference.
  • defineZodTool — Zod-based with runtime validation.
  • composeTool — chain N tools into one macro tool. Recipe.
  • wrapToolWithSelfDebug — LLM-corrected retries. Recipe.
  • createMandatorySandbox — allow / deny / require-sandbox / validators. Recipe.

Built-ins

webSearch · fetchUrl · filesystem · shell

Integrations (20+)

Dev / chat: github · linear · slack · notion · discord Google: gmail · googleCalendar Business: stripe · postgres · s3 Scraping: firecrawl · reader · documentParsers Voice / image: openaiImages · elevenlabs · whisper · deepgram Data: maps · weather · coingecko Browser: browserAgent

MCP bridge

  • createMcpClient + toolsFromMcpClient — consume any MCP server.
  • createMcpServer — publish AgentsKit tools to any MCP host.
  • Recipe: MCP bridge.

Per-integration pages + authoring deep dives land in step 6 of the docs IA rollout.

✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page