TinyTroupe: An LLM-powered Multiagent Persona Simulation Toolkit

Paulo Salem, Robert Sim, Christopher Olsen, Prerit Saxena, Rafael Barcelos +1 more
7/13/2025
11 citations
cs.MAcs.AIcs.CL

Official code: microsoft/TinyTroupe (7,720 stars, Jupyter Notebook, MIT, last commit 2026-04-28).

Abstract

Recent advances in Large Language Models (LLM) have led to a new class of autonomous agents, renewing and expanding interest in the area. LLM-powered Multiagent Systems (MAS) have thus emerged, both for assistive and simulation purposes, yet tools for realistic human behavior simulation -- with its distinctive challenges and opportunities -- remain underdeveloped.

Show full abstract

Existing MAS libraries and tools lack fine-grained persona specifications, population sampling facilities, experimentation support, and integrated validation, among other key capabilities, limiting their utility for behavioral studies, social simulation, and related applications. To address these deficiencies, in this work we introduce TinyTroupe, a simulation toolkit enabling detailed persona definitions (e.g., nationality, age, occupation, personality, beliefs, behaviors) and programmatic control via numerous LLM-driven mechanisms. This allows for the concise formulation of behavioral problems of practical interest, either at the individual or group level, and provides effective means for their solution. TinyTroupe's components are presented using representative working examples, such as brainstorming and market research sessions, thereby simultaneously clarifying their purpose and demonstrating their usefulness. Quantitative and qualitative evaluations of selected aspects are also provided, highlighting possibilities, limitations, and trade-offs. The approach, though realized as a specific Python implementation, is meant as a novel conceptual contribution, which can be partially or fully incorporated in other contexts. The library is available as open source at https://github.com/microsoft/tinytroupe.

View on arXivView PDF

Code Implementations(1)

MIT

LLM-powered multiagent persona simulation for imagination enhancement and business insights.

7,720694Jupyter Notebook, PythonMar 25, 20247 months agoMIT

Similar Papers

Cite this paper

@article{salem2025tinytroupe,
  title  = {TinyTroupe: An LLM-powered Multiagent Persona Simulation Toolkit},
  author = {Paulo Salem and Robert Sim and Christopher Olsen and Prerit Saxena and Rafael Barcelos and Yi Ding},
  year   = {2025},
  eprint = {2507.09788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.09788v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.09788.svg)](https://codeofpaper.com/paper/2507.09788)

Discussion