diff --git a/README.md b/README.md index 0afc364..1707c1b 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,23 @@ the identity file. ## Config - `channels.fabric.centerApiBase` — e.g. `http://localhost:7001/api` +- `channels.fabric.accounts.` = `{ fabricApiKey, enabled }` + (agent = account; the account id is the openclaw agentId) - plugin `identityFilePath` — default `~/.openclaw/fabric-identity.json` (`{ entries: [{ agentId, fabricApiKey }] }`) +### Required: route binding (account → agent) + +openclaw routes a channel turn to an agent via `cfg.bindings`. Without a +Fabric binding it falls back to the default agent. Add one per account: + +```json +{ "agentId": "", "match": { "channel": "fabric", "accountId": "" } } +``` + +e.g. `openclaw config set bindings '[…, {"agentId":"echo","match":{"channel":"fabric","accountId":"echo"}}]' --json`, +then `openclaw gateway restart`. + ## Tools - `fabric-register` — bind this agent's Fabric API key