AgentPress
AI agent orchestration as a WordPress plugin.
Single REST endpoint, two built-in agents (ContentWriter + ImageGenerator), Claude routing with local fallback.
What it does
◆
One REST endpoint
POST /wp-json/agentpress/v1/run with a goal. Claude routes to the right built-in agent. JSON in, JSON out.
◆
Two agents shipped
ContentWriter generates prose from a brief. ImageGenerator creates images from a prompt. Both work on a fresh WP install.
◆
Claude-powered routing
An LLM decides which agent handles the request. Local keyword-map fallback if the API is unreachable.
◆
Native WP patterns
Custom post types for runs, native nonces, transient cache, no third-party JS bundles.
How it works
- 1
Install AgentPress
Upload, activate. Add your Anthropic API key in Settings → AgentPress.
- 2
POST a goal
Send a goal description to /wp-json/agentpress/v1/run. The router picks an agent and executes.
- 3
Read the result
Response includes the agent's output + a CPT ID. Inspect runs in wp-admin → AgentPress.
Run a content-generation goal
curl -X POST https://yoursite.com/wp-json/agentpress/v1/run \\\n -H "X-WP-Nonce: <nonce>" \\\n -d '{"goal":"write a 3-paragraph blog intro about agentic WordPress"}'