paperclipai/paperclip · error
Agent is not ready to duplicate
Error message
Agent is not ready to duplicate
What it means
Error "Agent is not ready to duplicate" thrown in paperclipai/paperclip.
Source
Thrown at ui/src/components/AgentActionButtons.tsx:297
}
},
onSuccess: (data, action) => {
onActionError?.(null);
invalidateAgent();
if (action === "terminate") {
if (!confirmLateNavigationChanges(agentActionStartedDirtyRef)) return;
onTerminateSuccess?.(data as Agent);
}
if (action === "invoke" && navigateToRunOnInvoke && data && typeof data === "object" && "id" in data) {
if (!confirmLateNavigationChanges(agentActionStartedDirtyRef)) return;
navigate(`/agents/${canonicalAgentRef}/runs/${(data as HeartbeatRun).id}`);
}
},
onError: (err) => {
reportError(err instanceof Error ? err.message : "Action failed");
},
});
const providerTraceAction = useMutation({
mutationFn: () =>
agentsApi.invoke(agent.id, resolvedCompanyId ?? undefined, {
debug: { providerTrace: "raw" },
}),
onSuccess: (run) => {
onActionError?.(null);
invalidateAgent();
if (navigateToRunOnInvoke) {
if (!confirmLateNavigationChanges(agentActionStartedDirtyRef)) return;
navigate(`/agents/${canonicalAgentRef}/runs/${run.id}`);
}
},
onError: (err) => {
reportError(err instanceof Error ? err.message : "Failed to start traced run");
},
});
View on GitHub (pinned to 01ad858492)
Solutions
- Wait until the agent finishes its current transition and reaches a ready state before duplicating it.
When it happens
Trigger: Thrown at ui/src/components/AgentActionButtons.tsx:295 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of paperclipai/paperclip@01ad858492 (2026-08-18).
Data as JSON: /api/errors/dfd783b19995d847.
Report an issue: GitHub.