What is OIAP?
OIAP (Open Interoperable Agent Plugins) is a TypeScript SDK and build toolchain for writing AI agent plugins once and exporting them into host-native bundles for several agent platforms.
Agent hosts expose the same ideas through different file formats: commands, skills, rules, hooks, custom agents, MCP configuration, runtime shims and permission policies. OIAP gives you one authoring model and a set of exporters that generate reviewable files for each host.
How it works
Section titled “How it works”- You write
oiap.plugin.ts, a TypeScript module that exportsdefinePlugin({...})from@oiap/core. - OIAP normalizes the definition into an intermediate representation.
- One exporter per target renders host-native files: manifests,
SKILL.mdfolders, command files, agent files, hook configuration, MCP configuration. - Each bundle carries a capability report that says what mapped natively, what degraded and what is unsupported.
oiap.plugin.ts -> definePlugin(...) @oiap/core -> exporter per target @oiap/exporter-* -> host-native files + .oiap/ (bundle manifest, capability report, source map)What you get
Section titled “What you get”- Host-neutral TypeScript authoring for manifests, commands, instructions, skills, hooks, agents, tools, artifacts, recipes and policies.
- A CLI (
oiap, from@oiap/cli) that builds deterministic bundle directories and syncs host files into your repository. - Exporters for the registered targets.
- A hook runtime so a hook written once as a TypeScript function runs through each host’s own hook mechanism.
- Capability reports so degradations are visible instead of silent.
What OIAP does not do
Section titled “What OIAP does not do”OIAP builds bundles. It does not edit a user’s global agent configuration outside an explicit install, auto-enable hooks, MCP servers or permissions, or make account, marketplace or organization policy decisions. Hosts install plugins with their own tooling; OIAP generates the files they read.
OIAP is complementary to specification efforts such as the Open Plugin Spec. It is authoring and bundling infrastructure, not a competing standard.
Next steps
Section titled “Next steps”- Quick start: install the CLI and build a bundle.
- Two ways to ship a plugin: commit host files or build at install time.
- Architecture: the full design, glossary and primitive model.