Skip to content

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.

  1. You write oiap.plugin.ts, a TypeScript module that exports definePlugin({...}) from @oiap/core.
  2. OIAP normalizes the definition into an intermediate representation.
  3. One exporter per target renders host-native files: manifests, SKILL.md folders, command files, agent files, hook configuration, MCP configuration.
  4. 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)
  • 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.

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.