Agent Community Generation

Pipeline for generating multi-agent community grounded in the scene

Published: 6/19/2025 Last updated: 6/19/2025
By Virtual Community Team

This guide walks you through creating a grounded community of agents for a selected scene.

Generate scene‑grounded community

1. Select scenes to generate

Open scripts/generate_characters_all.sh and set the target scenes. For example, to generate for London:

SCENES=(LONDON)

2. Run the pipeline

bash scripts/generate_characters_all.sh

Notes

  • The script supports multiple scenes, for example: SCENES=(LONDON TORONTO).
  • For stability and easier debugging, we recommend running one scene at a time.

Procedure Overview

There are two main steps in the character generation pipeline. Below is a high‑level overview; refer to the source code for full details.

Step 1: Generate characters and annotate images of known places

  1. Generate config-level place/building metadata
  2. Sample Mixamo and celebrity characters from the pool
  3. Generate character profiles and groups information with grounding validator
  4. Annotate known places on the global image, which generates known_places.png

Step 2: Offset the xy positions for indoor places

Adjust XY positions for indoor places to avoid overlap with building footprints and improve spatial realism.