SDKs

Official SDKs

Typed Python and TypeScript clients for the Claix API, plus tools for LangChain, LangGraph, CrewAI, and LlamaIndex.

TypeScript · LangChain

Claix tools for LangChain.js

Endpoint

SDKnpm install claix-ai @langchain/core zod

createClaixLangChainTools returns DynamicStructuredTool instances: extract, ask a document or a space, add or remove a document, and replace content.

LangChain.js · GitHub · claix-typescript

1. Usage

import { ClaixClient } from "claix-ai";
import { createClaixLangChainTools } from "claix-ai/langchain";

const tools = await createClaixLangChainTools(new ClaixClient());
// claix_extract, claix_document_context, claix_space_context,
// claix_add_to_space, claix_remove_from_space, claix_replace_document

Request examples

import { ClaixClient } from "claix-ai";
import { createClaixLangChainTools } from "claix-ai/langchain";

const tools = await createClaixLangChainTools(new ClaixClient());