πŸ“ˆ GH Trending Explorer 🎲 Surprise me

← all repos

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)

2026-10-20 Β· 780 β˜… 2026-10-23 Β· 859 β˜…
LanguageGo
Licenseβ€”
Created2026-05-26 (5mo ago)
Last pushtoday
Watchers10
OwnerOrganization

GitHub topics

Links

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: