Selected Work

02.2 — Research

Agents at Market

What happens when the participants in an economics experiment are AI agents?

Role
Undergraduate Research Assistant, Smeal College of Business, Penn State
Timeline
Tools
Python · LLM agents
Scope
4 agents · 20+ trials

The study isn’t mine to publish, so there are no results here. What I can show is what I built, how I tested it, and what I learned.

§ 01The setup

Same experiment. Different participants.

Economics experiments usually run on people. Participants set prices, make offers and react to what they know — and to what they don’t. Over the summer my job was to rebuild one of those experiments with AI agents sitting in the participants’ seats.

I wrote the simulation in Python: four AI agents, a market, and the pricing and market rules that decide what each agent sees and how offers become a price. Not every participant knows the same things. Economists call that information asymmetry,1 and it’s the condition the agents’ decisions are evaluated under.

Then I ran it, analyzed the results, took them to faculty and revised the rules. Then I did it again.

  • 4AI agents
  • 1Human experiment, replicated
  • 20+Trials
§ 02Method— step through it

From a human experiment to four agents, in seven steps.

01 · The original

It starts with an experiment that has already been run with people. Participants set prices and make offers, and they don’t all know the same things. The job is to reproduce that setting, not to improve on it.

02 · Write the rules

The pricing and market rules go into Python: what each seat sees, what counts as a valid offer, and how offers become a price. People fill gaps in instructions sensibly; code needs every one written down.

03 · Seat four agents

Four AI agents take the participants’ seats. Each one is told only what its seat would know, which is where the information asymmetry comes in.

04 · Run the rounds

Each round, every agent sends an offer and the rules turn the offers into a price. A trial is a full run of the market under one version of the rules.

Try a toy version

05 · Analyze the results

After each trial I analyze the results: what the agents did, and the prices that came out.

Step through a toy replay

06 · Review and revise

The results go to faculty, the rules get revised, and the market runs again. That loop, from the rules to the review and back, ran across 20+ trials.

07 · Compare with people Open question

The question underneath all of it: where do AI agents behave like the people they stand in for, and where don’t they? I don’t have that answer yet.

§ 03Market playground— a toy version you can run

Four agents, one price. Widen the gap and watch the price drift.

A1 and A2 see a hidden value clearly. A3 and A4 start in the fog, so they lean on the last price instead. Move any agent across the line and see what it does to the price. Each round, every agent sends an offer; the rules turn those offers into a price.2

0.60

How much less an agent deep in the fog knows about the hidden value.

Rules version

v1: price is the average of all offers.

Toy model — not the research code or its results.
§ 04Replay— four agents, 24 rounds

Watch four agents settle on a price.

A second toy, closer to a pricing game. Each round every agent posts a price, buyers lean toward the cheaper ones, and each agent moves part of the way toward the price that would have paid best against what it saw. A1 and A2 see rivals’ prices exactly; A3 and A4 see them through noise. Play it, drag through the rounds, or change an assumption.

Illustrative A toy model, not the study’s data Seed 2026

Market Opening

Bars show

    Average price
    0.00
    Spread
    0.00
    Competitive
    0.00
    Joint-profit
    0.00
    00 / 24
    Speed
    These change the illustration, not the study.
    0.35

    How far an agent moves toward its best-paying price each round.

    2 rounds

    How many past rounds an agent averages to guess its rivals’ prices.

    0.60

    How strongly buyers move toward the cheaper agents.

    6.0

    What each sale costs an agent. No one prices below it.

    0.50

    How noisy A3 and A4’s view of rival prices is.

    A seeded toy model: the same seed and assumptions always replay the same way. Dashed lines are the agents with a noisy view; dotted lines are reference prices from the toy’s demand curve.3 Not the research code, its data or its results.
    § 05Iteration— how feedback changed the design

    The same loop, run again and again.

    Trial 01 of 20+

    Schematic — card contents are illustrative. Drag the trial number, or pick a step, to move through it.

    § 06What I learned

    Lessons from the rulebook.

    1. 01

      Fair rules are the hard part.

      Every pricing and market rule is a decision about what the market rewards. When a rule is loose, it shows up in the results before it shows up in the code.

    2. 02

      Replication forces precision.

      Human participants read instructions and fill gaps sensibly. A simulation can’t. Rebuilding the experiment meant writing down assumptions people never have to state: who sees what, when, and what counts as a valid offer.

    3. 03

      Feedback is a loop, not a checkpoint.

      Results went to faculty; revised rules came back. Over 20+ trials,4 the design got better one revision at a time, not from one good idea. That’s slower, and more honest.

    Putting AI agents into a human experiment doesn’t remove the assumptions. It makes you write every one of them down.

    — On rebuilding the experiment
    § 07Takeaways— the short version
    • Built

      A Python pricing simulation in which four AI agents replicate a human-participant economics experiment.

    • Implemented

      The pricing and market rules used to evaluate AI-agent decisions under information asymmetry.

    • Iterated

      Analyzed trial results and revised the rules across 20+ trials after faculty feedback.

    • Kept

      A habit: treat the rules as part of the model, and expect to rewrite them.

    • Still asking

      Where do AI agents behave like the people they stand in for, and where don’t they? I don’t have that answer yet.5 If you’ve run something similar, I’d like to compare notes. It’s on my list of open questions

    Notes
    1. Information asymmetry here just means that participants don’t all know the same things. The playground draws it as fog and the replay as noise on rivals’ prices; both are my illustrations, not the study’s design. ↩
    2. The “agents” in the playground and the replay are a few lines of arithmetic that run in your browser, not language models. They show the setting; they are not the research code. ↩
    3. Both reference prices come from the toy demand curve. The competitive price is where no agent gains by changing its own price alone; the joint-profit price is the single price that would make the four agents’ combined profit largest. They describe the toy, not any real market. ↩
    4. A trial is one full run of the simulation under one version of the rules. The replay’s rounds are a smaller unit: one set of posted prices. ↩
    5. This page shows no results from the study. Every number on it comes from the two toy models. ↩