gnosis / prediction-market-agent

GNU Lesser General Public License v3.0
27 stars 5 forks source link

Add ability for agent to create and monitor (sub-)goals #233

Closed evangriffiths closed 1 month ago

gabrielfior commented 4 months ago

@evangriffiths can you please provide more context? Thx

evangriffiths commented 3 months ago

Is it possible with microchain? Yes:

gabrielfior commented 3 months ago

Another option would be to manage this state in the DB, similar to what we do with prompts, but with a different session identifier. Something like

id(int) | session_identifier(str) | goal_identifier (str) | is_goal_done (bool)
1 | deployed-general-agent-omen | get-learnings | Done
1 | deployed-general-agent-omen | buy-yes | False

and we update the goals on the column is_goal_done

evangriffiths commented 2 months ago

The idea I currently have is:

I think https://github.com/gnosis/prediction-market-agent/issues/369 is a natural follow-on from this task - once the microchain agent has a goal, then the critic can: