0.1.4 • Published 11 months ago

@kaiban/airline-agents-tools v0.1.4

Weekly downloads
-
License
Kaiban Inc, 2025
Repository
-
Last release
11 months ago

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

Alternative Installation Methods

Git Repository Installation

You can install this package directly from a Git repository:

# Install the entire package
npm install git+https://github.com/kaiban-ai/airline-agents-tools.git

# Install a specific version/tag
npm install git+https://github.com/kaiban-ai/airline-agents-tools.git#v0.1.0

# Install from a specific branch
npm install git+https://github.com/kaiban-ai/airline-agents-tools.git#main

For private repositories, you can use authentication:

# Using HTTPS with authentication
npm install git+https://username:personal-access-token@github.com/kaiban-ai/airline-agents-tools.git

# Using SSH (if you have SSH keys set up)
npm install git+ssh://git@github.com/kaiban-ai/airline-agents-tools.git

After installation, you can import the package in your code:

// Import the entire package
import airlineTools from '@kaibanjs/airline-tools';

// Import specific tools
import { DuffelFlightSearch } from '@kaibanjs/airline-tools/duffel-flight-search';
import { DuffelFlightBooking } from '@kaibanjs/airline-tools/duffel-flight-booking';

Available Tools

Here's a list of all available tools. Click on the tool names to view their detailed documentation.

ToolDescriptionDocumentation
Duffel Flight SearchSearch for flights across multiple airlines using the Duffel APIREADME
Duffel Flight BookingBook flights through the Duffel API with complete booking flowREADME

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:

DUFFEL_API_KEY="duffel_test_-lEIACDYIl17MNH5uuo0RB_AOhWJ14qBck_4sSF1luV"
VITE_DUFFEL_PROXY_URL="https://airline-agents-tools.vercel.app/integrations/duffel/"
  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