DESIGN.md@docs designA
DESIGN.md@docs is agent-read markdown (design) from openbkn-ai/bkn-sdk.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Design
`@openbkn/bkn-sdk` optimizes for **one coherent surface** over the BKN platform: the same domain logic backs both the `openbkn` CLI and the importable SDK, so a behavior is implemented once and exposed twice.
What we optimize for:
- **Unification** — one package, one CLI, one auth/config model. No split between "user SDK" and "admin CLI".
- **Thin edges, typed core** — argv and HTTP responses are validated at the boundary (`zod`); the middle is plain typed functions.
- **Predictable defaults** — list `limit` 30, query `limit` 50, `--json` everywhere it makes sense; overridable, never surprising.
- **Slim over complete** — a deliberate rewrite of the legacy SDK + operator CLI, not a port. Drop dead surface; keep what users actually call. No TUI, minimal deps, smallest code that works.
- **Trivial to import** — `import { ... } from "@openbkn/bkn-sdk"` yields a typed client with no import-time side effects; the CLI is just a thin shell over the same functions.
- **Agent-readable** — clear names, indexed docs, stable command tree, so coding agents and humans navigate the same way.
…Read the whole file at its exact version.
How to install
mdr add openbkn-ai/bkn-sdk/docs/DESIGN.md@git:20260701.c863b0emdr add openbkn-ai/bkn-sdk/docs/DESIGN.md@sha256:37e13d4a614d455fPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_ollz3ciwwcduan5r)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260701.c863b0e latest | 2026-07-01 | c863b0e | 1,263 B | A | view · diff |
| git:20260603.a881b4d | 2026-06-03 | a881b4d | 1,265 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1263 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openbkn-ai/bkn-sdk · 17 stars · license Apache-2.0 · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ollz3ciwwcduan5r GET https://markdownregistry.com/api/v1/resolve?ref=openbkn-ai/bkn-sdk/docs/DESIGN.md GET https://markdownregistry.com/api/v1/blob/37e13d4a614d455fd0d3e56da8aaa792d8523c0ae88048f3a7595f907e388ef1
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
More from openbkn-ai/bkn-sdk
Every file in openbkn-ai/bkn-sdk