Sign In

@agentskit/tools

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentskit/tools

Reusable executable tools for AgentsKit agents.

Source
npmnpm
Version
0.4.0
Version published
Weekly downloads
936
107.54%
Maintainers
1
Weekly downloads
 
Created
Source

@agentskit/tools

Reusable executable tools for AgentsKit agents.

Install

npm install @agentskit/tools

Available tools

ToolDescription
web_searchSearch the web (DuckDuckGo default, configurable)
read_fileRead file contents (sandboxed to basePath)
write_fileWrite to files (sandboxed to basePath)
list_directoryList directory contents (sandboxed to basePath)
shellExecute shell commands with streaming output

Quick example

import { createRuntime } from '@agentskit/runtime'
import { openai } from '@agentskit/adapters'
import { webSearch, filesystem, shell } from '@agentskit/tools'

const runtime = createRuntime({
  adapter: openai({ apiKey, model: 'gpt-4o' }),
  tools: [
    webSearch(),
    ...filesystem({ basePath: './workspace' }),
    shell({ timeout: 10_000, allowed: ['ls', 'cat', 'grep'] }),
  ],
})

const result = await runtime.run('Find and summarize the README')

Tool discovery

import { listTools } from '@agentskit/tools'

listTools()
// → [{ name, description, tags, category, schema }, ...]

Custom search provider

// Serper (needs API key)
webSearch({ provider: 'serper', apiKey: '...' })

// Bring your own
webSearch({ search: async (query) => mySearchAPI(query) })

Docs

Full documentation

FAQs

Package last updated on 06 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts