langchain-toolkit
v1.0.9
Published
Build reliable AI agent tools with schema validation, retries, and debugging.
Maintainers
Readme
langchain-toolkit
Build reliable AI agent tools easily.
Features
- Schema validation
- Retry logic
- Debug logging
- Tool workflows
- Tool registry
Install
npm install langchain-toolkitExample
import { tool } from "langchain-toolkit";
const weatherTool = tool({
name: "weather",
description: "Get weather",
schema: { city: "string" },
execute: async ({ city }) => {
return getWeather(city);
}
});