← All Comparisons (/vs)
HEAD-TO-HEAD TECHNICAL COMPARISON (2026)

openai-agents-python vs XianyuAutoAgent

Side-by-side 2026 comparison in Agents & Frameworks: openai/openai-agents-python leads in total GitHub adoption (★ 31k), while shaxiu/XianyuAutoAgent shows stronger 7-day momentum. Licensing: MIT · Commercial Friendly vs GPL-3.0 · Copyleft Warning.

Cumulative Star Gain Chart (Embeddable SVG)

Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.

openai-agents… vs XianyuAutoAge… — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM openai-agents… ★ 31k (+114/7d) XianyuAutoAge… ★ 9.9k (+149/7d) +237 +119 0 11-18 11-25 12-01 (D1 snapshot)
openai/openai-agents-python (Health A+ 100/100) vs shaxiu/XianyuAutoAgent (Health B 53/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensionopenai/openai-agents-pythonshaxiu/XianyuAutoAgent
Total GitHub Stars★ 30,969★ 9,920
24h / 7d Velocity+19 / +114+24 / +149
7-Day Trend Curve
Engineering HealthA+ · 100/100B · 53/100
Deployment SignalsAPIDocker · Self-Hosted
Primary LanguagePythonPython
Commercial LicenseMIT · Commercial FriendlyGPL-3.0 · Copyleft Warning
ActivityUpdated todayUpdated 5mo ago
Latest Releasev0.26.1Rolling commits (main)
Best ForPython teams building API-backed assistants that need specialist delegation, tool approvals, conversation history, or live voice without implementing their own agent loopXianyu sellers piloting supervised replies for common inquiries and routine bargaining who can manage account sessions and test reply behavior
Maintaining openai-agents-python, XianyuAutoAgent, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

openai-agents-python · Highlights & Quickstart

Delegation: Runner supports agents as callable tools and handoffs that transfer control to a specialist.
Model integration: OpenAI Responses and Chat Completions plus external LLM providers; provider-specific features still need validation.
Tool integration: Python functions, hosted tools, and MCP; the package permits MCP 1.x and 2.x from 1.30.0 onward but excludes 2.0.* and 2.1.*.
Voice architecture: RealtimeRunner uses a server-side WebSocket, while VoicePipeline streams audio from a speech-to-text → agent → text-to-speech flow.
python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install openai-agents

XianyuAutoAgent · Highlights & Quickstart

Routing: Prompt-based intent classification and rules select bargaining, technical support, or default replies.
Conversation state: Stored chat history is supplied as LLM context for follow-up turns.
Seller control: A configurable keyword toggles between automated replies and manual handling.
Model endpoint: openai==1.65.5 with configurable MODEL_BASE_URL and MODEL_NAME; Qwen is the default.
1. 克隆仓库
git clone https://github.com/shaxiu/XianyuAutoAgent.git
cd XianyuAutoAgent

2. 安装依赖
pip install -r requirements.txt

3. 配置环境变量
创建一个 `.env` 文件,包含以下内容,也可直接重命名 `.env.example` :
#必配配置
API_KEY=apikey通过模型平台获取
COOKIES_STR=填写网页端获取的cookie
MODEL_BASE_URL=模型地址
MODEL_NAME=模型名称
#可选配置
TOGGLE_KEYWORDS=接管模式切换关键词,默认为句号(输入句号切换为人工接管,再次输入则切换AI接管)
SIMULATE_HUMAN_TYPING=True/False #模拟人工回复延迟

注意:默认使用的模型是通义千问,如需使用其他API,请自行修改.env文件中的模型地址和模型名称;
COOKIES_STR自行在闲鱼网页端获取cookies(网页端F12打开控制台,选择Network,点击Fetch/XHR,点击一个请求,查看cookies)

4. 创建提示词文件prompts/*_prompt.txt(也可以直接将模板名称中的_example去掉),否则默认读取四个提示词模板中的内容

openai-agents-python vs XianyuAutoAgent FAQ

How do openai-agents-python and XianyuAutoAgent differ on commercial licensing?

openai/openai-agents-python uses MIT · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas shaxiu/XianyuAutoAgent uses GPL-3.0 · Copyleft Warning (Strong copyleft license; distributing modified versions or network SaaS (AGPL) requires open-sourcing.).

Which is growing faster in 2026: openai-agents-python or XianyuAutoAgent?

According to RepoForAI's 6-hour GitHub telemetry, openai-agents-python has 30,969 stars (+114 in 7d) vs. XianyuAutoAgent with 9,920 stars (+149 in 7d).

When should engineering teams pick openai-agents-python vs XianyuAutoAgent?

Choose openai-agents-python (Python) for: Python teams building API-backed assistants that need specialist delegation, tool approvals, conversation history, or live voice without implementing their own agent loop. Choose XianyuAutoAgent (Python) for: Xianyu sellers piloting supervised replies for common inquiries and routine bargaining who can manage account sessions and test reply behavior.

More Head-to-Head Comparisons

WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare