@kaiban/airline-agents-tools
v0.1.4
Published
A set of airline tools to work with LLMs and KaibanJS
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/toolsAlternative 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#mainFor private repositories, you can use authentication:
# Using HTTPS with authentication
npm install git+https://username:[email protected]/kaiban-ai/airline-agents-tools.git
# Using SSH (if you have SSH keys set up)
npm install git+ssh://[email protected]/kaiban-ai/airline-agents-tools.gitAfter 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.
| Tool | Description | Documentation | | --------------------- | ---------------------------------------------------------------- | --------------------------------------------- | | Duffel Flight Search | Search for flights across multiple airlines using the Duffel API | README | | Duffel Flight Booking | Book flights through the Duffel API with complete booking flow | README |
Development
Local Setup
- Clone the repository:
git clone https://github.com/kaiban-ai/KaibanJS.git- Navigate to the tools package:
cd packages/tools- Install dependencies:
npm install- 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/"- Run Storybook to view and test components:
npm run storybook- Build the package:
npm run build- Run tests:
npm run testContributing
To contribute a new tool:
- Follow the Development steps above to set up your local environment
- Use an existing tool as reference (check
src/firecrawlorsrc/tavilyfor examples) - Remember to create:
- Your tool implementation
- A Storybook story
- Tests
For questions or discussions, join our Discord.
License
MIT License
