Modular mono repo for the Ants Platform JS/TS client libraries.
| Package | NPM | Description | Environments |
|---|---|---|---|
| @antsplatform/client | Ants Platform API client for universal JavaScript environments | Universal JS | |
| @antsplatform/tracing | Ants Platform instrumentation methods based on OpenTelemetry | Node.js 20+ | |
| @antsplatform/otel | Ants Platform OpenTelemetry export helpers | Node.js 20+ | |
| @antsplatform/openai | Ants Platform integration for OpenAI SDK | Universal JS | |
| @antsplatform/langchain | Ants Platform integration for LangChain | Universal JS |
npm install antsplatform
# or
yarn add antsplatform
# or
pnpm add antsplatformimport { AntsPlatformClient } from "antsplatform";
const client = new AntsPlatformClient({
publicKey: "your-public-key",
secretKey: "your-secret-key",
baseUrl: "https://api.ants-platform.com", // optional
});This is a monorepo managed with pnpm. See CONTRIBUTING.md for detailed development instructions.
Quick start:
pnpm install # Install dependencies
pnpm build # Build all packages
pnpm test # Run tests
pnpm ci # Run full CI suite