Data Machine
Changelog
All notable changes to Data Machine will be documented in this file. [0.58.0] - 2026-03-24 Added move InsertContentAbility to core...
Data Machine User Documentation
AI-first WordPress plugin for automating and orchestrating content workflows with a visual pipeline builder, conversational chat agent, REST API, and...
Data Machine Architecture
Data Machine is an AI-first WordPress plugin that uses a Pipeline+Flow architecture for automated content processing and publication. It provides...
AI Directive System
Data Machine uses a modular directive system to provide context and guidance to AI agents. These directives are combined to...
Data Machine Documentation
Complete user documentation for Data Machine, the AI-first WordPress plugin that combines a visual pipeline builder, conversational chat agent, REST...
WP-CLI Commands
Data Machine provides 23 WP-CLI command namespaces for managing pipelines, flows, jobs, agents, and more from the command line. All...
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...
Workspace System
Important: The workspace system has been moved to the data-machine-code extension plugin as of v0.45.0. This documentation is preserved for...
Database Schema
Data Machine uses eight core tables for managing pipelines, flows, jobs, agents, access control, deduplication tracking, chat sessions, and centralized...
Abilities API
WordPress 6.9 Abilities API provides standardized capability discovery and execution for Data Machine operations. All REST API, CLI, and Chat...
AI Directives System
Data Machine uses a hierarchical directive system to provide contextual information to AI agents during conversation and workflow execution. Directives...
AI Tools Overview
AI tools provide capabilities to AI agents for interacting with external services, processing data, and performing research tasks. Data Machine...
Bing Webmaster Tools
Tool ID: bing_webmaster Ability: datamachine/bing-webmaster File Locations: Tool: inc/Engine/AI/Tools/Global/BingWebmaster.php Ability: inc/Abilities/Analytics/BingWebmasterAbilities.php Registration: datamachine_global_tools filter (available to all AI agents —...
Google Analytics (GA4) Tool
Tool ID: google_analytics Ability: datamachine/google-analytics File Locations: Tool: inc/Engine/AI/Tools/Global/GoogleAnalytics.php Ability: inc/Abilities/Analytics/GoogleAnalyticsAbilities.php Registration: datamachine_global_tools filter (available to all AI agents —...
Google Search Console Tool
Tool ID: google_search_console Ability: datamachine/google-search-console File Locations: Tool: inc/Engine/AI/Tools/Global/GoogleSearchConsole.php Ability: inc/Abilities/Analytics/GoogleSearchConsoleAbilities.php Registration: datamachine_global_tools filter (available to all AI agents —...
PageSpeed Insights Tool
Tool ID: pagespeed Ability: datamachine/pagespeed File Locations: Tool: inc/Engine/AI/Tools/Global/PageSpeed.php Ability: inc/Abilities/Analytics/PageSpeedAbilities.php Registration: datamachine_global_tools filter (available to all AI agents —...
Add Pipeline Step Tool
Specialized chat tool for adding steps to existing pipelines with automatic flow synchronization. Overview The add_pipeline_step tool allows AI agents...
Data Machine REST API
Complete REST API reference for Data Machine Overview Base URL: /wp-json/datamachine/v1/ Authentication: WordPress application password or cookie authentication Permissions: Most...
Logs API
Implementation: inc/Api/Logs.php Base URL: /wp-json/datamachine/v1/logs Overview Data Machine uses a database-backed logging system with all operational logs stored in the...
System Endpoint
Implementation: inc/Api/System/System.php Base URL: /wp-json/datamachine/v1/system/ Overview The System endpoint provides infrastructure operations, monitoring, system task management, and editable prompt definitions...
Files Endpoint
Implementation: inc/Api/Files.php, inc/Api/AgentFiles.php Base URL: /wp-json/datamachine/v1/files Overview The Files endpoint handles two distinct scopes: Flow files — File uploads for...
Jobs Endpoints
Implementation: inc/Api/Jobs.php Base URL: /wp-json/datamachine/v1/jobs Overview Jobs endpoints provide monitoring and management of workflow executions. Jobs represent individual execution instances...
Chat Sessions Endpoints
Implementation: inc/Api/Chat/Chat.php Overview Data Machine persists chat conversations as sessions. Sessions are user-scoped and stored in wp_datamachine_chat_sessions. Authentication Requires WordPress...
Analytics Endpoints
File Location: inc/Api/Analytics.php @since: 0.31.0 Unified REST API for all analytics integrations. Each endpoint delegates to its respective WordPress ability...
Fetch Handlers Overview
Fetch handlers retrieve content from various sources and convert it into standardized DataPackets for pipeline processing. Available Handlers Local Sources...
Files Fetch Handler
Processes uploaded files from flow-isolated storage with automatic MIME type detection, file validation, and deduplication tracking. Architecture Base Class: Extends...
WordPress Local Fetch Handler
Retrieves WordPress post and page content from the local installation using WP_Query. For media files, use the separate WordPress Media...
WordPress Media Fetch Handler
Retrieves media files from the local WordPress media library with metadata extraction, parent content integration, and file type filtering. Architecture...
RSS Feed Fetch Handler
Fetches and processes RSS/Atom feed data with automatic deduplication, timeframe filtering, content search capabilities, and clean content processing without URL...
Universal Web Scraper
The Universal Web Scraper is a high-performance fetch handler in the datamachine-events plugin designed to retrieve event data from external...
Publish Handlers Overview
Publish handlers distribute processed content to external platforms using AI tool calling architecture. All handlers implement the handle_tool_call() method for...
WordPress Publish Handler
Creates posts in the local WordPress installation using a modular handler architecture with specialized processing components for featured images, taxonomies,...
WordPress Update Handler
Updates existing WordPress posts and pages in the local installation using native WordPress functions with selective field updates and taxonomy...
REST API Extensions Guide
This guide explains how Data Machine extensions integrate with the REST API ecosystem, covering both filter-based integration (preferred) and custom...
Universal Engine Filters
Since: 0.2.0 Comprehensive reference for filter hooks used by the Universal Engine to apply directives, register tools, and control tool...
Core Filters Reference
Comprehensive reference for all WordPress filters used by Data Machine for service discovery, configuration, and data processing. Service Discovery Filters...
Core Actions Reference
Comprehensive reference for all WordPress actions used by Data Machine for pipeline execution, data processing, and system operations. Note: Most...
Pipeline Builder Interface
React-based interface for creating and managing Pipelines and Flows, backed by the /wp-json/datamachine/v1/ REST API. Architecture TanStack Query manages server...
Logs & Jobs Management Interface
Monitoring and managing pipeline execution status and historical system logs. Logs Interface The Logs interface is a separate React admin...
Settings Configuration Interface
React admin page for configuring Data Machine’s global settings, agent defaults, API keys, and handler defaults. Architecture Frontend location: inc/Core/Admin/Settings/assets/react/...