Core System
PromptBuilder Pattern
The PromptBuilder provides unified directive management for AI requests with priority-based ordering and agent-specific targeting. Overview PromptBuilder centralizes directive application...
Handler Defaults System
Implementation: inc/Abilities/HandlerAbilities.php Since: v0.6.25 (migrated to Abilities API in v0.11.7) Overview The Handler Defaults system provides a hierarchical configuration management...
Cache Management
Data Machine uses ability-level clearCache() methods to invalidate cached services when handlers, step types, or tools are dynamically registered. Overview...
Agent Message Envelope
File: AgentsAPIAIWP_Agent_Message The canonical agent message shape is a JSON-friendly typed envelope owned by the Agents API substrate. Runtime code,...
AI Conversation Loop
File: /inc/Engine/AI/conversation-loop.php Since: 0.2.0 Data Machine runs multi-turn agent work through the Agents API conversation substrate. The canonical Data Machine...
Pending Actions
Data Machine implements the Agents API pending-action approval storage contract with WordPress-backed durable storage. Pending actions are approval and audit...
Tool Execution Architecture
Tool execution is split into a generic execution core and a Data Machine product wrapper. Component File Responsibility ToolPolicyResolver inc/Engine/AI/Tools/ToolPolicyResolver.php...
ConversationManager
Location: /inc/Engine/AI/ConversationManager.php Since: v0.2.0 (Universal Engine Architecture) Namespace: DataMachineEngineAI Overview ConversationManager provides standardized message formatting utilities for all AI agents...
BaseTool Class
Location: /inc/Engine/AI/Tools/BaseTool.php Since: v0.14.10 Purpose: Unified abstract base class for all AI tools (global and chat). Provides standardized error handling...
ToolResultFinder
File: /inc/Engine/AI/Tools/ToolResultFinder.php Since: 0.2.0 Universal utility for finding AI tool execution results in data packets. Part of the Universal Engine...
Memory Policy
MemoryPolicy is a per-agent, declarative filter that controls which memory files inject into an AI call. It is the memory-side...
WordPress Shared Components
Overview The WordPress Shared Components are a collection of centralized WordPress functionality introduced in version 0.2.1. These components reduce code...