npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kaibanjs/tools

v0.2.1

Published

A set of tools to work with LLMs and KaibanJS

Downloads

546

Readme

Kaiban Tools for AI Agents

This package provides a collection of specialized tools designed for use with AI agents, enhancing their capabilities for various tasks.

Purpose

The Kaiban Tools package offers a set of tools that can be integrated into AI agent systems, allowing agents to perform a wide range of tasks more effectively. These tools are designed to extend the capabilities of AI agents, enabling them to interact with external services, process data, and perform complex operations.

Features

  • A collection of tools specifically designed for AI agents
  • Easy integration with existing agent frameworks and architectures
  • Tools for various purposes, including web scraping, data transformation, and more
  • Configurable options for each tool to suit different agent requirements

Installation

npm install @kaibanjs/tools

Available Tools

1. Firecrawl

Firecrawl is a tool that allows agents to interact with the Firecrawl web scraping service, enabling them to extract clean, structured data from websites.

Learn more: https://www.firecrawl.dev/

2. Tavily Search

Tavily Search is a tool that provides AI-optimized search capabilities, delivering comprehensive and accurate results. It's particularly useful for retrieving current information and answering questions about recent events.

Learn more: https://tavily.com/

3. Serper

Serper is a tool that integrates with Google Search API service, providing access to various types of search results including web search, news, images, and more. It's particularly useful for retrieving real-time information from Google's search engine.

Learn more: https://serper.dev/

4. Exa Search

Exa Search is a tool that integrates with Exa (https://exa.ai/), a search engine for AI that organizes the web using embeddings. It provides high-quality web data specifically optimized for AI applications.

Key features:

  • Neural Search: Meaning-based search using embeddings
  • Keyword Search: Traditional search capabilities
  • Auto Search: Dynamically chooses between neural and keyword
  • Category-focused search (company, research paper, news, github, tweet, etc.)
  • Domain and text filtering
  • Date-based filtering

Learn more: https://exa.ai/

5. WolframAlpha

WolframAlpha is a tool that integrates with WolframAlpha's computational intelligence engine, providing detailed answers to complex queries across various domains. It's particularly powerful for mathematical, scientific, and technical computations.

Key features:

  • Advanced computations and data analysis
  • Scientific and mathematical calculations
  • Real-time data processing
  • Domain-specific knowledge in:
    • Mathematics
    • Physics
    • Chemistry
    • Engineering
    • Earth Sciences
    • Life Sciences
    • Units & Measures
    • Financial calculations
    • And more

Learn more: https://www.wolframalpha.com/

6. Github Issues

Github Issues is a tool that allows agents to interact with the Github API, enabling them to fetch issues from a repository.

Learn more: https://docs.github.com/en/rest/issues/issues

Development

Local Setup

  1. Clone the repository:
git clone https://github.com/kaiban-ai/KaibanJS.git
  1. Navigate to the tools package:
cd packages/tools
  1. Install dependencies:
npm install
  1. Environment Variables:

Create a .env file in the root directory with your API keys:

VITE_FIRECRAWL_API_KEY=your_firecrawl_api_key
VITE_TAVILY_API_KEY=your_tavily_api_key
VITE_SERPER_API_KEY=your_serper_api_key
VITE_EXA_API_KEY=your_exa_api_key
VITE_WOLFRAM_APP_ID=your_wolfram_app_id
  1. Run Storybook to view and test components:
npm run storybook
  1. Build the package:
npm run build
  1. Run tests:
npm run test

Contributing

To contribute a new tool:

  1. Follow the Development steps above to set up your local environment
  2. Use an existing tool as reference (check src/firecrawl or src/tavily for examples)
  3. Remember to create:
    • Your tool implementation
    • A Storybook story
    • Tests

For questions or discussions, join our Discord.

License

MIT License