Skip to content

OIAP

Write your agent plugin once in TypeScript. Export host-native bundles for Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Antigravity, OpenClaw, OpenCode, Cline and Windsurf.
Terminal window
npm install --save-dev @oiap/cli @oiap/core
npx oiap build oiap.plugin.ts --out dist/oiap

One oiap.plugin.ts builds for every registered exporter. Each target page lists what the exporter writes and where it degrades.

Commit host files with oiap sync

Run oiap sync, commit the generated files, and let the OIAP GitHub Action fail pull requests that are out of date. Users install with each host’s own command, such as claude plugin marketplace add owner/repo.

Ship with oiap sync

Build at install time

Users run npx install-agent-plugin owner/repo --plugin <id> --agent <target>, which builds the bundle from your source on their machine. Or wrap installPlugin() in your own CLI.

Use install-agent-plugin

Most plugins use both. See Two ways to ship a plugin.