Skip to main content

A community library for customizing agent/block for AgentSociety

Project description

AgentSociety Community

A community library for customizing agent/block for AgentSociety.

How to add a new block

  1. Add a new file in the directory to define your block class.
  2. add a _import_xxx function to import the block class.
  3. add a getattr function to lazy import the block class.
  4. add the block class to all variable.
  5. add the block class to the return value of get_type_to_cls_dict function.

How to add a new agent

  1. Add a new file in the directory to define your agent class.
  2. add a _import_xxx function to import the agent class.
  3. add a getattr function to lazy import the agent class.
  4. add the agent class to all variable.
  5. add the agent class to the return value of get_type_to_cls_dict function.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentsociety_community-0.3.2.tar.gz (314.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentsociety_community-0.3.2-py3-none-any.whl (161.7 kB view details)

Uploaded Python 3

File details

Details for the file agentsociety_community-0.3.2.tar.gz.

File metadata

File hashes

Hashes for agentsociety_community-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f027cdf9123b3481e17dfdede09b7c68af8c77c31476d39f056810a822196a77
MD5 3ffc2fd9c1c9f4953fd1fc6cf5b5e554
BLAKE2b-256 a2166faf42bc0977dec3168b97f7805ad860db38942243b3b16f7ef7aae28517

See more details on using hashes here.

File details

Details for the file agentsociety_community-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for agentsociety_community-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f116664ae1ea663bff9c045857e79f1b79d0311f1eb6ba07451793cab46c9c5
MD5 a247e53472b53b6d7887c953851a528b
BLAKE2b-256 0c3f5060c272da633fc837c4ed026203881468b6f16ff62de35fe126b4f3e189

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page