tomzx/autogpt

Distributed budget

Opened this issue · 0 comments

tomzx commented

Share a global budget among many agents.

An initial implementation could be to give a part of the current agent's remaining budget to the new agent. Once the agent terminates, it could report how much budget it used itself. Alternatively, we could record how much budget was spent, and at regular interval adjust the remaining budget.

A more "elegant" solution would be to use a shared database or memory, possibly using dask Lock.