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
- Find it, Agentic Resource Discovery (ARD): Discovers available plugins and capabilities prior to invocation.
- Describe it, AI Catalog: Indexes plugin descriptors and resource mappings.
- Package it, Agent Plugins 1.0.0: Standardised directory layout, manifest (
plugin.json), and MCP descriptor (mcp.json). - Run it, MCP & Agent Skills: Portable execution contracts across transports (
stdio,streamable-http,sse). - 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:${PLUGIN_ROOT}: Absolute path to the resolved plugin root. Used for referencing bundled binaries, Python scripts (tools/mcp/server.py), and documentation palaces.${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 inmcp.jsonor 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
- Create the Plugin Directory:
- Write
plugin.json: - Add OKF v0.2
SKILL.md: Place your standard DSOM skill insideskills/sys-audit/SKILL.md. - Attach MCP Server (Optional):
Add
mcp.jsondeclaring any auxiliary stdio or streamable HTTP tools. - Verify with DSOM Guardrails:
๐ Related Governance & References
docs/governance/DSOM-MCP-ARCHITECTURE.md, FastMCP Server Reference.docs/governance/AI-GUARDRAILS-MASTER-GUIDE.md, Pre-Commit & Runtime Interception.- Agent Plugins 1.0.0 Specification, Normative Standard.
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