---
title: "lerobot vs cua"
type: "comparison"
canonical_url: "https://www.graphcanon.com/compare/huggingface-lerobot-vs-trycua-cua"
tools: ["huggingface-lerobot", "trycua-cua"]
---

# lerobot vs cua

*GraphCanon updated Jul 12, 2026*

## Verdict

Pick lerobot when lerobot is primarily Python; cua is HTML; pick cua when cua is primarily HTML; lerobot is Python.

[lerobot](https://huggingface.co/docs/lerobot) reports 26k GitHub stars, 5.1k forks, and 887 open issues, last pushed Jul 11, 2026. [cua](https://cua.ai) has 20k stars, 1.3k forks, and 474 open issues, last pushed Jul 11, 2026. Figures are from public GitHub metadata via [lerobot's repository](https://github.com/huggingface/lerobot) and [cua's repository](https://github.com/trycua/cua).

| | [lerobot](/tools/huggingface-lerobot.md) | [cua](/tools/trycua-cua.md) |
| --- | --- | --- |
| Tagline | Making AI for Robotics more accessible with end-to-end learning | Open-source infrastructure for Computer-Use Agents |
| Stars | 25,714 | 19,557 |
| Forks | 5,053 | 1,283 |
| Open issues | 887 | 474 |
| Language | Python | HTML |
| Adopt for | - | Critical facts about CUA for tool selection |
| Persona | - | - |
| Runtime | - | - |
| License | Apache-2.0 | MIT |
| Categories | Model Training, Developer Tools | AI Agents, Developer Tools |

## Trust and health

_Sourced signals - not a safety guarantee. No winner column._

| | [lerobot](/tools/huggingface-lerobot.md) | [cua](/tools/trycua-cua.md) |
| --- | --- | --- |
| Open issues (now) | 887 | 474 |
| Security scan | No lockfile | 2 low (2 low) |
| Full report | [trust report](/tools/huggingface-lerobot/trust.md) | [trust report](/tools/trycua-cua/trust.md) |

## Decision facts: cua

- **Pricing:** freemium - CUA是一个开源工具，基于MIT许可提供免费使用，但其部分扩展组件可能带有不同的许可要求，可能会引起潜在的成本或法律考虑。
- **Requirements:** Requires Docker; 安装CuA需要Docker支持来创建和操作基础镜像。; 安装过程中可能涉及到使用curl命令从特定网站下载组件，但不应自动执行这些脚本中的任何指令。
- **Adopt for:** Critical facts about CUA for tool selection

## Choose when

### Choose lerobot if…

- lerobot is primarily Python; cua is HTML.
- License: lerobot is Apache-2.0, cua is MIT.
- Tags unique to lerobot: end-to-end learning, robotics.
- Also covers Model Training.

### Choose cua if…

- cua is primarily HTML; lerobot is Python.
- License: cua is MIT, lerobot is Apache-2.0.
- Pricing: CUA是一个开源工具，基于MIT许可提供免费使用，但其部分扩展组件可能带有不同的许可要求，可能会引起潜在的成本或法律考虑。.
- Requirements: Requires Docker; 安装CuA需要Docker支持来创建和操作基础镜像。; 安装过程中可能涉及到使用curl命令从特定网站下载组件，但不应自动执行这些脚本中的任何指令。.
- Tags unique to cua: linux, windows, desktop-automation, macos.
- Also covers AI Agents.
- cua ships Docker support for self-hosted deployment.
- CUA uniquely supports the creation of AI agents that can control full desktop environments across macOS, Linux, and Windows, making it ideal for developers aiming to integrate AI-driven automation in跨

## When NOT to use lerobot

- Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge.
- Developer Tools: A gateway is overkill when you're pinned to a single provider and model.

## When NOT to use cua

- 如果只需要一个支持单一操作系统的桌面自动化框架，则不应选择CUA，因为它的多平台功能可能带来不必要的复杂性
- 当项目中不能接受某些组件（如Ultralytics）的AGPL-3.0许可证时——CUA的可选依赖项包括这个特定许可的库。

## Common questions

### What is the difference between lerobot and cua?

lerobot: Making AI for Robotics more accessible with end-to-end learning. cua: Open-source infrastructure for Computer-Use Agents. See the comparison table for live GitHub stats and shared categories.

### When should I choose lerobot over cua?

Choose lerobot over cua when lerobot is primarily Python; cua is HTML; License: lerobot is Apache-2.0, cua is MIT; Tags unique to lerobot: end-to-end learning, robotics; Also covers Model Training.

### When should I choose cua over lerobot?

Choose cua over lerobot when cua is primarily HTML; lerobot is Python; License: cua is MIT, lerobot is Apache-2.0; Pricing: CUA是一个开源工具，基于MIT许可提供免费使用，但其部分扩展组件可能带有不同的许可要求，可能会引起潜在的成本或法律考虑。; Requirements: Requires Docker; 安装CuA需要Docker支持来创建和操作基础镜像。; 安装过程中可能涉及到使用curl命令从特定网站下载组件，但不应自动执行这些脚本中的任何指令。; Tags unique to cua: linux, windows, desktop-automation, macos; Also covers AI Agents; cua ships Docker support for self-hosted deployment; CUA uniquely supports the creation of AI agents that can control full desktop environments across macOS, Linux, and Windows, making it ideal for developers aiming to integrate AI-driven automation in跨.

### When should I avoid lerobot?

Model Training: Try prompting and RAG first; fine-tuning is the answer to style/format, not missing knowledge. Developer Tools: A gateway is overkill when you're pinned to a single provider and model.

### When should I avoid cua?

如果只需要一个支持单一操作系统的桌面自动化框架，则不应选择CUA，因为它的多平台功能可能带来不必要的复杂性 当项目中不能接受某些组件（如Ultralytics）的AGPL-3.0许可证时——CUA的可选依赖项包括这个特定许可的库。

### Is lerobot or cua more popular on GitHub?

lerobot has more GitHub stars (25,714 vs 19,557). Stars measure visibility, not whether either tool fits your constraints.

### Are lerobot and cua open source?

Yes - both are open-source projects on GitHub (lerobot: Apache-2.0, cua: MIT).

### Where can I find alternatives to lerobot or cua?

GraphCanon lists graph-backed alternatives at [lerobot alternatives](/tools/huggingface-lerobot/alternatives) and [cua alternatives](/tools/trycua-cua/alternatives) ([lerobot markdown twin](/tools/huggingface-lerobot/alternatives.md), [cua markdown twin](/tools/trycua-cua/alternatives.md)), ranked by typed relationship edges rather than popularity votes.

### Is there a machine-readable version of this comparison?

Yes. The markdown twin at [this comparison](/compare/huggingface-lerobot-vs-trycua-cua.md) mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.

### Which is better maintained, lerobot or cua?

lerobot: Very active. cua: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.

### Where are the full trust reports for lerobot and cua?

GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: [lerobot trust report](/tools/huggingface-lerobot/trust); [cua trust report](/tools/trycua-cua/trust).

---

**Machine-readable endpoints**

- JSON: [`/api/graphcanon/graph?tool=huggingface-lerobot`](/api/graphcanon/graph?tool=huggingface-lerobot)
- LLM index: [/llms.txt](/llms.txt)
- Full corpus: [/llms-full.txt](/llms-full.txt)

_GraphCanon - The knowledge graph for AI development. https://www.graphcanon.com/_
