Skip to main content
Entry Point 20: This document defines the packaging, distribution, and runtime interoperability architecture for Agent Plugins 1.0.0 within the Deep State of Mind (DSOM) framework.

๐ŸŽฏ Executive Summary & Context

Agent Plugins 1.0.0 is an open, vendor-neutral directory specification governed by core maintainers from Google (DeepMind / Cloud), Amazon, Microsoft, OpenAI, Cursor, and Vercel. It eliminates packaging friction across disparate AI coding agents and IDEs by standardising how Agent Skills and Model Context Protocol (MCP) servers are bundled, discovered, and executed in a single portable directory. Under the DSOM protocol, Agent Plugins 1.0.0 serves as the universal distribution and packaging standard, seamlessly bridging DSOMโ€™s Sovereign Brain (.agents/brain/), Skills repository (.agents/skills/), and FastMCP Server (tools/mcp/server.py) across Google Antigravity, Google Jules, Claude Code, Cursor, and enterprise agent environments.

๐Ÿ›๏ธ The 5-Layer Agent Ecosystem Architecture

  1. Find it, Agentic Resource Discovery (ARD): Discovers available plugins and capabilities prior to invocation.
  2. Describe it, AI Catalog: Indexes plugin descriptors and resource mappings.
  3. Package it, Agent Plugins 1.0.0: Standardised directory layout, manifest (plugin.json), and MCP descriptor (mcp.json).
  4. Run it, MCP & Agent Skills: Portable execution contracts across transports (stdio, streamable-http, sse).
  5. Govern it, DSOM Metacognition: Tri-Phasic Mind cognitive continuity, 10 Custom Guardrails, and GitOps audit trail.

๐Ÿ“ Package Layout Standard (Rule 30)

Every DSOM-compliant Agent Plugin adheres to the fixed filesystem layout:

๐Ÿ“œ Manifest Contracts

1. plugin.json (Root Manifest)

The root manifest declares metadata and targeted schema version:

2. mcp.json (MCP Configuration)

Maps Model Context Protocol servers explicitly without guesswork:

๐Ÿ›ก๏ธ Variable Expansion & Path Containment

The specification defines two strict environment variables that conformant clients MUST provide to plugin subprocesses:
  1. ${PLUGIN_ROOT}: Absolute path to the resolved plugin root. Used for referencing bundled binaries, Python scripts (tools/mcp/server.py), and documentation palaces.
  2. ${PLUGIN_DATA}: Client-managed persistent directory dedicated to that installed plugin instance. Used for virtual environments, local SQLite caches, and generated artifacts.
[!CAUTION] Path Containment Invariant (ยง4.1): All relative paths defined in mcp.json or plugin configurations MUST resolve strictly within ${PLUGIN_ROOT} or ${PLUGIN_DATA}. Any attempt to traverse upward (../) outside the root boundary will cause compliant clients to reject the component.

๐Ÿ› ๏ธ Step-by-Step: Packaging a DSOM Skill as an Agent Plugin

  1. Create the Plugin Directory:
  2. Write plugin.json:
  3. Add OKF v0.2 SKILL.md: Place your standard DSOM skill inside skills/sys-audit/SKILL.md.
  4. Attach MCP Server (Optional): Add mcp.json declaring any auxiliary stdio or streamable HTTP tools.
  5. Verify with DSOM Guardrails:


Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-08-22
Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0