agentsociety.simulation.individualengine¶
Module Contents¶
Classes¶
Data¶
API¶
- agentsociety.simulation.individualengine.__all__¶
[‘IndividualEngine’]
- agentsociety.simulation.individualengine.MIN_ID¶
1
- agentsociety.simulation.individualengine.MAX_ID¶
1000000000
- class agentsociety.simulation.individualengine.IndividualEngine(config: agentsociety.configs.IndividualConfig, tenant_id: str = '')¶
Initialization
- async _init_embedding()¶
Initialize embedding model with timeout.
- async _init_embedding_task()¶
Actual embedding initialization task.
- async init()¶
Initialize all the components
- async run()¶
Run the task solver with concurrent execution and progress tracking.
Description:
Distributes tasks to agents in rounds
Each round assigns N tasks to N agents concurrently
Provides progress updates at the beginning and end of each round
Collects only new task results after each round
Args: None
Returns: None
- async close()¶
Close all the components
- property config¶
- property database¶
- property llm¶
- property enable_database¶
- property database_writer¶