Leon

Your open-source personal AI assistant with local execution and privacy-first design.

Source repo
leon-ai/leon
Stars
★ 18k
Last updated
6d ago
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLISelf-hosted serviceWeb app
Works with
Universal · cross-platform
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.js >= 24.0.0pnpmShell / CLINetwork accessLocal filesystem
Typical use
Privacy-conscious users who want an AI assistant that works locally without sending data to third parties.
Not a fit if
  • Teams needing a stable, well-documented production system
  • Users unable to run Node.js 24 or newer
  • Users wanting a turnkey setup with no model or service configuration

What does this agent do, and when should you use it?

Leon is an open-source personal AI assistant centered on tools, context, memory, and agentic execution. Originally released in 2019, it is currently being rebuilt for a 2.0 release, transforming into a more capable system. Leon supports three execution modes: smart, controlled, and agent. It can be extended with native skills and agent skills (SKILL.md), and it uses real tools to complete tasks. Leon maintains layered memory to remember preferences and recent context. It supports both local and remote AI providers, balancing privacy and capability. The 2.0 Developer Preview is on the develop branch, while the legacy stable version is on master.

Leon runs a server (server/) that handles routing, memory, context management, HTTP API, and agent/controlled execution. It includes a web app (app/), a UI component library (aurora/), native and agent skills (skills/), bridges (bridges/) connecting Node.js and Python tools, and a TCP server (tcp_server/) for Python services. To use it, run pnpm start and access http://localhost:5366. Leon can execute tasks like searching, productivity, system utilities, media workflows, coding assistance, and voice features. Its architecture follows 'Skills -> Actions -> Tools -> Functions (-> Binaries)', allowing modular extension.

  1. Privacy-conscious users who want an AI assistant that works locally without sending data to third parties.
  2. Developers seeking a customizable assistant that can be extended with skills and toolkits.
  3. Users automating workflows such as search, media processing, or system control, executed by the assistant.
  4. Users who want the assistant to be context-aware, grounding answers in real machine state or location.
  5. Contributors interested in joining the 2.0 Developer Preview and shaping the new architecture.
  6. Users needing both controlled and agent modes for a balance of determinism and adaptability.

How do you install or deploy this agent?

Prerequisites: Node.js >= 24.0.0, and Linux, macOS, or Windows. Recommended to use Volta for Node.js management. Clone: git clone https://github.com/leon-ai/leon.git, then cd leon. Install pnpm: npm install --global pnpm@latest. Install dependencies: pnpm install.

How do you use this agent?

Start Leon with pnpm start. Verify setup with pnpm run check. Access the app at http://localhost:5366. For the 2.0 preview, switch to the develop branch and refer to core/context/LEON.md and core/context/ARCHITECTURE.md for current behavior.

What are this agent's strengths and limitations?

Pros
  • Supports local AI models, emphasizing privacy and reducing reliance on third-party services.
  • Built on 'tools, context, memory, and agentic execution,' more capable than classic intent-based assistants.
  • Offers three execution modes (smart, controlled, agent) for flexibility.
  • Modular design: skills, toolkits, bridges, and binaries allow easy extension.
Limitations
  • 2.0 is under active development; documentation is incomplete and lags behind the code.
  • Requires Node.js >= 24.0.0, which may be an adoption barrier.
  • Small contributor base and development largely by the author in spare time may lead to uneven progress.
  • If using remote AI providers, there may be cost or privacy trade-offs.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Leon This agent 43 · Major gaps CLIFree + model costs ★ 18k 6d ago TypeScript —
MiMoCode 50 · Major gaps CLIFreemium ★ 14k today TypeScript ChatGPT · Codex · Claude Code
CORE Personal AI OS 44 · Major gaps CLIFree + model costs ★ 2k 1mo ago TypeScript Codex · Claude Code
Compartment 76 · Good CLIFree ★ 583 1d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
43/ 100 5-point scale 2.2 / 5
Trust 8/29
Reliability 6/14
Adaptability 10/18
Convention 10/18
Effectiveness 6/13
Verifiability 3/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

Evidence shows: project emphasizes privacy and local operation, but lacks specific implementation details for least privilege; user confirmation mechanisms exist (e.g., interactive installation), but not all external actions require confirmation; data flow transparency is limited; sensitive data handling is not explicit; many dependencies but no security audit; external effects (e.g., shell execution) exist but not clearly restricted; rollback mechanism not mentioned; source attribution is clear (author Louis Grenard). Deductions: lack of concrete implementation evidence, mostly assertions.

Reliability6 / 14 · 2.1/5

Evidence shows: clear project structure, README consistent with code; many dependencies but no availability guarantee; failure messages not detailed. Deductions: dependency availability unverified, failure handling unclear.

Adaptability10 / 18 · 2.8/5

Evidence shows: targeted at developers, supports multiple scenarios; capability boundaries described (e.g., skills, tools); trigger precision not explicit; environment fit documented (multi-OS support). Deductions: trigger precision and scenario details insufficient.

Convention10 / 18 · 2.8/5

Evidence shows: clear information architecture (directory structure); detailed installation notes; naming stability (version numbers); limited examples and FAQ; known limitations stated (docs not ready); license clear (MIT); versioning exists but changelog not provided; maintenance responsibility clear (author). Deductions: insufficient examples and FAQ, missing changelog.

Effectiveness6 / 13 · 2.3/5

Evidence shows: output usability not explicit; high marginal value (open source, privacy); cost-benefit not assessed. Deductions: lack of concrete output examples and cost analysis.

Verifiability3 / 8 · 1.9/5

Evidence shows: claims traceable (README); limited cross-source verification; facts and inferences not clearly separated. Deductions: lack of independent verification and clear separation.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Project is in 2.0 Developer Preview, documentation incomplete, use with caution.
  • Many dependencies without security audit, recommend self-review.
  • External operations (e.g., shell execution) not clearly restricted, pay attention to permission control.
Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision ed5cfc5b9ccb New commits since this review; the score may not cover them
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. tcp-server_v2.0.0 TCP Server 2.0.0 Pre-release
    Release notes excerpt
    *Leon's TCP server to communicate between the core and third-party nodes.*
    View on GitHub ↗

FAQ

Does Leon need an internet connection to run?
No, it can run offline with local models, but certain remote providers may require network access depending on configuration.
Is Leon 2.0 stable?
No, 2.0 is a developer preview and still in active development. For a stable version, use the master branch.
Can I add new skills to Leon?
Yes, Leon is extensible via toolkits, bridges, and binaries. The documentation is not ready yet, but the 2.0 preview provides the scaffolding.
What are the hardware requirements to run Leon?
The official documentation does not specify hardware requirements, but it requires at least Node.js 24 runtime.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents