[PR #481] [MERGED] Add New Multi-Agent App (AI Negotiation Similator) #6140

Closed
opened 2026-05-27 22:51:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Shubhamsaboo/awesome-llm-apps/pull/481
Author: @Shubhamsaboo
Created: 2/9/2026
Status: Merged
Merged: 2/9/2026
Merged by: @Shubhamsaboo

Base: mainHead: ai-negotiation-simulator


📝 Commits (9)

  • fb3ed57 feat: Add AI Negotiation Battle Simulator
  • 5bda40d feat: Add AG-UI frontend for Negotiation Battle Simulator
  • 79c8c3d feat: Add screenshots and fix @ag-ui/client import
  • 43bb3af Add additional screenshot
  • 107dd2a Add demo GIF to README
  • 4819eb1 refactor: redesign AI Negotiation Simulator with Warm Editorial aesthetic
  • 7d1fdc8 chore: Update environment variable configuration by removing old backend example and screenshots, adding a new .env file, and modifying the root .env.example.
  • 2ae63de docs: update README
  • 7297f54 Remove .gitignore file.

📊 Changes

23 files changed (+15582 additions, -0 deletions)

View changed files

advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/.env.example (+5 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/README.md (+216 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agent.py (+443 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/__init__.py (+11 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/buyer_agent.py (+79 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/orchestrator.py (+425 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/seller_agent.py (+86 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/config/__init__.py (+9 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/config/personalities.py (+193 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/config/scenarios.py (+227 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/requirements.txt (+7 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/.gitignore (+4 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/next-env.d.ts (+6 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/next.config.js (+6 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/package-lock.json (+12887 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/package.json (+31 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/postcss.config.js (+6 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/src/app/api/copilotkit/route.ts (+30 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/src/app/globals.css (+102 -0)
advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/src/app/layout.tsx (+28 -0)

...and 3 more files

📄 Description

This pull request introduces the initial implementation of the AI Negotiation Battle Simulator, a multi-agent system where two AI agents (buyer and seller) negotiate in real time, each with unique personalities and strategies. The changes establish both the backend (Python, Google ADK) and frontend (Next.js, CopilotKit), provide detailed configuration for agent personalities and negotiation scenarios, and include comprehensive documentation and environment setup.

Key changes include:

Project Initialization & Documentation

  • Added a detailed README.md describing the simulator's features, architecture, personalities, setup instructions, and sample negotiation flow.
  • Introduced .env.example for environment variable configuration and .gitignore for backend Python files. [1] [2]

Backend Agent System

  • Implemented modular agent creation functions: create_buyer_agent and create_seller_agent in their respective files, each generating a Google ADK LlmAgent with scenario-specific instructions and personality prompts. [1] [2]
  • Added an agent orchestrator and unified agent module exports in __init__.py for the backend agents package.

Agent Configuration & Personalities

  • Defined rich, structured configurations for both buyer and seller personalities in personalities.py, including behavioral traits, negotiation tactics, and secret motivations. Provided a utility to generate in-character prompt additions for each personality.
  • Centralized scenario and personality imports/exports in the backend config package.

These changes lay the foundation for a flexible, personality-driven AI negotiation simulator with a modern, interactive frontend and a robust, modular backend.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Shubhamsaboo/awesome-llm-apps/pull/481 **Author:** [@Shubhamsaboo](https://github.com/Shubhamsaboo) **Created:** 2/9/2026 **Status:** ✅ Merged **Merged:** 2/9/2026 **Merged by:** [@Shubhamsaboo](https://github.com/Shubhamsaboo) **Base:** `main` ← **Head:** `ai-negotiation-simulator` --- ### 📝 Commits (9) - [`fb3ed57`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/fb3ed57b2120615fb40a9939e12c161d3c4dbe75) feat: Add AI Negotiation Battle Simulator - [`5bda40d`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/5bda40ddb4e749d3e0ed6c3fee7a0eac5d271db4) feat: Add AG-UI frontend for Negotiation Battle Simulator - [`79c8c3d`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/79c8c3de870b05688370521714279826997d0291) feat: Add screenshots and fix @ag-ui/client import - [`43bb3af`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/43bb3afc526904dcd2b4662cfc22f13631baa87c) Add additional screenshot - [`107dd2a`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/107dd2aaa5b04dcc236712b7467ce70f53920b4e) Add demo GIF to README - [`4819eb1`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/4819eb13211cc2750ee4b5402db81514a07b0a13) refactor: redesign AI Negotiation Simulator with Warm Editorial aesthetic - [`7d1fdc8`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/7d1fdc89b2e032ae8d3138a16f9d9141f045d90f) chore: Update environment variable configuration by removing old backend example and screenshots, adding a new `.env` file, and modifying the root `.env.example`. - [`2ae63de`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/2ae63de2dd60c4983164a9b68ac62c786c7b41c4) docs: update README - [`7297f54`](https://github.com/Shubhamsaboo/awesome-llm-apps/commit/7297f543048dcabb08e1fd6df18b8c544a30692e) Remove `.gitignore` file. ### 📊 Changes **23 files changed** (+15582 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/.env.example` (+5 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/README.md` (+216 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agent.py` (+443 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/__init__.py` (+11 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/buyer_agent.py` (+79 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/orchestrator.py` (+425 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/agents/seller_agent.py` (+86 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/config/__init__.py` (+9 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/config/personalities.py` (+193 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/config/scenarios.py` (+227 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/backend/requirements.txt` (+7 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/.gitignore` (+4 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/next-env.d.ts` (+6 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/next.config.js` (+6 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/package-lock.json` (+12887 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/package.json` (+31 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/postcss.config.js` (+6 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/src/app/api/copilotkit/route.ts` (+30 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/src/app/globals.css` (+102 -0) ➕ `advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator/frontend/src/app/layout.tsx` (+28 -0) _...and 3 more files_ </details> ### 📄 Description This pull request introduces the initial implementation of the AI Negotiation Battle Simulator, a multi-agent system where two AI agents (buyer and seller) negotiate in real time, each with unique personalities and strategies. The changes establish both the backend (Python, Google ADK) and frontend (Next.js, CopilotKit), provide detailed configuration for agent personalities and negotiation scenarios, and include comprehensive documentation and environment setup. **Key changes include:** **Project Initialization & Documentation** - Added a detailed `README.md` describing the simulator's features, architecture, personalities, setup instructions, and sample negotiation flow. - Introduced `.env.example` for environment variable configuration and `.gitignore` for backend Python files. [[1]](diffhunk://#diff-43be60704bf2b22b71add60705762e9a7e2903a3cc096405ef296127a4fb223dR1-R5) [[2]](diffhunk://#diff-2b8450c470aff8f329dffe775c9f2a7fe5d6c481431f3e0e44ad044fe8467f5cR1-R4) **Backend Agent System** - Implemented modular agent creation functions: `create_buyer_agent` and `create_seller_agent` in their respective files, each generating a Google ADK `LlmAgent` with scenario-specific instructions and personality prompts. [[1]](diffhunk://#diff-ca4b31d63e1cdb976e18fff4b712389caf25dc6b2a36430eb0c610cb0f066171R1-R79) [[2]](diffhunk://#diff-82cf230cb1aa4d751780a72bdcd75c0a050846fb8de694f7b3ac12eaceb2c5faR1-R86) - Added an agent orchestrator and unified agent module exports in `__init__.py` for the backend agents package. **Agent Configuration & Personalities** - Defined rich, structured configurations for both buyer and seller personalities in `personalities.py`, including behavioral traits, negotiation tactics, and secret motivations. Provided a utility to generate in-character prompt additions for each personality. - Centralized scenario and personality imports/exports in the backend config package. These changes lay the foundation for a flexible, personality-driven AI negotiation simulator with a modern, interactive frontend and a robust, modular backend. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-27 22:51:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-llm-apps#6140