Core System
AI Directives System
Data Machine uses a hierarchical directive system to inject contextual information into AI requests. Directives self-register via the datamachine_directives filter,...
PromptBuilder Pattern
Since: 0.2.5 The PromptBuilder provides unified directive management for AI requests with priority-based ordering and agent-specific targeting. It replaces the...
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...
WordPress as Persistent Memory for AI Agents
AI agents are stateless. Every conversation, every workflow, every scheduled task starts from zero. The agent has no memory of...
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...
RequestBuilder Pattern
File: /inc/Engine/AI/RequestBuilder.php Since: 0.2.0 RequestBuilder is Data Machine's request assembly and provider dispatch adapter. It prepares Data Machine messages, tools,...
Handler Registration Trait
Standardized handler registration trait introduced in v0.2.2 that eliminates ~70% of boilerplate code across all handlers. Overview HandlerRegistrationTrait provides a...
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,...
Memory Policy
MemoryPolicy is a per-agent, declarative filter that controls which memory files inject into an AI call. It is the memory-side...
Agent Bundles
Agent bundles are portable, versioned packages for an agent's runtime behavior. They describe what to install without embedding local database...
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...
FilesRepository Components
Overview The FilesRepository is a modular component system for file operations in the Data Machine pipeline system. Introduced in version...