Agent frameworks
CopilotKit
CopilotKit runtime guardrails.
Adapter for CopilotKit's runtime so user inputs, generated actions, and tool calls flow through BonkLM.
Install
pnpm add @blackunicorn/bonklm-copilotkitMinimal example
import { CopilotRuntime } from '@copilotkit/runtime'
import { bonklmCopilotKit } from '@blackunicorn/bonklm-copilotkit'
const runtime = new CopilotRuntime({
middleware: [bonklmCopilotKit({ validators: ['prompt-injection'] })],
})Related connectors