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

E2B vs XianyuAutoAgent

Side-by-side 2026 comparison in Agents & Frameworks: e2b-dev/E2B leads in total GitHub adoption (★ 15.1k), while shaxiu/XianyuAutoAgent shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs GPL-3.0 · Copyleft Warning.

Ee2b-dev
e2b-dev/E2B★ 15,089 · Python

Sandbox SDKs for running AI-generated code and desktop tasks in isolation

Apache-2.0 · Commercial Friendly@e2b/code-interpreter-python@2.11.14
Full Profile →GitHub ↗

Cumulative Star Gain Chart (Embeddable SVG)

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

E2B vs XianyuAutoAge… — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM E2B ★ 15.1k (+87/7d) XianyuAutoAge… ★ 9.9k (+149/7d) +225 +113 0 11-18 11-25 12-01 (D1 snapshot)
e2b-dev/E2B (Health A+ 94/100) vs shaxiu/XianyuAutoAgent (Health B 53/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensione2b-dev/E2Bshaxiu/XianyuAutoAgent
Total GitHub Stars★ 15,089★ 9,920
24h / 7d Velocity+13 / +87+24 / +149
7-Day Trend Curve
Engineering HealthA+ · 94/100B · 53/100
Deployment SignalsSelf-Hosted · APIDocker · Self-Hosted
Primary LanguagePythonPython
Commercial LicenseApache-2.0 · Commercial FriendlyGPL-3.0 · Copyleft Warning
ActivityUpdated todayUpdated 5mo ago
Latest Release@e2b/code-interpreter-python@2.11.14Rolling commits (main)
Best ForTeams building agents that need a separate execution layer for generated code, shell commands, or desktop tasks, with a choice of hosted API or self-hosted runtimeXianyu sellers piloting supervised replies for common inquiries and routine bargaining who can manage account sessions and test reply behavior
Maintaining E2B, XianyuAutoAgent, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

E2B · Highlights & Quickstart

SDK surface: The e2b package exposes Sandbox.create() and command execution with stdout returned to the caller.
Code Interpreter: Separate JavaScript and Python packages expose runCode() and run_code() for direct code execution.
Desktop control: Separate SDKs expose mouse and keyboard input, screenshots, application launch, and desktop streaming.
Resource sizing: Python SDK 2.66.0 supports template maxMemoryMB, creation-time memoryMB, and memory and CPU overrides when reconnecting to a paused sandbox.
pip install e2b

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去掉),否则默认读取四个提示词模板中的内容

E2B vs XianyuAutoAgent FAQ

How do E2B and XianyuAutoAgent differ on commercial licensing?

e2b-dev/E2B uses Apache-2.0 · 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: E2B or XianyuAutoAgent?

According to RepoForAI's 6-hour GitHub telemetry, E2B has 15,089 stars (+87 in 7d) vs. XianyuAutoAgent with 9,920 stars (+149 in 7d).

When should engineering teams pick E2B vs XianyuAutoAgent?

Choose E2B (Python) for: Teams building agents that need a separate execution layer for generated code, shell commands, or desktop tasks, with a choice of hosted API or self-hosted runtime. 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