tinyhumansai/openhuman · error

[composio] agent-ready toolkits fetch failed:

Error message

[composio] agent-ready toolkits fetch failed:

What it means

Failure of the one-shot agent-ready toolkits fetch in the Composio hooks: listAgentReadyToolkits() rejected, so the set of canonicalized toolkit slugs that agents can activate could not be populated. The catch warns with the normalized message and clears the error state only on later success; agent-ready gating simply reports nothing ready until a refetch happens.

Source

Thrown at app/src/lib/composio/hooks.ts:401

  useEffect(() => {
    mountedRef.current = true;
    return () => {
      mountedRef.current = false;
    };
  }, []);

  useEffect(() => {
    listAgentReadyToolkits()
      .then(resp => {
        if (!mountedRef.current) return;
        const normalized = (resp.toolkits ?? []).map(canonicalizeComposioToolkitSlug);
        setAgentReady(new Set(normalized));
        setError(null);
      })
      .catch(err => {
        if (!mountedRef.current) return;
        const message = err instanceof Error ? err.message : String(err);
        console.warn('[composio] agent-ready toolkits fetch failed:', message);
        setError(message);
      })
      .finally(() => {
        if (mountedRef.current) setLoading(false);
      });
  }, []);

  return { agentReady, loading, error };
}

View on GitHub (pinned to 7491200858)

Solutions

  1. Refetch on mount/retry action once the backend is reachable
  2. Degrade UI to 'toolkits unknown' rather than 'none available' when the fetch errors
  3. Check Composio connectivity and credentials if the failure is persistent
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at app/src/lib/composio/hooks.ts:401 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/54cfc294c9993121. Report an issue: GitHub.