Framework integrations
Add NotPixel to your existing application while keeping your model provider and chat UI.
Vercel AI SDK
Stream structured sponsored ads alongside Vercel AI SDK 6 & 7 UI messages.
Next.js App Router
Server and client setup for Next.js App Router with automatic tracking.
React Components
Render native <AdCard /> and <AdBanner /> components with visibility tracking.
These integrations are included in the notpixel package, currently 4.1.0.
The AI SDK adapter is imported from notpixel/ai-sdk, React components from
notpixel/react, and browser tracking from notpixel/browser.
Both integrations support local and explicit remote context processing. Local
processing is included in notpixel and runs in your backend. Remote processing
uses notpixel/remote with the same installation and does not initialize a local
model. Follow Installation
or the framework-specific guides above for setup.