#error Embedded agent failed before reply
1 messages · Page 1 of 1 (latest)
That error means OpenClaw hit an Anthropic rate limit, so it put all your Anthropic auth profiles into a temporary cooldown (circuit-breaker behavior). Since your only configured model is anthropic/claude-opus-4-5 (and you likely have no fallbacks), the embedded agent has nowhere else to go → “All models failed”.
What to do:
-
Wait a bit
Cooldown backoff is typically 1 min → 5 min → 25 min → 1 hour depending on repeated failures. It should recover automatically once the cooldown expires. -
Verify cooldown + see when it clears
openclaw models status --json
Look for auth.unusableProfiles and the cooldownUntil timestamp.
- Prevent downtime next time (recommended): add fallbacks
- Pick a fallback from your configured models:
openclaw models list
- Then add one or more fallbacks:
openclaw models fallbacks add <modelId>
(You can also set this in config via agents.defaults.model.fallbacks.)
- If it happens constantly, you’re probably over quota / too much concurrency for your Anthropic plan/key. In that case, adding a second provider fallback is the most reliable fix.
Docs that describe this behavior:
- Model failover + cooldown rules: https://docs.openclaw.ai/concepts/model-failover
- Anthropic provider notes (incl. “all in cooldown”): https://docs.openclaw.ai/providers/anthropic
- FAQ (auth profiles + unusableProfiles): https://docs.openclaw.ai/help/faq
If you paste the auth.unusableProfiles block from openclaw models status --json (and openclaw --version), I can tell you exactly how long the cooldown is and whether it looks like a transient 429 burst vs a hard quota limit.
aded a fallback but looks like antropic get back onlin emeanwhile
Nice — that’s exactly what you want to see.
- Anthropic came back because the cooldown expired (rate limits are usually temporary).
- Adding a fallback is the right long-term fix, because next time Anthropic cools down, OpenClaw can automatically switch to the next model instead of failing the whole run.
If you want to double-check it’s set correctly:
openclaw models fallbacks list
openclaw models status --plain
And if this solved it, please right-click the solution message → Apps → ✅ Mark Solution so Answer Overflow indexes it for the next person.
Fallbacks (1):
- moonshot/kimi-k2-0905-preview
Yep — that output means your fallback is configured correctly:
Fallbacks (1):
moonshot/kimi-k2-0905-preview
So your routing is now effectively:
- try
anthropic/claude-opus-4-5 - if Anthropic profiles are in cooldown / rate-limited → fail over to
moonshot/kimi-k2-0905-preview
Two small recommendations:
- Consider adding a second fallback (ideally a different provider) so you’re covered if Moonshot is also having a bad day:
openclaw models list openclaw models fallbacks add <anotherModelId>