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:

# 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:

# 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:

# 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: