Connectors
26 connector packages cover the runtime, model, and data sides of an LLM app. Each is a thin wrapper that wires BonkLM's GuardrailEngine into the right call sites without you having to learn the host framework's middleware shape.
Matrix
Frameworks
LLM providers
Install pattern
Every connector lives at @blackunicorn/bonklm-<name>. Install the connectors you need alongside the core package.
pnpm add @blackunicorn/bonklm
pnpm add @blackunicorn/bonklm-express # framework
pnpm add @blackunicorn/bonklm-anthropic # LLM provider
pnpm add @blackunicorn/bonklm-pinecone # RAG storeDrop-in wiring
import express from 'express'
import { GuardrailEngine } from '@blackunicorn/bonklm'
import { expressMiddleware } from '@blackunicorn/bonklm-express'
import { anthropicConnector } from '@blackunicorn/bonklm-anthropic'
import { pineconeConnector } from '@blackunicorn/bonklm-pinecone'
const guard = new GuardrailEngine({
validators: ['prompt-injection', 'jailbreak'],
guards: ['secret', 'pii'],
})
const app = express()
app.use(expressMiddleware(guard)) // inbound HTTP
app.post('/chat', anthropicConnector(guard, anthropic)) // LLM call
const retriever = pineconeConnector(guard, pinecone) // RAG retrievalPer-group notes
Frameworks5 packages — Express, Fastify, Hono, NestJS, Vercel AI SDK.
LLM providers5 packages — OpenAI, Anthropic, Google GenAI, Ollama, Hugging Face.
Agent frameworks8 packages — LangChain, LlamaIndex, Mastra, Genkit, OpenAI Agents SDK, ElizaOS, CopilotKit, Letta (MemGPT).
RAG & vector stores4 packages — Pinecone, Chroma, Qdrant, Weaviate.
Memory2 packages — Mem0, Zep.
Bridges & misc2 packages — MCP, OpenClaw.
Browse the full catalogue
Every connector ships with its own page — install command, minimal example, related connectors. Open the connector index.