Skip to content

Integration options ​

Use the supported CLI contract to add workflows around Respire without depending on internal database structures or retrieval internals.

IntegrationInterfaceTypical use
External toolCLI --jsonReports, exports and visualization
Hookplugins.json event commandsPre-write checks and post-operation notifications
Agent instructionsrsrs injectRecall-before-work and save-after-work behavior
MCPrsrs mcp over standard I/OSupported memory tools for compatible clients
Agent Plugins packageplugin.json + mcp.jsonOne skill and MCP tools for hosts without a dedicated adapter
DesktopClient 2 uses local Runtime RPC and restricted host actionsUser interface over supported Runtime and CLI operations

respire-general is the portable Agent Plugins 1.0 package: one Agent Skill plus a mcp.json entry for rsrs mcp, with no host hooks. On the first MCP start it checks rsrs inject --targets and writes the host instruction file only when the detected target is absent or stale; a current target is skipped. There is no install-time step because Agent Plugins has no post-install script. mcode has no rsrs inject target, so the portable package does not auto-inject there. Hosts with a dedicated adapter should use that adapter so recall and storage run from hooks.

flowchart TD
  Tools["Agents, desktop and external tools"] --> API["CLI / JSON / MCP"]
  API --> Public["Infrastructure application layer"]
  Public --> Core["Core SDK"]
  Public --> Store["Local encrypted storage"]
RuleReason
Parse machine outputAvoid coupling to translated display text
Keep account secrets privateHooks and external tools need only their permitted inputs
Do not read internal database filesStorage format is not an integration API
Make side effects explicitExport, import and plugin execution have different effects
Use matching SDK artifactsMatch the target, toolchain, ABI and manifest hashes

This list describes existing interface types, not a promise of a plugin marketplace or arbitrary in-process extensions. Check each command's help for the supported tool set.

See plugins, agent integration, the ready-made AI tool plugins, CLI and CLI JSON.