Core System
Cache Management
Data Machine uses ability-level clearCache() methods to invalidate cached services when handlers, step types, or tools are dynamically registered. Overview...
Database Schema
Data Machine persists workflow definitions, execution state, access control, source tracking, artifacts, chat, approvals, and logs in custom tables. The...
Daily Memory System
The daily memory system provides temporal, append-only memory for AI agents. While MEMORY.md holds persistent knowledge that every session needs,...
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,...
Agent Registration
Declarative agent registration uses the Agents API wp_agents_api_init action. Plugins and Data Machine declare agent roles once; Data Machine's materializer...
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...
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,...
Pending Actions
Data Machine implements the Agents API pending-action approval storage contract with WordPress-backed durable storage. Pending actions are approval and audit...
Recurring Scheduler
Single primitive for all recurring / cron / one-time / manual scheduling in Data Machine. Lives at inc/Engine/Tasks/RecurringScheduler.php. Every recurring...
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...
OAuth Handlers
Location: /inc/Core/OAuth/ Overview Data Machine uses a unified base class architecture for authentication providers, eliminating code duplication across all OAuth...
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...