Data Machine
Changelog
All notable changes to Data Machine will be documented in this file. [0.36.0] - 2026-03-03 Added cron expressions for flow...
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 Architecture
Data Machine is an AI-first WordPress plugin that uses a Pipeline+Flow architecture for automated content processing and publication. It provides...
Data Machine Documentation
Complete user documentation for Data Machine, the AI-first WordPress plugin that combines a visual pipeline builder, conversational chat agent, REST...
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...
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...
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...
WordPress REST API Fetch Handler
Fetches content from public WordPress sites via REST API endpoints, providing structured data access as a modern alternative to RSS...
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...
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...
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...
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...
Handlers Endpoint
Implementation: inc/Api/Handlers.php Base URL: /wp-json/datamachine/v1/handlers Overview The Handlers endpoint provides information about registered fetch, publish, and update handlers available in...
Tools Endpoint
Implementation: inc/Api/Tools.php Base URL: /wp-json/datamachine/v1/tools Overview The Tools endpoint provides information about registered AI tools and their configuration status. Authentication...
Flows Endpoints
Implementation: /inc/Api/Flows/ directory structure Flows.php - Main flow CRUD operations FlowSteps.php - Flow step configuration (/flows/{id}/config, /flows/steps/{flow_step_id}/config) Base URL: /wp-json/datamachine/v1/flows...
Auth Endpoints
Implementation: inc/Api/Auth.php Base URL: /wp-json/datamachine/v1/auth Overview Auth endpoints manage OAuth accounts and handler authentication for external services. Authentication Requires manage_options...
Chat Endpoint
Implementation: inc/Api/Chat/Chat.php Base URL: /wp-json/datamachine/v1/chat Overview The Chat endpoint provides a conversational AI interface for building and executing Data Machine...
FilesRepository Components
Overview The FilesRepository is a modular component system for file operations in the Data Machine pipeline system. Introduced in version...
AI Directives System
Data Machine uses a hierarchical directive system to provide contextual information to AI agents during conversation and workflow execution. Directives...
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...
Abilities API
WordPress 6.9 Abilities API provides standardized capability discovery and execution for Data Machine operations. All REST API, CLI, and Chat...
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...
WP-CLI Commands
Data Machine provides WP-CLI commands for managing pipelines, flows, jobs, and more from the command line. Available Commands datamachine pipelines...
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/...