# @byfriends/kosong

> LLM and provider abstraction layer for BYF

Latest version **0.6.2** (published 2026-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @byfriends/kosong
pnpm add @byfriends/kosong
yarn add @byfriends/kosong
bun add @byfriends/kosong
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.6.2 |
| Published | 2026-09-24 |
| First published | 2026-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 5 |
| Unpacked size | 506.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | ByronFinn |
| Maintainers | byfriend |
| Keywords | agent, ai, byf, llm, provider |

## Links

- npm: https://www.npmjs.com/package/@byfriends/kosong
- Repository: https://github.com/ByronFinn/byf
- Issues: https://github.com/ByronFinn/byf/issues
- npm.io page: https://npm.io/package/@byfriends/kosong

## Dependencies (5)

- [zod](https://npm.io/package/zod.md) ^4.3.6
- [openai](https://npm.io/package/openai.md) ^6.34.0
- [@google/genai](https://npm.io/package/@google/genai.md) ^1.49.0
- [@anthropic-ai/sdk](https://npm.io/package/@anthropic-ai/sdk.md) ^0.95.2
- [zod-to-json-schema](https://npm.io/package/zod-to-json-schema.md) ^3.25.2

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.6.2 (latest) — 2026-09-24
- 0.5.0 — 2026-08-19

## README

# @byfriends/kosong

LLM abstraction layer used by BYF.

Part of the [BYF](https://github.com/ByronFinn/byf) monorepo.

**Runtime:** Bun-only. Node.js is not a supported interpreter for this library. See [ADR 0028](../../docs/adr/0028-full-bun-toolchain.md).

See the main repository for documentation, issues, and contribution guidelines.

## License

MIT — see the root LICENSE file.

---
_Source: https://npm.io/package/@byfriends/kosong · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
