AQI Analysis Agent
The AQI Analysis Agent is a powerful air quality monitoring and health recommendation tool powered by Firecrawl and Agno's AI Agent framework. This ap…
- OpenAI
Agent Teams ·Advanced
Watch two AI agents battle it out in an epic used car negotiation Built with Google ADK for the backend agents and AG-UI + CopilotKit for a jaw-dropping reactive frontend.
GOOGLE_API_KEYLicense Apache-2.0 · content curated and maintained by Doutor AI.
Watch two AI agents battle it out in an epic used car negotiation! Built with Google ADK for the backend agents and AG-UI + CopilotKit for a jaw-dropping reactive frontend.
┌─────────────────────────────────────────────────────────────────┐
│ Next.js + CopilotKit Frontend │
│ ┌─────────────┐ ┌──────────────┐ ┌─────────────┐ │
│ │ Battle Arena│ │ VS Display │ │Chat Sidebar │ │
│ │ Timeline │ │ Buyer/Seller │ │ (AG-UI) │ │
│ └──────┬──────┘ └──────────────┘ └──────┬──────┘ │
└──────────┼────────────────────────────────────────┼─────────────┘
│ AG-UI Events │
└────────────────────┬───────────────────┘
│
┌───────────▼───────────┐
│ CopilotKit Runtime │
│ (/api/copilotkit) │
└───────────┬───────────┘
│ HTTP/SSE
┌───────────▼───────────┐
│ FastAPI + AG-UI │
│ ADK Middleware │
└───────────┬───────────┘
│
┌───────────▼─────────────┐
│ ADK Negotiation Agent │
│ (Battle Master) │
│ │
│ Tools: │
│ • configure_negotiation│
│ • start_negotiation │
│ • buyer_make_offer │
│ • seller_respond │
└─────────────────────────┘
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd advanced_ai_agents/multi_agent_apps/ai_negotiation_battle_simulator
cd backend
pip install -r requirements.txt
# Create .env file
echo "GOOGLE_API_KEY=your_api_key_here" > .env
# Start the backend
python agent.py
The backend will start on http://localhost:8000
cd frontend
npm install
# Start the frontend
npm run dev
The frontend will start on http://localhost:3000
Open http://localhost:3000 and tell the Battle Master:
| Personality | Emoji | Style |
|---|---|---|
| Desperate Dan | 😰 | Needs car TODAY, weak poker face |
| Analytical Alex | 🧮 | Cites every data point, very logical |
| Cool-Hand Casey | 😎 | Master of the walkaway bluff |
| Fair-Deal Fran | 🤝 | Just wants a win-win |
| Personality | Emoji | Style |
|---|---|---|
| Shark Steve | 🦈 | Never drops more than 5% |
| By-The-Book Beth | 📊 | Goes strictly by KBB |
| Motivated Mike | 😅 | Really needs to sell |
| Drama Queen Diana | 🎭 | Everything is "final offer" |
ai_negotiation_battle_simulator/
├── README.md
├── .env.example
│
├── backend/ # Python ADK + AG-UI
│ ├── agent.py # Main agent with tools
│ ├── requirements.txt
│ ├── config/
│ │ ├── personalities.py # 8 unique personalities
│ │ └── scenarios.py # 3 negotiation scenarios
│ └── agents/
│ ├── buyer_agent.py
│ ├── seller_agent.py
│ └── orchestrator.py
│
└── frontend/ # Next.js + CopilotKit
├── package.json
├── src/
│ └── app/
│ ├── layout.tsx # CopilotKit provider
│ ├── page.tsx # Battle Arena UI
│ ├── globals.css # Battle animations
│ └── api/
│ └── copilotkit/
│ └── route.ts # CopilotKit runtime
└── tailwind.config.js
🔔 NEGOTIATION BEGINS: 2019 Honda Civic EX
📋 ASKING PRICE: $15,500
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
😎 COOL-HAND CASEY (Round 1):
"I've seen similar Civics go for less. $11,500 seems fair
given the market. Cash in hand today."
🦈 SHARK STEVE (Round 1):
"$15,000. This car is pristine. I've got two other
interested buyers coming this weekend."
😎 COOL-HAND CASEY (Round 2):
"$12,500 is my limit. Take it or I walk."
🦈 SHARK STEVE (Round 2):
*considers* "$14,000. Final offer."
😎 COOL-HAND CASEY (Round 3):
"$13,000. Meet me in the middle."
🦈 SHARK STEVE (Round 3):
"...$13,500 and you've got a deal."
😎 COOL-HAND CASEY (Round 4):
"$13,250. Final answer."
🦈 SHARK STEVE (Round 4):
"Deal. 🤝"
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ DEAL CLOSED AT $13,250 🎉
Buyer saved: $2,250 (14.5% off asking)
buyer_make_offer and seller_respond toolsFeel free to add:
May the best negotiator win! 🏆
The AQI Analysis Agent is a powerful air quality monitoring and health recommendation tool powered by Firecrawl and Agno's AI Agent framework. This ap…
An AI-powered multi-agent codebase migration assistant built with LangGraph and Streamlit that plans file-by-file refactoring tasks, performs human-in…
An advanced AI research agent built using the Agno Agent framework, Together AI's Qwen model, and Composio tools. This agent helps users conduct compr…
Need a tailor-made solution?
Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.
Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.