Web Analytics

XianyuAutoAgent

⭐ 129 stars English by qOeOp

🌐 Language

🚀 Xianyu AutoAgent - Intelligent Xianyu Customer Service Bot System

Java Version LLM Powered

An AI duty solution designed specifically for the Xianyu platform, enabling 24/7 automated operation, supporting multi-expert collaborative decision-making, intelligent price negotiation, and context-aware conversations.

🎮 Playground - Quick Experience (No Configuration Needed)

No need for a local environment or setting Secrets! Directly use GitHub Actions web interface to input parameters and start the Xianyu bot with one click.

How to Use

Notes

⚠️ Please note temporary run limitations:
workflow

🌟 Core Features

Intelligent Conversation Engine

| Module | Technical Implementation | Key Features | | ----------- | ------------------------- | ---------------------------------------------------------- | | Contextual | Conversation history store | Lightweight conversation memory management, full chat history as LLM context input | | Expert Routing | LLM prompt+rule routing | Intent recognition via prompt engineering → dynamic dispatch to expert Agent, supports scenario switching for price negotiation/tech/customer service |

Business Function Matrix

| Module | Implemented | Planned | | ---------- | ------------------------------- | ------------------------------- | | Core Engine| ✅ LLM auto-reply
✅ Context management | 🔄 Enhanced sentiment analysis | | Pricing | ✅ Stepwise price reduction strategy | 🔄 Market price comparison | | Tech Support| ✅ Integrated web search | 🔄 Enhanced RAG knowledge base |

🚴 Quick Start

Environment Requirements

Installation Steps

1. 克隆仓库
git clone https://github.com/qOeOp/XianyuAutoAgent.git
cd XianyuAutoAgent

  • 配置环境变量
  • AI_DASHSCOPE_API_KEY : 阿里云大模型API-KEY
  • COOKIES_STR : 闲鱼网页端Cookie
  • 执行命令
mvn spring-boot:run 注意:默认使用的模型是通义千问,如需使用其他API,请自行修改application.yml文件中的模型地址和模型名称; COOKIES_STR自行在闲鱼网页端获取cookies(网页端F12打开控制台,选择Network,点击Fetch/XHR,点击一个请求,查看cookies)

  • (可选)创建提示词文件src/main/resources/*-prompt.txt

🤝 Participation and Contribution

You are welcome to submit suggestions via Issues or contribute code via PRs, please follow the Contribution Guide

🛡 Important Notes

⚠️ Note: This project is for learning and communication purposes only. Contact the author for removal if there is any infringement.

Due to the special nature of the project, the development team may stop updating or delete the project at any time.

🧸 Special Thanks

This project is refactored based on the following open-source projects:

--- Tranlated By Open Ai Tx | Last indexed: 2025-07-20 ---