Developer Tools

SDK & API

Everything you need to build on Kennis OS. TypeScript SDK, CLI tooling, and REST APIs.

$ npm install @kennis/sdk

TypeScript SDK

The @kennis/sdk package gives you typed access to auth, database, KORA AI, and all platform services.

app.ts
import { KennisOS } from '@kennis/sdk'

const os = KennisOS.init({
  project: 'my-app',
  region: 'eu-west-1',
})

// Authentication
const user = await os.auth.getUser()
const session = await os.auth.signIn({ email, password })

// Database (typed, RLS-enforced)
const funds = await os.db.from('kc_funds').select('*')

// KORA AI
const answer = await os.kora.ask('Summarise Q4 NAV')
const embedding = await os.kora.embed('document text here')

// Events
os.events.on('fund.nav.calculated', (event) => {
  console.log(event.correlation_id, event.data)
})

CLI

npx @kennis/cli initScaffold a new project with auth, DB, and AI pre-configured
kennis devStart the development server with hot reload
kennis deployDeploy to Vercel with environment variables auto-configured
kennis db migrateRun database migrations with RLS policies
kennis kora trainUpdate KORA knowledge base with latest documents

REST API

GET/api/v1/platform/healthPlatform health check
GET/api/v1/auth/userGet current authenticated user
POST/api/v1/kora/askQuery KORA AI assistant
POST/api/v1/kora/embedGenerate embeddings
GET/api/v1/events/streamServer-sent events stream
GET/api/v1/db/:tableQuery database (RLS-enforced)

Packages

@kennis/sdk

Core SDK — auth, DB, KORA, events

@kennis/cli

CLI tooling — scaffold, dev, deploy

@kennis/ui

Shared UI component library

@kennis/kora

Embeddable KORA AI chat widget

@kennis/cms-client

Manuscr CMS API client

@kennis/eslint-config

Shared ESLint configuration

Start building

Install the SDK and ship your first feature in minutes.

$ npx @kennis/cli init

Part of the Septimius Ecosystem