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-configuredkennis devStart the development server with hot reloadkennis deployDeploy to Vercel with environment variables auto-configuredkennis db migrateRun database migrations with RLS policieskennis kora trainUpdate KORA knowledge base with latest documentsREST API
GET
/api/v1/platform/healthPlatform health checkGET
/api/v1/auth/userGet current authenticated userPOST
/api/v1/kora/askQuery KORA AI assistantPOST
/api/v1/kora/embedGenerate embeddingsGET
/api/v1/events/streamServer-sent events streamGET
/api/v1/db/:tableQuery database (RLS-enforced)Packages
@kennis/sdkCore SDK — auth, DB, KORA, events
@kennis/cliCLI tooling — scaffold, dev, deploy
@kennis/uiShared UI component library
@kennis/koraEmbeddable KORA AI chat widget
@kennis/cms-clientManuscr CMS API client
@kennis/eslint-configShared ESLint configuration
Start building
Install the SDK and ship your first feature in minutes.
$ npx @kennis/cli init