OpenKBS CLI

$curl -fsSL https://openkbs.com/install.sh | bash

Zero to deployed in three commands

01
openkbs loginAuthenticate
02
openkbs create myapp -r us-east-1Scaffold project
03
openkbs deployDeploy everything

Everything you need, nothing you don't

Each service is one flag in openkbs.json. Enable it, deploy, done.

Functions

Node.js 24 on Lambda. Deploy in seconds, scale to zero.

$ openkbs fn deploy api

Postgres

Managed Neon database. Connection string auto-injected.

$ openkbs postgres connection

Storage + CDN

S3 + CloudFront. Upload, serve, presign — all built in.

$ openkbs storage upload ./img.png

MQTT Realtime

Pub/sub over WebSocket via AWS IoT Core. Presence included.

$ openkbs mqtt publish chat -d '{"msg":"hi"}'

AI Proxy

Route to OpenAI, Anthropic, Google. One key, pay-per-token.

$ curl proxy.openkbs.com/v1/models

Static Sites

Deploy HTML/CSS/JS to S3 + CloudFront with one command.

$ openkbs site deploy

Email

Transactional email via Amazon SES. Custom sender domains.

$ openkbs email send hi@co.com -s "Welcome"

Custom Domains

Auto-provisioned SSL certificates and CloudFront CDN.

$ openkbs domain add example.com

One config file. That's the whole infra.

openkbs.json
{
  "region": "us-east-1",
  "postgres": true,
  "storage": { "cloudfront": "media" },
  "mqtt": true,
  "email": true,
  "functions": [
    { "name": "auth", "runtime": "nodejs24.x", "memory": 512 },
    { "name": "posts", "runtime": "nodejs24.x", "memory": 512 }
  ],
  "site": "./site"
}

AI Proxy — three vendors, one endpoint

Route to GPT, Claude, or Gemini. Pay with project credits. No vendor API keys.

OpenAI/v1/openai/*
Anthropic/v1/anthropic/*
Google/v1/google/*

What you can build

A single openkbs deploy ships a complete app. Here's what one project looks like.

Auth & Sessions

User registration, login, and sessions — all backed by Postgres.

Media Uploads

S3 presigned URLs for direct browser uploads. CDN delivery via CloudFront.

Real-time Feed

Publish events from Lambda, receive instantly in the browser via MQTT.

Live Presence

See who's online. MQTT Last Will auto-removes disconnected users.

Private Messaging

Secure channels using cryptographic random IDs. Only the recipient knows the address.

AI Features

Call GPT, Claude, or Gemini from your functions. One API key, pay-per-token.