openbkn-ai / bkn-foundry
git clone https://github.com/openbkn-ai/bkn-foundry.git
v0.2.0 Β· 7d ago
BKN Foundry is the Ontology back-end foundation of OpenBKN. It transforms ontology-driven business semantics into runtime services: data, logic, actions, security governance, and observability.
+32
stars, 24h Β· #1,193
+~184
stars, 7 days Β· #1,207
+~790
stars, 30 days Β· #1,066
859
β
total Β· +27% this week
71
forks Β· 220 open issues
Star history (as recorded here)
LanguageGo
Licenseβ
Created2026-05-26 (5mo ago)
Last pushtoday
Watchers10
OwnerOrganization
GitHub topics
context-engineeringharness-engineeringontologyontology-engineeringontology-platformopensource-ontology-platform
Links
- GitHub: github.com/openbkn-ai/bkn-foundry
- Homepage: https://openbkn.ai
- Releases Β· Issues Β· Hacker News mentions
README excerpt
# BKN Foundry δΈζ | English π **Website:** openbkn.ai OpenBKN is an ontology-driven business knowledge network platform. Through ontology modeling, it turns the data and logic scattered across documents, systems, processes, rules, and expert experience into a business knowledge network that agents can understand, execute, and verify β so agents land accurately, safely, and reliably in real business environments, not just generating answers but continuously creating executable, traceable, and verifiable business value. **BKN Foundry** is the technical foundation of OpenBKN, providing that business knowledge network with unified data access, safe execution, and governance. **On this page:** π Quick links Β· π Quick start Β· π οΈ OpenBKN SDK Β· π‘οΈ Administration Β· ποΈ BKN Foundry Β· π BKN Lang Β· π Benchmarks > **Note:** BKN Foundry is a **backend-only framework** β it does not include a web UI. All interactions are through the CLI, SDK, or API. ## π Quick Links - π οΈ OpenBKN SDK - End-user / agent BKN CLI, TypeScript SDK, and the AI agent skill - π€ Contributing - Guidelines for contributing to the project - π’ Deployment - One-click deploy to Kubernetes - π Documentation - Product documentation and usage guides (EN / δΈζ) - π API Reference - OpenAPI docs for every service (YAML source + rendered Markdown / interactive HTML) - π¦ Samples - Runnable end-to-end walkthroughs, in their own repo - π§Ύ Release Notes - All notable changes ## π Quick Start 1. **Prerequisites & planning** β read the Deployment Guide and satisfy its prerequisites. **Linux** is the supported target for full installs; **macOS** local dev (kind) is optional β see Mac install (dev) (δΈζ). 2. **Pre-install host check / fix with `preflight.sh`** (recommended) On the **target install host**, run a system check before `deploy.sh`. It verifies kernel / sysctl / containerd / `kubectl` / `helm` / Node / BKN CLIs and can fix what's missing (each fix is opt-in unless `-y`): [code] Exit codes: **0** OK, **1** any FAIL, **2** only WARN. Use `--report=/tmp/preflight.txt` to keep a full log. 3. **Run installation scripts**: [code] 4. **Verify the deployment**: [code] 5. **Post-install bootstrap with `onboard.sh`** (recommended) On the **same host** as the install (where `kubectl` reaches the cluster), run the post-install bootstrap. It (re-runnable) registers an LLM + an embedding, patches the BKN ConfigMaps when the default embedding actually changes, and on a **full install** also creates the business user **`test`**, assigns every role from `openbkn admin role list`, and switches `openbkn` to that user: [code] > **Why `sudo`?** `onboard.sh` reads `$HOME/.openbkn-ai/config.yaml` (written by `sudo deploy.sh` into `/root/.openbkn-ai/`) and writes the `openbkn` auth token to `$HOME/.bkn`. Running it without `sudo` falls back to the in-repo template `conf/config.yaml` and may resolve a different access URL. **macOS dev path** (`bash dev/mac.sh onboard`) does **not** need `sudo`. Re-runs are safe: