NegotiationGym: Self-Optimizing Agents in a Multi-Agent Social Simulation Environment

Shashank Mangla, Chris Hokamp, Jack Boylan, Demian Gholipour Ghalandari, Yuuv Jauhari, Lauren Cassidy, Oisin DuffySocial Sim @ COLM 2025

TL;DR

NegotiationGym is a new open-source framework designed to simulate and optimize multi-agent social interactions, specifically focusing on negotiation. By providing a flexible API and a "Negotiation Coach" feedback loop, it allows LLM-based agents to iteratively refine their strategies and measurably improve their utility over multiple rounds of interaction.

What Problem Does This Paper Address?

While Large Language Models (LLMs) have shown promise in simulating human-like social behavior, researchers lack standardized, flexible tools to design and run these simulations at scale. Specifically, there is a gap in frameworks that allow agents to self-optimize. In real-world negotiations, humans learn from experience; however, most current AI agent setups are static.

The authors address the need for a configuration-driven environment where researchers can define complex utility functions (what an agent wants) and observe how different optimization strategies—like verbal reflection and coaching—affect economic outcomes like surplus sharing and deal success rates.

Methods

NegotiationGym is built on top of the AutoGen framework but introduces several key abstractions:

  • UtilityAgent: A specialized agent class with two primary "hooks": compute_utility(E), which calculates a scalar success score based on the environment state, and learn_from_feedback(E), which allows the agent to update its own prompt.
  • The Negotiation Coach: A dedicated LLM agent that acts as a critic. After each negotiation episode, the coach analyzes the transcript and the agent’s private utility, then suggests a single new strategy (e.g., "try anchoring with a higher initial price") that is appended to the agent's system prompt for the next round.
  • Configuration-Driven API: Scenarios, agent goals, and termination conditions are defined in JSON, making experiments highly reproducible.
  • Iterative Optimization: Unlike traditional training that requires gradient updates, these agents optimize in a "gradient-free" manner by rewriting their natural language strategies based on past performance.

Datasets

The paper does not use a static pre-existing dataset. Instead, it introduces a synthetic buyer-seller negotiation scenario for a laptop.

  • Parameters: Seller floor prices and buyer budgets are sampled from uniform distributions.
  • Metrics: The framework tracks private utility (how much of the budget/surplus was saved/gained) and surplus share (how the "extra" money between the floor price and asking price is divided).
  • Availability: All code, prompts, and experiment configurations are open-sourced on GitHub.

Key Insights and Ideas

  • Asymmetric Learning Dynamics: One of the most interesting findings is that buyers benefit significantly more from optimization than sellers. The authors hypothesize this is because buyers have more "room to maneuver" with counteroffers and concessions, whereas sellers are often anchored by a hard floor price that limits their strategic flexibility.
  • Emergent Efficiency: When both the buyer and seller are optimized simultaneously, the agents reach deals faster and fail to reach a deal less often. Even though the agents weren't explicitly told to be "fast," the drive to maximize utility led them to minimize "no-deal" outcomes as an emergent byproduct.
  • Verbal Strategy as Policy: The work reinforces the idea that for LLMs, a "policy" can be effectively represented and updated as a natural language prompt rather than a weight matrix.

Key Results

The authors evaluated four modes: no reflection, buyer-only reflection, seller-only reflection, and both reflecting.

  • Utility Gains: As seen in the cumulative utility curves, agents that receive feedback consistently outperform those that do not. Cumulative average utility curves showing that optimized agents (especially buyers) achieve higher private utility over time.
Figure 1: Cumulative average utility curves for each optimization mode on a 20-turn setting.
  • Pareto Efficiency: In a 10-turn limit setting, the "both reflect" mode (red diamond) was the most efficient, sitting closest to the Pareto frontier and resulting in the fewest "no-deal" scenarios compared to when only one or neither agent optimized. Average surplus shares plotted against the Pareto frontier. The 'both reflect' mode shows the best balance and highest deal completion rate.
Figure 2: Average surplus shares over 20 negotiations for each optimization mode on a 20- turn setting (left) and a 10-turn setting (right). Points lie on or below the Pareto frontier. All prompts and configuration for this experiment are available in the open-source repository referenced above.

Limitations and Future Work

  • Stochasticity: Because LLMs are probabilistic, results can vary between runs. The authors note that conclusions require averaging over many simulations to be reliable.
  • Simplified Utility: The current case study uses a simple price-based utility. Real-world negotiations often involve multifaceted factors (warranty, delivery time, etc.) that are not yet modeled.
  • Lack of Grounding: Agents currently cannot query external data (like market prices). The authors suggest that adding tool-use capabilities would be a vital next step to allow agents to align their tactics with factual, real-world data.

Summary updated

BibTeX
@inproceedings{mangla2025negotiationgym,
  author = {Shashank Mangla and Chris Hokamp and Jack Boylan and Demian Gholipour Ghalandari and Yuuv Jauhari and Lauren Cassidy and Oisin Duffy},
  title = {{NegotiationGym: Self-Optimizing Agents in a Multi-Agent Social Simulation Environment}},
  booktitle = {Social Sim @ COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=c2OO0ktqUV},
}
Figure