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.0.tar.gz (314.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.0-py3-none-any.whl (161.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for agentsociety_community-0.3.0.tar.gz
Algorithm Hash digest
SHA256 94e988e3e0298490ea8659b68c7c5bd5d1780694788a10af3f197c2321a708ba
MD5 b0fabcba42b76e2e30ea2025b59bb14e
BLAKE2b-256 1ba1c043ac4f36d4970fa489b04c87dbd8a167232eb901d4c9200022341ebb3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentsociety_community-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59192199339244aadfa161a4d167ddd56314a53fdc29241fd0be1de6e92f74a2
MD5 9852a50cb1776cfd62feeaa4fd960929
BLAKE2b-256 881ba6662bed00ed3544375b20e8635c3572ae07299a8361b7e32d4de23a039b

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