agentskit.js

@agentskit/tools — for agents

Built-in executable tools + 20+ third-party integrations + bidirectional MCP bridge.

#Install

npm install @agentskit/tools

#Primary exports (main entry)

  • webSearch, fetchUrl, filesystem, shell — core built-ins.
  • sqliteQueryTool — parameterized SQLite query tool.
  • slackTool — Slack incoming-webhook tool (lighter than the OAuth integrations/slack).
  • defineZodTool — define tools with Zod schemas.
  • listTools — discovery helper.
  • safeFetchfetch with default-deny egress (ADR-0010): blocks private/loopback/link-local hosts (SSRF) and re-gates every redirect hop. Use for any tool fetching a model-influenced URL. Companions: checkEgress, isPrivateHost, isPrivateIPv4, isPrivateIPv6; policy type EgressPolicy.

#Subpath exports

SubpathContents
@agentskit/tools/mcpcreateMcpClient, createMcpServer, toolsFromMcpClient, createStdioTransport, createInMemoryTransportPair. See MCP bridge.
@agentskit/tools/integrationsCommunication: slack, discord, gmail, twilio. Project tracking: linear, linearTriage, jira, confluence, notion. Source / CI: github, githubActions. Customer / commerce: hubspot, airtable, shopify, stripe, stripeWebhookTool (+ verifyStripeSignature). Calendars / docs: googleCalendar, figma. Web / scraping: firecrawl, reader, documentParsers, browserAgent. Media: openaiImages, elevenlabs, whisper, deepgram. Data: postgres, postgresWithRoles, s3, cloudflareR2, coingecko, maps, weather. Operations: pagerduty, sentry. See Integrations + More integrations.

#Minimal example

import { webSearch } from '@agentskit/tools'
import { github } from '@agentskit/tools/integrations'

const tools = [
  webSearch(),
  ...github({ token: process.env.GITHUB_TOKEN! }),
]

#Source

Explore nearby

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

On this page