{"repo":"gnosis/prediction-market-agent-tooling","free":true,"listed":false,"github":"https://github.com/gnosis/prediction-market-agent-tooling","clone":"git clone https://github.com/gnosis/prediction-market-agent-tooling.git","description":"Tools to benchmark, deploy and monitor prediction market agents.","language":"Python","stars":58,"topics":["agent","gnosis","prediction-market","web3"],"license":"LGPL-3.0","category":"blockchain-web3","readme_excerpt":"Prediction Market Agent Tooling Tooling for benchmarking, deploying and monitoring agents for prediction market applications. Setup Install the project dependencies with poetry , using Python =3.10: Create a .env file in the root of the repo with the following variables: Deploying and monitoring agents using GCP requires that you set up the gcloud CLI (see here for installation instructions, and use gcloud auth login to authorize.) Benchmarking Create a benchmarkable agent by subclassing the AbstractBenchmarkedAgent base class, and plug in your agent's research and prediction functions into the predict method. Use the Benchmarker class to compare your agent's predictions vs. the 'wisdom of the crowd' on a set of markets from your chosen prediction market platform. For example: This produces a markdown report that you can use for comparing agents side-by-side, like: Deploying Deprecated : We suggest using your own infrastructure to deploy, but you may still find this useful. Create a deployable agent by subclassing the DeployableTraderAgent base class, and implementing the answer binary market method. For example, deploy an agent that randomly picks an outcome: Safe Agents can control funds via a wallet primary key only, or optionally via a Safe as well. For deploying a Safe manually for a given agent, run the script below: This will output the newly created Safe in the terminal, and it can then be copied over to the deployment part (e.g. Terraform). Note that salt nonce can b","default_branch":null,"files":null,"tree":[],"storefront":"/r/gnosis","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gnosis/prediction-market-agent-tooling/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}