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.3.tar.gz (315.1 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.3-py3-none-any.whl (162.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentsociety_community-0.3.3.tar.gz
Algorithm Hash digest
SHA256 e23972b0e5c0ea550f2d2ebe96a780ef8bd89bd9338ab50ac8c409a2a15b3b3b
MD5 911ab9b593a824823801d21eaa7144d3
BLAKE2b-256 4de3cb3b4c1a6f755ba90bf2cac4a7ceb88fc3d769c0b5922d33d2d4a54be648

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentsociety_community-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 192769a49f6a5c73c2841b3ac3d44bbe56cc27860f6dbad46c1e6b057373bf53
MD5 4c11fa5c53691b4a4e422770f1c80459
BLAKE2b-256 35b8331afd4058d04365def3e298f2a82498162acd2ecb24423580237564516a

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