Skip to content
Divergence
PluginsDocsDownload

Docs

Write plugins for Divergence

The same docs ship in the app's plugins folder, so an agent opened there can write a plugin with no other context. Ask your agent, or read along.

Plugin guide

Start here: how the plugins folder works, the manifest, permissions, and the rules for agents that write plugins.

The plugin API

ES modules that build the app's views from element trees.

Host API

Every host method, for UI and process plugins.

Host events

The events the host sends to plugins.

Tools and rules

Tools and rules that plugins give to every agent.

Native programs

Executables that speak JSON-RPC over stdio.

Agent protocol

The methods an agent provider implements.

Divergence
Plugins·Plugin docs·Download·Report a bug·Account