Skip to main content

What is the agent?

The Directify Agent is a pre-configured OpenClaw agent that manages your directory autonomously. Unlike the MCP server (which you chat with on demand), the agent can run on a schedule and perform recurring work — for example, importing scraped listings, tidying categories, or keeping content fresh — and remembers context between runs.
This is an advanced, self-hosted setup for users comfortable with the command line. If you just want to manage your directory by chatting, start with the MCP Server instead.

Prerequisites

  • Node.js 18+
  • An API token (Settings → API) and your Directory ID
  • The Directify agent files (the directify-agent package)

Setup

1

Install OpenClaw

npm install -g openclaw
openclaw setup
2

Create the agent workspace

Copy the Directify agent files into a workspace folder and register it with OpenClaw:
mkdir -p ~/clawd-directify
cp -r ./directify-agent/* ~/clawd-directify/

# First time only — copy the example gateway config
cp ~/clawd-directify/openclaw.example.json ~/.openclaw/openclaw.json
If you already have an ~/.openclaw/openclaw.json, add the agent to your existing agents.list instead:
{
  "id": "directify",
  "name": "Directify Agent",
  "workspace": "~/clawd-directify"
}
3

Configure your API credentials

Edit ~/clawd-directify/TOOLS.md and fill in your details:
- **Base URL:** `https://directify.app/api`
- **API Key:** `df_live_abc123...`
- **Directory ID:** `42`
4

Personalize (optional)

Edit USER.md with your name and directory so the agent’s output matches your voice:
- **Name:** John
- **Directory:** Chicago Restaurants
- **URL:** https://chicagorestaurants.com
5

Start the agent

openclaw gateway restart
Then message your agent, e.g. “Show me all my listings”.

What it can do

The agent has access to the same actions as the API and MCP server — listings, categories, tags, custom fields, organizers, articles, and pages. Because it runs on a schedule and keeps memory, it’s well suited to recurring jobs:
  • “Every morning, check my source site and import any new listings.”
  • “Keep all listings in the ‘Old’ category set to draft.”
  • “Tag every published listing without a website URL as ‘incomplete’.”
For one-off or interactive work, the MCP server is simpler. Reach for the autonomous agent when you want hands-off, scheduled maintenance.