MeshAd

SDK

Embed MeshAd in AI tools.

Use the SDK when your app can explicitly mark processing boundaries.

import { init } from "@meshad/sdk";

const meshad = await init({ terminalType: "claude-code", onAd: renderAd });
meshad.onProcessingStart();
// run model/tool work
await meshad.onProcessingEnd();