tetrix-sdk
v0.2.0
Published
TypeScript SDK for TetrixAIDb — AI-native database with vector, keyword, graph, and object storage
Maintainers
Readme
TetrixAIDb TypeScript SDK
TypeScript client for TetrixAIDb, the AI-native database daemon that unifies vector, keyword, graph, and object storage behind a single binary protocol.
Installation
npm install tetrix-aidbRequires Node.js 18+. Ships as ESM with full type definitions and zero runtime dependencies.
Quick Start
import { TetrixClient } from "tetrix-aidb";
const client = new TetrixClient({
endpoint: "tcp://localhost:7779",
username: "admin",
password: "secret",
});
await client.connect();
const health = await client.health();
console.log(`Status: ${health.status}`);
await client.close();Features
- Promise-based API with full TypeScript types
- TCP, TLS, and Unix socket transports
- Auth-on-connect with automatic session handling
- Entity indexing, semantic search, and batch operations
- IAM operations: organizations, users, teams, permissions
- Category management
- Zero runtime dependencies
License
MIT
