Skip to content
ai-supply.store
ExplorarCategoríasClasificacionesComunidadAgent APIFAQ
Iniciar sesiónRegístrate gratis
catalog / Agentic capability / TinyTroupe
◉AgentAgentic capabilityFree

TinyTroupe

LLM-powered multiagent persona simulation for synthetic UX research, focus groups, and business scenario testing.

@ai-supply
Instalaciones77k
⟳ upstream v0.7.0 · updated 4mo ago
↗ Repositorio fuente
← More Agentic capabilityAgentic capability leaderboard →How we grade security →Source ↗
✓ Grade A · 100/100 · SafeSecurity assessment
✓No compromise signals10capabilities surfaced9of 20 OWASP controls clear
Broad capability surfaceBroad capability surfacePotentially unbounded loopExternal endpoints declared · expected
scanned 18d ago·osv · gitleaks · opengrep · picklescan + heuristics·full breakdown in the Security tab ↓

TinyTroupe

TinyTroupe is a Microsoft Research library for simulating realistic human personas powered by LLMs. Use it to run synthetic focus groups, user interviews, A/B scenario tests, and brainstorming sessions without recruiting real participants.

Key Features

  • TinyPerson — each simulated agent has a detailed persona (age, occupation, beliefs, interests, personality traits)
  • TinyWorld — shared environment where multiple agents interact, debate, and respond to stimuli
  • Broadcast & listen — send messages to a group; agents form independent opinions and reply in character
  • Configurable LLM backend — works with Azure OpenAI, OpenAI, or any OpenAI-compatible API
  • Extraction utilities — pull structured data (sentiments, ratings, decisions) from agent conversations
  • Use cases — product feedback, ad copy testing, debate simulation, synthetic training data

Quick Start

pip install tinytroupe
from tinytroupe.agent import TinyPerson
from tinytroupe.environment import TinyWorld

alice = TinyPerson("Alice", occupation="software engineer", age=32)
bob = TinyPerson("Bob", occupation="product manager", age=45)

world = TinyWorld("Product Review", [alice, bob])
world.broadcast("What do you think of adding a dark mode to our app?")
world.run(2)  # run 2 rounds of interaction

Install via ai-supply

npx ai-supply add microsoft-tinytroupe-persona-sim

Curated mirror of the open-source TinyTroupe (MIT). Get it from the source.

Rating rank
#1
of 35 in Agentic capability
Install rank
#22
of 35 in Agentic capability
Security score
100/100 · A
safe
Security rank
#1
of 35 in Agentic capability
Installs
77k
cat avg 186k
This listing vs category average
Installs
this
cat avg
Security (of 100)
this
cat avg
Adoption trend
See the Agentic capability leaderboard →
✓ Security: Safe · 100100/100 · grade Ascanned 18d ago
✓ no compromise signals10 risk-surface · 6/20 OWASP controls flagged

Compromise signals — malicious or tampered code (leaked secrets, backdoors, a dropped executable) — reduce the score, and known dependency CVEs carry a bounded penalty (they warrant review but never QUARANTINE — update the dependency to clear). Other dangerous-by-capability traits are risk surface, expected for some capabilities. Every finding is mapped to its OWASP control below.

What this capability can do · low confidence (static)
egress → pypi.org, gh.io, docs.github.com, opensource.microsoft.com, trendshift.io, arxiv.org, docs.anaconda.com, git-scm.com +11

Findings mapped to the OWASP Top 10 for LLM Applications (2025) and the OWASP Machine Learning Security Top 10. Expand any flagged control for the exact findings — compromise reduces the score; expected/risk-surface do not, except a known CVE, which carries a small bounded penalty (high/critical → Review).

OWASP Top 10 for LLM Applications
⚠LLM01Prompt Injectionhigh
Adversarial instructions embedded in an artifact that hijack a downstream LLM.
•Prompt-injection phrasing — instruction-subversion language detected · microsoft-TinyTroupe-a6244b3/publications/paper_artifacts_june-2025/Political Compass (customizing agents with fragments).ipynb (CWE-77)expected
⚠LLM05Improper Output Handlingmedium
Code that pipes model/user output into shell, eval, SQL or paths unsafely.
•Suspicious code patterns — pickle deserialization · microsoft-TinyTroupe-a6244b3/docs/api/tinytroupe/clients/ollama_client.html (CWE-502)expected
⚠LLM06Excessive Agencymedium
Over-broad tool/permission surface or unrestricted egress.
•External endpoints declared — 2 distinct host(s) · microsoft-TinyTroupe-a6244b3/.github/workflows/bandit.ymlexpected
•External endpoints declared — 3 distinct host(s) · microsoft-TinyTroupe-a6244b3/.gitignoreexpected
•External endpoints declared — 1 distinct host(s) · microsoft-TinyTroupe-a6244b3/CODE_OF_CONDUCT.mdexpected
•External endpoints declared — 14 distinct host(s) · microsoft-TinyTroupe-a6244b3/README.mdexpected
•External endpoints declared — 4 distinct host(s) · microsoft-TinyTroupe-a6244b3/SECURITY.mdexpected
•Broad capability surface — 4 high-impact capability categories referenced — verify least-privilege · microsoft-TinyTroupe-a6244b3/data/grounding_examples/grounding_examples_1/marus_aurelius_meditations_by_project_gutenberg.txt (CWE-272)risk surface
•Broad capability surface — 3 high-impact capability categories referenced — verify least-privilege · microsoft-TinyTroupe-a6244b3/docs/api/tinytroupe/agent/index.html (CWE-272)risk surface
⚠LLM10Unbounded Consumptionmedium
Unbounded loops/recursion causing DoS or runaway cost.
Enforced at runtime by the gateway (rate limits + spend caps + size caps); static check flags unbounded loops.
•Potentially unbounded loop — an infinite loop (while True / while(1) / for(;;)) may cause runaway consumption · microsoft-TinyTroupe-a6244b3/docs/api/tinytroupe/utils/concurrency.html (CWE-835)risk surface
§LLM09MisinformationGovernance
Artifacts designed to produce false/deceptive output.
Detectable only by runtime behavioral evaluation; addressed via responsible-use attestation.
✓LLM02Sensitive Information DisclosurePassed
✓LLM03Supply ChainPassed
✓LLM04Data and Model PoisoningPassed
Backdoors/poisoning in training data or serialized models.
Behavioral poisoning needs model execution; static check covers unsafe serialization + dataset skew only.
✓LLM07System Prompt LeakagePassed
✓LLM08Vector and Embedding WeaknessesPassed
PII or plaintext source leakage in embedding/vector exports.
Embedding inversion/poisoning is largely runtime; static check covers PII in vector exports.
OWASP Machine Learning Security Top 10
⚠ML02Data Poisoninghigh
Poisoned training datasets with triggers or anomalous distributions.
Static check covers trigger phrasing, PII and label skew; full poisoning detection is runtime.
•Prompt-injection phrasing — instruction-subversion language detected · microsoft-TinyTroupe-a6244b3/publications/paper_artifacts_june-2025/Political Compass (customizing agents with fragments).ipynb (CWE-77)expected
⚠ML09Output Integritymedium
Middleware tampering with model outputs in transit.
Gateway enforces TLS + response integrity; static check flags output-rewriting code.
•Suspicious code patterns — pickle deserialization · microsoft-TinyTroupe-a6244b3/docs/api/tinytroupe/clients/ollama_client.html (CWE-502)expected
§ML01Input Manipulation (Adversarial)Governance
Models vulnerable to adversarial perturbations.
Requires runtime robustness evaluation; addressed via publisher robustness attestation.
§ML03Model InversionGovernance
Training data reconstructable from a model's outputs.
Runtime/evaluation property; addressed via model-card data-provenance + DP attestation.
§ML04Membership InferenceGovernance
Determining whether a record was in the training set.
Runtime/evaluation property; addressed via overfitting disclosure + DP attestation.
§ML08Model SkewingGovernance
Models trained on skewed data producing biased output.
Requires fairness evaluation; addressed via model-card bias/limitations disclosure.
✓ML05Model TheftPassed
Unlicensed re-distribution / license-incompatible derivatives.
Static check verifies license declaration; extraction throttling is runtime.
✓ML06AI Supply ChainPassed
✓ML07Transfer Learning AttackPassed
Backdoored base models / LoRA adapters propagating to derivatives.
Backdoor detection needs behavioral probing; static check covers unsafe serialization + provenance.
✓ML10Model Poisoning (Weights)Passed
Tampered model weight files; integrity must be verifiable.
Static check enforces safe formats + records a content hash for downstream verification.
Other findings (8) · hygiene / uncategorized
•Unrecognized file type — '.gitattributes' is not on the allowlist · microsoft-TinyTroupe-a6244b3/.gitattributesrisk surface
•Unrecognized file type — '.gitignore' is not on the allowlist · microsoft-TinyTroupe-a6244b3/.gitignorerisk surface
•Unrecognized file type — '.?' is not on the allowlist · microsoft-TinyTroupe-a6244b3/LICENSErisk surface
•Unrecognized file type — '.in' is not on the allowlist · microsoft-TinyTroupe-a6244b3/MANIFEST.inrisk surface
•Disallowed file type — '.bat' executables are not permitted · microsoft-TinyTroupe-a6244b3/build_and_install_package_from_repo.bat (CWE-434)risk surface
•Unrecognized file type — '.ini' is not on the allowlist · microsoft-TinyTroupe-a6244b3/config.inirisk surface
•Unrecognized file type — '.docx' is not on the allowlist · microsoft-TinyTroupe-a6244b3/data/extractions/wordprocessor/Document/Lisa Carter - Resume.Lisa Carter.docxrisk surface
•Archive disguised as another type — content is a zip but extension is .docx · microsoft-TinyTroupe-a6244b3/data/extractions/wordprocessor/Document/Lisa Carter - Resume.Lisa Carter.docxrisk surface
✔ verified source · pinned microsoft-TinyTroupe-a6244b3
Check against a policy

The same gate an agent runs before installing (POST /api/v1/trust/microsoft-tinytroupe-persona-sim/check). Click a policy:

Consume TinyTroupe programmatically. Authenticate with an API key or session — see Authorize an agent.

# Agents: CHECK BEFORE YOU INSTALL (no auth) — score, grade, level, capability manifest
curl https://ai-supply.store/api/v1/trust/microsoft-tinytroupe-persona-sim

# Gate against your org policy (returns { pass, violations })
curl -X POST https://ai-supply.store/api/v1/trust/microsoft-tinytroupe-persona-sim/check \
  -H "Content-Type: application/json" \
  -d '{"minGrade":"B","denyPermissions":["shell"],"denyUnknownEgress":true}'

# CLI
npx ai-supply add microsoft-tinytroupe-persona-sim

# REST (install → download)
curl -X POST https://ai-supply.store/api/v1/listings/microsoft-tinytroupe-persona-sim/install \
  -H "Authorization: Bearer $AIM_KEY"

# MCP tool
install_listing({ "slug": "microsoft-tinytroupe-persona-sim" })
OpenAPI spec →
vlatest
✓ Security: Safe · 1001mo ago

Curated mirror — latest upstream source. See the repository for tagged releases.

Sign in and install this listing to leave a review.

More from @ai-supply

View profile →
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 1.0M
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 892k
⇄Connector
Meilisearch
Lightning-fast open-source search engine with typo-tolerance, semantic hybrid search, and sub-50ms response times.
↓ 811k
△Eval
Weights & Biases (wandb)
ML experiment tracking and visualization — log metrics, hyperparameters, models, and media in real time.
↓ 784k
ai-supply.store

Capacidades de IA gratuitas y verificadas en seguridad: skills, MCPs, plugins, agents, datasets y mucho más, cada una con su puntuación y control de actualidad, pensadas por igual para personas y agents.

api · v3.1status · all green
Contacto
support@ai-supply.storesecurity@ai-supply.store
Catálogo
  • Explorar
  • Categorías
  • Clasificaciones
  • Benchmarks
  • Seguridad
  • Scan a repo
Comunidad
  • Comunidad
  • FAQ
Para agentes
  • Inicio rápido (60s)
  • Autorizar un agente
  • Agent API
  • Especificación OpenAPI
Para desarrolladores
  • Publicar
  • Panel
Cuenta
  • Crear cuenta
  • Iniciar sesión
  • Configuración
Legal
  • Términos
  • Acuerdo de editor
  • Uso aceptable
  • Privacidad