Add smart-client retry/queue integration for Agent Zero #71

Open
opened 2026-09-12 19:54:49 +00:00 by nsaspy · 0 comments
Owner

Goal

Let Agent Zero cooperate with llm-log backpressure instead of treating temporary saturation as a model failure.

Scope

  • Add an llm-log/provider plugin path for Agent Zero rather than patching core scheduling logic into Agent Zero.
  • Honor 429 Too Many Requests and Retry-After.
  • Retry with bounded jitter/backoff and an overall request deadline.
  • Surface queued/retrying state distinctly from provider/model errors.
  • Allow a configurable client-side queue for workloads where waiting is acceptable.
  • Keep llm-log authoritative for provider-wide concurrency so multiple Agent Zero workers cannot multiply the effective provider limit.

Tests

  • 429 then success.
  • repeated 429 until deadline.
  • malformed/missing Retry-After fallback.
  • cancellation while waiting.
  • no duplicate execution after retry.

Implement after #70 establishes the server-side contract.

## Goal Let Agent Zero cooperate with llm-log backpressure instead of treating temporary saturation as a model failure. ## Scope - Add an llm-log/provider plugin path for Agent Zero rather than patching core scheduling logic into Agent Zero. - Honor `429 Too Many Requests` and `Retry-After`. - Retry with bounded jitter/backoff and an overall request deadline. - Surface queued/retrying state distinctly from provider/model errors. - Allow a configurable client-side queue for workloads where waiting is acceptable. - Keep llm-log authoritative for provider-wide concurrency so multiple Agent Zero workers cannot multiply the effective provider limit. ## Tests - 429 then success. - repeated 429 until deadline. - malformed/missing Retry-After fallback. - cancellation while waiting. - no duplicate execution after retry. Implement after #70 establishes the server-side contract.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nsaspy/llm-log#71
No description provided.