Agent runtime

AgentSEO + OpenClaw

Need a controlled SEO tool layer inside OpenClaw? Install the AgentSEO plugin, allowlist only the tools you want, and keep the runtime scoped instead of handing an agent a grab bag of external calls.

Copy the setup first, validate one live workflow, then decide whether this path belongs in docs, automation, or your agent runtime.

First-party pluginTool allowlistsQueued jobs

Before you start

Best for teams running real agents in production and caring about narrow permissions, attribution, and repeatable workflows.

Use This Guide For

Set up the integration and check the result

Open the configuration, see a sample response, or review the API quickstart.

Core workflows

What you can do

  • Attach only the SEO tools an OpenClaw agent needs for a specific workflow.
  • Run local audit, content gap, AI overview, and rank checks inside an agent runtime.
  • Group usage with AGENTSEO_PROJECT_ID and AGENTSEO_WORKFLOW_ID in the Gateway process environment.

Setup snapshot

OpenClaw plugin install

openclaw plugins install npm:@agentseo/openclaw-plugin --pin

After installing the plugin, merge the configuration below into ~/.openclaw/openclaw.json.

Implementation plan

How to set it up

  1. 1

    Run the install command above.

  2. 2

    In ~/.openclaw/openclaw.json, add the openclaw-plugin entry and merge the tools.allow list into your target agent. Replace sk_live_your_key with a server-side key with no allowed domains.

  3. 3

    For optional attribution, set AGENTSEO_PROJECT_ID and AGENTSEO_WORKFLOW_ID in the environment that starts the Gateway. Keep the plugin config to the fields shown below.

  4. 4

    Restart the Gateway and check that your agent lists the three tools in the example. If you add agentseo_local_audit, put the business name in its domain field. Website domains and URLs return HTTP 400.

Output shape

What users get back

  • Tool registration that matches OpenClaw's optional-tool pattern.
  • Direct access to core AgentSEO workflows from inside the runtime.
  • Cleaner governance because each agent can receive a scoped allowlist.

Limits

What to check before you run it

  • Best for teams already committed to OpenClaw.
  • Requires runtime-level configuration, not just an API call.
  • Page copy should avoid implying that every endpoint is pre-allowlisted by default.

Visual flow

OpenClaw runtime shape

The operational win is scoped access: one agent, a narrow allowlist, and explicit polling for long-running checks.

1

Agent

OpenClaw agent receives a narrow SEO brief.

2

Plugin

First-party AgentSEO plugin exposes only allowlisted tools.

3

Job Status

Agent polls queued work through job status.

4

Controlled Output

Result returns without exposing broader runtime access.

Concrete example

Scoped SEO agent in OpenClaw

Create an OpenClaw agent with a narrow allowlist so it can run content-gap and rank checks without getting broad tool access.

openclaw.json plugin and agent configuration

{
  "plugins": {
    "entries": {
      "openclaw-plugin": {
        "enabled": true,
        "config": {
          "apiKey": "sk_live_your_key",
          "apiUrl": "https://www.agentseo.dev/api/v1"
        }
      }
    }
  },
  "agents": {
    "list": [
      {
        "id": "seo",
        "tools": {
          "allow": [
            "agentseo_content_gap",
            "agentseo_rank_track",
            "agentseo_job_status"
          ]
        }
      }
    ]
  }
}

AgentSEO tools available to the seo agent

agentseo_content_gap
agentseo_rank_track
agentseo_job_status
  • Use seo as the agent ID for a new agent, or keep your existing agent ID when merging this configuration.
  • When an analysis returns a queued job, pass its returned jobId to agentseo_job_status and check that same job until it completes or fails.

FAQ

Questions this page should answer fast

Package-level docs

Why feature OpenClaw early?

Because AgentSEO already ships a published first-party plugin, which gives the page both SEO depth and product credibility.

When is the ACP adapter better than the plugin?

Use the ACP adapter when your JavaScript runtime lets you register tool definitions directly. For OpenClaw, use the plugin described here.