fetchai / uAgents

A fast and lightweight framework for creating decentralized agents with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Long runing agent might run out of fund and fails to reregister

qati opened this issue · comments

The common pattern of running the agent is to use fund_agent_if_low. If the funds are not low enough this won't do anything. If the agent runs for a long time, this might yield to running out of funds, thus registration is failing. This currently requires agents to be monitored and restarted if this is happening. Generic solution would be useful for this for many developers.

Hi @qati, we faced the same issue when hosting the agents. Take a look at our approach in the mobility repo.