Skip to content

Agents

Free built-in module. An agent is a saved assistant in the Workspace. You give it a role, instructions and a set of tools. When you hand it a task, it plans, uses the site's tools step by step and ends with a written report.

Agents live in the Workspace (admin.php?page=ogaie_workspace), on the Agents tab. They have no settings page of their own.

Before you start

  • Turn on Workspace in System > Modules.
  • For tools, turn on MCP in System > Modules and WordPress Tools under Settings > Workspace. Without them an agent can still answer, but it cannot act on the site.
  • An agent with tools needs a model that supports function calling. If you leave Model on Workspace default and that model cannot call tools, the first model that can is used.

Create an agent

Click New agent, or start from a template: Site Auditor, Store Assistant or Content Editor.

Field What it does Limit
Name Shown on the agent's card. Required. 60 characters
Role A one-line description. 140 characters
Icon Spark, search, cart, pen, shield, chart, wrench or globe.
Instructions How the agent should work. 8,000 characters
Model An environment and model, or Workspace default.
Tools The tool groups it may use. Groups marked high impact can change a lot at once. 40 groups
Safety Ask before changing the site or Read only.
Maximum steps How many tool rounds a run may take. 1 to 30 (default 12)
Starter tasks Suggested tasks shown on the card. 4, of 300 characters each

A site can have up to 40 agents.

Run an agent

  1. Open the agent and type a task (up to 8,000 characters), or click a starter task.
  2. The agent works through the task. Each run can take up to 5 minutes and carries on if you close the browser tab.
  3. With Ask before changing the site, a tool that would change the site pauses the run. Click Allow for this run or Deny. An allowed change runs once, even if the run is resumed.
  4. A Read only agent cannot use tools that change the site.
  5. The run ends with a report in Markdown.

The last 20 runs of each agent are kept, with the task, the report, the steps, the model and the usage.

Agents run only when you start them. There is no schedule.

Note

ogaie_image and ogaie_jellybean are never offered to agents. Use Make images or the Workspace chat for images.

Developers

Storage: the option ogag_agents holds the agents; ogag_runs_<agentId> holds each agent's last 20 runs. Neither is autoloaded.

REST (namespace ogaie/v1, administrators only):

Method Route Use
GET /agents List agents.
POST /agents Create an agent, or update one when id is sent.
DELETE /agents/<id> Delete an agent and its runs.
GET /agents/<id>/runs The agent's recent runs.
POST /agents/<id>/run Start or continue a run. Body: task, runId, allowed[], denied[].

Agents use the same tools as the admin MCP server (the ogaie_mcp_tools and ogaie_mcp_callback filters), so a tool set you add for MCP is also available to agents. See MCP tools.

Workspace · Modules · MCP tools