Open-source TypeScript framework for building operational software used by humans and AI agents.
See the codeA TypeScript framework for ontology-powered apps and AI.
Connect your data, define how it relates and changes, and build apps and AI that work with the same model.
Documentation · Get started · Discord
With Bun 1.4.2 or later:
bun create sixb my-app
cd my-app
bun install
bun run dev
No database setup or API keys required. Open your app, Atlas, or the API docs.
Define your domain in TypeScript. Sixb provides the API, typed queries, and permissions around it.
// ontology/quote.ts
import { defineObjectType, prop, stringEnum } from "@sixb/core/ontology"
export const Quote = defineObjectType({
id: "Quote",
name: "Quote",
properties: [
prop("id", "string", { required: true, primary: true }),
prop("totalCents", "integer", { required: true }),
prop("status", stringEnum(["draft", "approved", "sent"]), {
required: true,
query: { searchable: true, filterable: true },
}),
],
})
Use that same definition to query from your app, with types carried through to the result.
// app/queries/quotes.ts
import { objects } from "@sixb/client/query"
import { Quote } from "../../ontology/quote"
export function listApprovedQuotes() {
return objects(Quote)
.query()
.where((quote) => quote.p.status.eq("approved"))
.list()
}
Apps and workflows share the model and its actions, with permissions enforced by the runtime.
The built-in AI agent works with that same model through the Sixb CLI in a sandbox. Choose the models it can use. In chat, it inherits the user's permissions; in a workflow, you choose its access.
Atlas comes with Sixb. Explore your model, inspect its data, and follow what runs through it.
Explore the model. See how your types connect, then inspect their properties, relationships, and actions.
Follow the work. Inspect a workflow run from its input through human review and execution.
Northline Mechanical is a reference app for a fictional building-services company. Its interface, assistant, and automation work with the same model of customers, equipment, and service cases.
Open app · Explore Atlas · API docs · Source
Documentation · Examples · CLI reference · Contributing
Sixb is in active development. Releases on the 0.1.x line can include breaking changes and database
migrations. Review the changelog before upgrading.
TypeScript
99.3%
Open-source TypeScript framework for building operational software used by humans and AI agents.
See the codeA TypeScript framework for ontology-powered apps and AI.
Connect your data, define how it relates and changes, and build apps and AI that work with the same model.
Documentation · Get started · Discord
With Bun 1.4.2 or later:
bun create sixb my-app
cd my-app
bun install
bun run dev
No database setup or API keys required. Open your app, Atlas, or the API docs.
Define your domain in TypeScript. Sixb provides the API, typed queries, and permissions around it.
// ontology/quote.ts
import { defineObjectType, prop, stringEnum } from "@sixb/core/ontology"
export const Quote = defineObjectType({
id: "Quote",
name: "Quote",
properties: [
prop("id", "string", { required: true, primary: true }),
prop("totalCents", "integer", { required: true }),
prop("status", stringEnum(["draft", "approved", "sent"]), {
required: true,
query: { searchable: true, filterable: true },
}),
],
})
Use that same definition to query from your app, with types carried through to the result.
// app/queries/quotes.ts
import { objects } from "@sixb/client/query"
import { Quote } from "../../ontology/quote"
export function listApprovedQuotes() {
return objects(Quote)
.query()
.where((quote) => quote.p.status.eq("approved"))
.list()
}
Apps and workflows share the model and its actions, with permissions enforced by the runtime.
The built-in AI agent works with that same model through the Sixb CLI in a sandbox. Choose the models it can use. In chat, it inherits the user's permissions; in a workflow, you choose its access.
Atlas comes with Sixb. Explore your model, inspect its data, and follow what runs through it.
Explore the model. See how your types connect, then inspect their properties, relationships, and actions.
Follow the work. Inspect a workflow run from its input through human review and execution.
Northline Mechanical is a reference app for a fictional building-services company. Its interface, assistant, and automation work with the same model of customers, equipment, and service cases.
Open app · Explore Atlas · API docs · Source
Documentation · Examples · CLI reference · Contributing
Sixb is in active development. Releases on the 0.1.x line can include breaking changes and database
migrations. Review the changelog before upgrading.
TypeScript
99.3%