Leon
Your open-source personal AI assistant with local execution and privacy-first design.
- Source repo
- leon-ai/leon
- Stars
- ★ 18k
- Last updated
- today tcp-server_v2.0.0
- FARS reviewed
- Nov 07, 2026
- License
- MIT
- Primary language
- TypeScript
- FA score
- 52/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- 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
- Website
- getleon.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release tcp-server_v2.0.0 (2026-02-19) · pre-release+4.4 ★/day over 7 days
- Source review
- 52/100 · Major gaps
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.
- Privacy-conscious users who want an AI assistant that works locally without sending data to third parties.
- Developers seeking a customizable assistant that can be extended with skills and toolkits.
- Users automating workflows such as search, media processing, or system control, executed by the assistant.
- Users who want the assistant to be context-aware, grounding answers in real machine state or location.
- Contributors interested in joining the 2.0 Developer Preview and shaping the new architecture.
- Users needing both controlled and agent modes for a balance of determinism and adaptability.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install --global pnpm@latest
- Runtime
- Node.js 24.0.0+
- Install notes cover
- Windows · macOS · Linux
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.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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 | 52 · Major gaps | CLIFree + model costs | ★ 18k | today | TypeScript | — |
| MiMoCode | 64 · Some gaps | CLIFreemium | ★ 14k | 3d ago | TypeScript | ChatGPT · Codex · Claude Code |
| CORE Personal AI OS | 40 · Major gaps | CLIFree + model costs | ★ 2k | 5d ago | TypeScript | Codex · Claude Code |
| OpenVoiceUI Voice AI Assistant | 76 · Good | CLIFree + model costs | ★ 88 | today | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README and code describe local and remote models, tools, memory, and browser/desktop operation, but the sample does not adequately establish permission boundaries, data transmission paths, sensitive-data safeguards, or confirmation and rollback for external actions, so most trust criteria score 1. AGENTS.md distinguishes community expectations from MIT legal terms and asks contributors to preserve attribution and copyright, supporting a score of 2 for source attribution; it is primarily contributor guidance and does not establish runtime safety.
The README says the 2.0 core is a Developer Preview and that older public documentation lags, alongside fairly complete installation and architecture descriptions, so self-consistency and dependency availability score 1. The Python bridge prints the skill/action and exception traceback, making failure reporting reasonably clear (2); no execution was performed, so runtime outcomes are not assessed.
The README describes smart, controlled, and agent modes; native and SKILL.md-backed skills; multiple model providers; Linux/macOS/Windows support; and local or remote deployment choices. This supports ordinary audience/scenario coverage, capability boundaries, trigger precision, and environment fit at 2 each. The new documentation is unfinished, and the sample does not detail finer limits or trigger conditions.
The repository is organized into server, skills, bridges, and app areas; the README provides Node.js/pnpm setup, run, and check commands, and discloses preview status, lagging docs, and a small contributor base, supporting scores of 2 on several convention criteria. The full MIT text matches the metadata and earns 3. Getting-started commands are present but examples and FAQ are sparse (1). The beta metadata and branch guidance help, but the sample has no changelog; versioning and maintenance responsibility score 2.
The README describes completing tasks through tools, context, memory, and execution, distinguishes deterministic workflows from agent execution, and lists use areas such as search, productivity, and system utilities; output usability and marginal value score 2. Cost-benefit scores 1 because local/remote providers, Python services, and desktop/browser capabilities add setup complexity while the new architecture documentation is unfinished.
The README points to repository context documents, and the supplied code, dependency manifest, CI build workflow, and test files provide some cross-source support, earning 2 for corroboration. Claim traceability and fact/inference separation score 1: several privacy, capability, and behavior statements are product claims in the supplied sample, without itemized evidence or clear separation of implemented facts from design goals.
- This is a low-confidence static review of the supplied sample; no program or tests were executed. Unprovided files are unknown.
- The README identifies 2.0 as a Developer Preview, says new documentation is unfinished, and warns that older docs may describe the legacy architecture.
- Before deployment, verify tool permissions, what data remote services receive, and confirmation and recovery behavior for desktop, browser, and other external actions.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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?
Is Leon 2.0 stable?
Can I add new skills to Leon?
What are the hardware requirements to run Leon?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.