Back

Dec 10, 2025

Buyer Persona Simulation

H
Hyperfold Team
TestingAgents

Persona Types

Buyer personas simulate different customer behaviors to test your agent's effectiveness. Common persona types include:

  • Price-Sensitive: Aggressively negotiates, multiple rounds
  • Premium Buyer: Values quality, quick decisions
  • Research-Heavy: Many questions, compares options
  • Impulse Buyer: Quick purchase, susceptible to bundles
  • Loyal Customer: Returning customer, expects recognition

Creating Personas

Define personas in your configuration:

yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# persona-config.yaml
personas:
- id: price-sensitive-bargainer
name: Budget-Conscious Buyer
description: Aggressively negotiates for lowest price
behavior:
initial_offer_percent: 0.50 # Starts at 50% of list
negotiation_rounds: 4
acceptance_threshold: 0.70 # Accepts at 70% of list
patience: low
context:
loyalty_tier: standard
purchase_history: 2
- id: premium-quick-buyer
name: Premium Quick Buyer
description: Values quality, makes fast decisions
behavior:
initial_offer_percent: 0.95
negotiation_rounds: 1
acceptance_threshold: 1.00
patience: low
context:
loyalty_tier: platinum
purchase_history: 50
- id: research-comparison
name: Research-Heavy Shopper
description: Asks many questions, compares options
behavior:
search_queries: 5
questions_per_product: 3
comparison_products: 4
decision_time: high
context:
loyalty_tier: gold
purchase_history: 15

Running Simulations

Execute simulations against your agent:

bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Run simulation with personas
$ hyperfold simulation run --personas=all --sessions=100
SIMULATION RESULTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
PERSONA SESSIONS CONVERSIONS AVG DISCOUNT AVG SESSION
Budget-Conscious Buyer 34 12 (35%) 18.2% 4.2 min
Premium Quick Buyer 33 28 (85%) 2.1% 0.8 min
Research-Heavy Shopper 33 19 (58%) 11.4% 6.7 min
OVERALL:
Total Sessions: 100
Total Conversions: 59 (59%)
Average Discount: 10.6%
Average Revenue: $142.30
INSIGHTS:
⚠ Budget buyers receiving discounts above target (18% vs 15% max)
✓ Premium buyers converting at expected rate
✓ Research buyers engaging well with recommendations

Analyzing Results

Review detailed session logs:

bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# View specific session
$ hyperfold simulation session sim_abc123
SESSION: sim_abc123
Persona: Budget-Conscious Buyer
Duration: 4m 12s
Outcome: CONVERTED
CONVERSATION:
[Buyer] Search: "affordable running shoes size 10"
[Agent] Found 8 products matching your criteria...
[Buyer] Quote: AeroRun X2 @ $90 (50% of list)
[Agent] Counter: $162 (10% loyalty discount applied)
[Buyer] Counter: $110
[Agent] Counter: $145 (best I can offer)
[Buyer] Accept
[Agent] Checkout initiated...
[Buyer] Payment confirmed
METRICS:
Final Price: $145 (19.4% discount)
Margin: 38.2%
Rounds: 3

Iterating on Agents

Use simulation insights to improve your agent:

Run simulations after every prompt change to catch regressions. Target consistent conversion rates across all persona types.