Skip to content

A-Team

Cadbury (Reference: the butler from Richie Rich) is an agent-mediated marketplace where AI negotiates on behalf of users.

Core trick

Buyer and seller agents run a bounded negotiation loop, accepting only offers that satisfy each user's stated constraints.

Tags

Description

Cadbury (Reference: the butler from Richie Rich) is an agent-mediated marketplace where AI negotiates on behalf of users. Instead of manually searching, messaging, and haggling, buyers and sellers deploy personalized agents that autonomously discover matches, negotiate within defined constraints, and reach optimal outcomes. By combining real-time negotiation, structured deal-making, and customizable agent personas, Cadbury transforms commerce into a seamless, private, and intelligent experience, where users no longer negotiate, but simply decide.
abha224/AI-agent-hack★ 00 forksTypeScriptCreated Mar 21, 2026 · last push Mar 21, 2026

README excerpt

# Cadbury — AI Marketplace Concierge

This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## AgentMarket Scaffold

This repository also includes a scaffold for:

- Next.js web app with Vercel AI SDK (`ai`) + `@ai-sdk/google`
- Python LangGraph negotiation service
- Shared TypeScript contracts package

### Project Layout

- `apps/web`: Next.js App Router project with AI SDK endpoints
- `services/negotiation-langgraph`: FastAPI + LangGraph negotiation backend
- `packages/contracts`: shared zod schemas/types

### Environment

Copy `.env.example` to `.env.local` and set values:

- `NEXT_PUBLIC_SUPABASE_URL` / `NEXT_PUBLIC_SUPABASE_ANON_KEY` / `SUPABASE_SERVICE_ROLE_KEY`
- `GEMINI_API_KEY`
- `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` / `CLERK_SECRET_KEY`
- `ELEVENLABS_API_KEY` (optional)
- `GOOGLE_GENERATIVE_AI_API_KEY`
- `NEGOTIATION_SERVICE_URL`
- `PAGEINDEX_API_KEY` — PageIndex API key (Bearer token)
- `PAGEINDEX_API_BASE_URL` — REST host, default `https://api.pageindex.ai` (listing document upload)
- `PAGEINDEX_UPLOAD_PATH` — upload path (default `/documents/upload`)
- `PAGEINDEX_MCP_URL` — HTTP MCP endpoint for document search/read tools, default `https://api.pageindex.ai/mcp`
- `WEB_EVIDENCE_MCP_URL`
- `A2A_AGENT_BASE_U

Team