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

agentscope vs legion

Side-by-side 2026 comparison in Agents & Frameworks: agentscope-ai/agentscope leads both total GitHub adoption (★ 37.2k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Custom / Check Repo.

Cumulative Star Gain Chart (Embeddable SVG)

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

agentscope vs legion — 14-Day Star Velocity Comparison on RepoForAI.com 14-DAY CUMULATIVE STAR GAIN COMPARISON REPOFORAI.COM agentscope ★ 37.2k (+342/7d) legion ★ 125 (+24/7d) +743 +372 0 11-21 11-28 12-04 (D1 snapshot)
agentscope-ai/agentscope (Health A+ 98/100) vs huggingface/legion (Health B+ 64/100) multi-day star momentum.
Compare different repos →

Key Metrics Matrix

Dimensionagentscope-ai/agentscopehuggingface/legion
Total GitHub Stars★ 37,175★ 125
24h / 7d Velocity+48 / +342+4 / +24
7-Day Trend Curve
Engineering HealthA+ · 98/100B+ · 64/100
Deployment SignalsAPIDocker · Self-Hosted · CLI
Primary LanguagePythonPython
Commercial LicenseApache-2.0 · Commercial FriendlyCustom / Check Repo
ActivityUpdated todayUpdated today
Latest Releasev2.0.12Rolling commits (main)
Best ForTeams building tool-using assistants that need streamed progress, human approvals, and an API with tenant and session isolationEngineering and research teams running collaborative Harbor tasks that need per-agent environments, configurable roles, shared findings, and run-level usage tracking
Maintaining agentscope, legion, or an open-source alternative? Reach engineers comparing this stack.
Feature Repo ($19)Sponsor Track

agentscope · Highlights & Quickstart

Execution: ReAct supports structured output, interruption and resumption, and sequential or concurrent tool batches.
Integration: Toolkit combines Python functions, MCP servers, and skills; the package manifest requires mcp>=2.0.0.
Context: Middleware supports compaction, tool-result offload, and context injection; ReMe and Mem0 are long-term memory options.
Interaction: A unified event bus streams reasoning, tool calls, and text, image, or audio content to the frontend.
uv pip install agentscope

legion · Highlights & Quickstart

Execution unit: Each agent runs in its own container as a Harbor Trial; the manifest pins harbor[e2b]==0.25.0.
Role configuration: team_file supplies shared instructions, while agents.roles defines distinct roles using Pi, Codex, or Claude Code.
Task versioning: task.repo, task.revision, and task.selector locate and pin a Harbor task independently of Legion code.
Tool selection: Spec entries such as message_board.* and calculator.add select Python tools; an explicit list replaces the defaults.
git clone https://github.com/huggingface/legion
cd legion
uv sync

agentscope vs legion FAQ

How do agentscope and legion differ on commercial licensing?

agentscope-ai/agentscope uses Apache-2.0 · Commercial Friendly (Permissive license allowing commercial use, modification, and proprietary distribution.), whereas huggingface/legion uses Custom / Check Repo (Custom or unspecified license; verify LICENSE file in the repository before commercial use.).

Which is growing faster in 2026: agentscope or legion?

According to RepoForAI's 6-hour GitHub telemetry, agentscope has 37,175 stars (+342 in 7d) vs. legion with 125 stars (+24 in 7d).

When should engineering teams pick agentscope vs legion?

Choose agentscope (Python) for: Teams building tool-using assistants that need streamed progress, human approvals, and an API with tenant and session isolation. Choose legion (Python) for: Engineering and research teams running collaborative Harbor tasks that need per-agent environments, configurable roles, shared findings, and run-level usage tracking.

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