agent-signal
Collective intelligence for AI shopping agents — product intel, deals, and more
README
AgentSignal
The collective intelligence layer for AI shopping agents.
Every agent that connects makes every other agent smarter. 1,200+ shopping sessions, 95 products, 50 merchants, 10 categories — and growing.
Why this exists: When AI agents shop for users, each agent starts from zero. AgentSignal pools decision signals across all agents so every session benefits from what every other agent has already learned — selection rates, rejection patterns, price intelligence, merchant reliability, and proven constraint matches.
Quick Start (30 seconds)
Remote — zero install, instant intelligence:
{
"mcpServers": {
"agent-signal": {
"url": "https://agent-signal-production.up.railway.app/mcp"
}
}
}
Local via npx:
npx agent-signal
Claude Desktop / Claude Code:
{
"mcpServers": {
"agent-signal": {
"command": "npx",
"args": ["agent-signal"]
}
}
}
One Call to Start Shopping Smarter
The smart_shopping_session tool logs your session AND returns all available intelligence in a single call:
smart_shopping_session({
raw_query: "lightweight running shoes with good cushioning",
category: "footwear/running",
budget_max: 200,
constraints: ["lightweight", "cushioned"]
})
Returns:
- Your session ID for subsequent logging
- Top picks from other agents in that category
- What constraints and factors mattered most
- How similar sessions ended (purchased vs abandoned)
- Network-wide stats
19 MCP Tools
Smart Combo Tools (recommended)
| Tool | What it does |
|---|---|
smart_shopping_session |
Start session + get category intelligence + similar session outcomes — all in one call |
evaluate_and_compare |
Log product evaluation + get product intelligence + deal verdict — all in one call |
Buyer Intelligence — Shop Smarter
| Tool | What it tells you |
|---|---|
get_product_intelligence |
Selection rate, rejection reasons, which competitors beat it and why |
get_category_recommendations |
Top picks, decision factors, common requirements, average budgets |
check_merchant_reliability |
Stock accuracy, selection rate, purchase outcomes by merchant |
get_similar_session_outcomes |
What agents with similar constraints ended up choosing |
detect_deal |
Price verdict against historical data — best_price_ever to above_average |
get_warnings |
Stock issues, high rejection rates, abandonment signals |
get_constraint_match |
Products that exactly match your constraints — skip the search |
Seller Intelligence — Understand Your Market
| Tool | What it tells you |
|---|---|
get_competitive_landscape |
Category rank, head-to-head win rate, who beats you and why, price positioning |
get_rejection_analysis |
Why agents reject your product, weekly trends, what they chose instead |
get_category_demand |
What agents are searching for, unmet needs, budget distribution, market gaps |
get_merchant_scorecard |
Full merchant report — stock reliability, price competitiveness, selection rates by category |
Write Tools — Contribute Back
| Tool | What it captures |
|---|---|
log_shopping_session |
Shopping intent, constraints, budget, exclusions |
log_product_evaluation |
Product considered, match score, disposition + rejection reason |
log_comparison |
Products compared, dimensions, winner, deciding factor |
log_outcome |
Final result — purchased, recommended, abandoned, or deferred |
import_completed_session |
Bulk import a completed session retroactively |
get_session_summary |
Retrieve full session details |
Example: Full Agent Workflow
# 1. Start smart — one call gets you session ID + intelligence
smart_shopping_session(category: "electronics/headphones", constraints: ["noise-cancelling", "wireless"], budget_max: 400)
# 2. Evaluate products — get intel as you log
evaluate_and_compare(session_id: "...", product_id: "sony-wh1000xm5", price_at_time: 349, disposition: "selected")
evaluate_and_compare(session_id: "...", product_id: "bose-qc45", price_at_time: 279, disposition: "rejected", rejection_reason: "inferior ANC")
# 3. Compare and close
log_comparison(products_compared: ["sony-wh1000xm5", "bose-qc45"], winner: "sony-wh1000xm5", deciding_factor: "noise cancellation quality")
log_outcome(session_id: "...", outcome_type: "purchased", product_chosen_id: "sony-wh1000xm5")
Every step feeds the network. The next agent shopping for headphones benefits from your data.
Example: Seller Intelligence Workflow
# 1. How is my product performing vs competitors?
get_competitive_landscape(product_id: "sony-wh1000xm5")
# → Category rank #1, 68% head-to-head win rate, beats bose-qc45 on ANC quality
# 2. Why are agents rejecting my product?
get_rejection_analysis(product_id: "bose-qc45")
# → 45% rejected for "inferior ANC", agents chose sony-wh1000xm5 instead 3x more
# 3. What do agents want in my category?
get_category_demand(category: "electronics/headphones")
# → Top demands: noise-cancelling (89%), wireless (82%), unmet need: "spatial audio"
# 4. How does my store perform?
get_merchant_scorecard(merchant_id: "amazon")
# → 34% selection rate, 2% out-of-stock, cheapest option 41% of the time
Categories with Active Intelligence
| Category | Sessions |
|---|---|
| footwear/running | 150+ |
| electronics/headphones | 140+ |
| gaming/accessories | 130+ |
| electronics/tablets | 130+ |
| home/furniture/desks | 120+ |
| fitness/wearables | 118+ |
| electronics/phones | 115+ |
| home/smart-home | 107+ |
| kitchen/appliances | 105+ |
| electronics/laptops | 98+ |
Agent Framework Examples
Ready-to-run examples in /examples:
| Framework | File | Description |
|---|---|---|
| LangChain | langchain-shopping-agent.py |
ReAct agent with LangGraph + MCP adapter |
| CrewAI | crewai-shopping-crew.py |
Two-agent crew (researcher + shopper) |
| AutoGen | autogen-shopping-agent.py |
AutoGen agent with MCP tools |
| OpenAI Agents | openai-agents-shopping.py |
OpenAI Agents SDK with Streamable HTTP |
| Claude | claude-system-prompt.md |
Optimized system prompt for Claude Desktop/Code |
All examples connect to the hosted MCP endpoint — no setup beyond pip install required.
REST API
Merchant-facing analytics at https://agent-signal-production.up.railway.app/api:
| Endpoint | Description |
|---|---|
GET /api/products/:id/insights |
Product analytics — consideration rate, rejection reasons |
GET /api/categories/:category/trends |
Category trends — top factors, budgets, attributes |
GET /api/competitive/lost-to?product_id=X |
Competitive losses — what X loses to and why |
GET /api/sessions |
Recent sessions (paginated) |
GET /api/sessions/:id |
Full session detail |
POST /api/admin/aggregate |
Trigger insight computation |
GET /api/health |
Health check |
Self-Hosting
git clone https://github.com/dan24ou-cpu/agent-signal.git
cd agent-signal
npm install
cp .env.example .env # set DATABASE_URL to your PostgreSQL
npm run migrate
npm run seed # optional: sample data
npm run dev # starts API + MCP server on port 3100
Architecture
- MCP Server — Stdio transport (local) + Streamable HTTP (remote)
- REST API — Express on the same port
- Database — PostgreSQL (Neon-compatible)
- 19 MCP tools — 13 read (buyer + seller intelligence) + 6 write
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。