SDKs & Libraries

SDKs & Libraries

Open source packages built by the Smoo AI team. Production-ready, type-safe, and available across multiple languages.

Installation

Install packages using your preferred package manager.

# Config
pnpm add @smooai/config

# Logger
pnpm add @smooai/logger

# Fetch
pnpm add @smooai/fetch

# File
pnpm add @smooai/file

Available Packages

@smooai/config

Type-safe configuration management with schema validation, three-tier config, and runtime client support.

TypeScriptPythonRustGo|GitHub|Docs

@smooai/logger

Contextual logging for AWS Lambda and browser environments with automatic context gathering.

TypeScriptPythonRustGo|GitHub|Docs

@smooai/fetch

Robust HTTP client with retries, circuit breaking, rate limiting, and schema validation.

TypeScriptPythonRustGo|GitHub|Docs

@smooai/file

Stream-first file library with one interface over local files, URLs, S3 objects, and FormData, plus type detection across 100+ formats.

TypeScriptPythonRustGo|GitHub|Docs

@smooai/utils

Lambda error handling, validation, phone number utils, environment detection, and async helpers.

TypeScript|GitHub

Quick Example: @smooai/fetch

Make resilient HTTP requests with automatic retries and circuit breaking.

import { FetchBuilder, RetryMode } from '@smooai/fetch';

const api = new FetchBuilder()
    .withTimeout(5000)
    .withRetry({ attempts: 3, initialIntervalMs: 1000, mode: RetryMode.JITTER })
    .withCircuitBreaker({ failureThreshold: 5, failureWindow: 60000, recoveryTime: 30000 })
    .build();

const response = await api('https://api.example.com/data');
console.log(response.data);

Want to see all our open source packages with full feature lists?

View Open Source Packages