Replies: 2 comments
-
|
I've just started playing around with the Agents API in building out some analysis and copy editor agents and I'm really liking whats available out of the box. It certainly helps in not having to architect all the fundamentals around storage, two data sync, etc. I also really like the idea of standardizing agents that interact with WordPress in more elaborate ways, making the entire agent experience easily-ish deployable to other sites. |
Beta Was this translation helpful? Give feedback.
-
|
Here is the initial implementation, currently in a separate plugin: https://github.com/automattic/agents-api @sethrubenstein stoked that you've had a good experience so far! It's fun to think of the possibilities that could stem from this. Miguel and I are advocating for it as much as we can. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The AI plugin has several active or planned directions that point toward agentic behavior: Site Agent, Workflow Automation, frontend chat, skills, and richer ability/tool exposure. Those efforts currently seem spread across separate threads, each focused on a product surface or adjacent infrastructure.
Related context:
This proposal is narrower than those threads: define a small agent runtime substrate that the AI plugin can incubate before any long-term Core or package commitment.
Problem
A Site Agent or Workflow Automation feature needs more than provider calls and abilities. It needs shared runtime concepts such as agent identity and registration, execution principal / acting user context, capability ceilings, tool visibility and action policy, approval and audit boundaries, sessions and transcripts, and eventually memory/context and workflow contracts.
Without a shared substrate, each feature risks inventing its own version of these concepts.
Proposal
Incubate a small
WordPress\AI\Agentsmodule inside the AI plugin.The substrate should be provider-neutral: it should not own model/provider execution, provider selection, or prompt transport. Those should remain with the AI Client and related integration layers.
This module should be separate from Site Agent UI, conservative about public API commitments, and designed so it could later be extracted into a WordPress-owned building block if the contracts prove useful.
The AI plugin would be the proving ground, not necessarily the permanent owner.
Possible implementation slice
A first implementation could stay intentionally small:
Agentvalue objectRegistryExplicitly out of scope for the first slice:
Open questions
wordpress/aithe right place to incubate this substrate?wp_register_agent()be avoided until the API is closer to Core-ready?The goal is not to land a large agent framework in one PR. The goal is to create a small shared place where Site Agent, Workflow Automation, and future agentic features can converge safely.
Beta Was this translation helpful? Give feedback.
All reactions