← Back to Leaderboard
Lleon-ai

leon-ai/leon

Self-hosted personal AI assistant with a tool-executing agent loop and profile memory

Engineering Health (Methodology)
A · 87/100
Maintenance Activity
● Updated today
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption21/25
Release Cadence11/20
License Clarity20/20
Self-Hosted
Total Stars
★ 17,743
24h Growth
+4
7d Growth
+28
Forks
1,492

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

leon-ai/leon Star History (2020-01-12 - 2026-12-01) ALL-TIME STAR HISTORY (2020-01 – 2026-12) +12.1k in 2515d · avg +5/day 18.4k 11.2k 4k 2020-01-12: ★ 5,6452020-06-13: ★ 6,3952020-11-14: ★ 6,6982021-04-17: ★ 6,9912021-09-18: ★ 7,4342022-02-19: ★ 8,0512022-07-23: ★ 8,4482022-12-24: ★ 11,0732023-05-27: ★ 12,2192023-10-28: ★ 13,1582024-03-30: ★ 13,9712024-08-31: ★ 14,7612025-02-01: ★ 15,4602025-07-05: ★ 16,1242025-12-06: ★ 16,5762026-05-09: ★ 17,0712026-12-01: ★ 17,743 ★ 17.7k 2020-01 2023-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Leon is a TypeScript and Node.js pnpm workspace with separate core/, server/, apps/, skills/, and tools/ areas. Its continuous agent loop loads relevant context and function-level tool guidance as needed, executes tools, and uses their results to decide what to do next. Independent calls can run concurrently in isolated workers. Large outputs are kept as artifacts rather than carried in full through subsequent model turns.

Native skills define explicit actions; agent skills guide tasks whose next steps depend on intermediate results. Both use the same tool system, where tools declare functions, settings, dependencies, and binaries. JavaScript and Python skills connect to the core through their respective bridges, and tcp_server/ provides communication with third-party nodes. The manifest also includes @modelcontextprotocol/client and @fastify/static, evidence of MCP client and static-serving dependencies, not of a public MCP server.

Key Capabilities & Differentiators

Leon separates temporary context from persistent facts and preferences, daily summaries, and recent discussions, with memory scoped to each profile. It retrieves relevant records and can revisit original conversations for exact details. The Aurora component library gives the web preview a way to present interactive charts and forms in a conversation, so the assistant can return more than a text summary.

The manifest includes AI SDK adapters for OpenAI and OpenAI-compatible endpoints, Anthropic, DeepSeek, Groq, and other providers, plus OpenRouter and Hugging Face inference packages. This is evidence of multiple integration paths, not a compatibility matrix for every model or a guarantee of offline operation. The project publishes results for selected WildClawBench and PinchBench tasks; those results are more useful for inspecting task-specific behavior than for predicting latency, cost, or reliability on your own workloads.

Trade-offs & Limitations

Compared with flow-based automation, Leon can adapt to intermediate results and reuse personal context without requiring every branch to be specified in advance. That flexibility also makes execution less predictable. Prefer native skills for routines that need explicit steps, and leave the agent loop for tasks where the right action depends on what it finds. Unlike a managed assistant, Leon lets you operate the application and choose integrations, but leaves runtime upgrades, tool dependencies, and access controls to you.

Worker isolation helps separate tool execution, but the available details do not establish a security boundary suitable for untrusted tools or tenants. Review tool permissions, network access, and provider data handling before connecting sensitive accounts. The unfinished interface and version split also make this a better candidate for a personal pilot than for a critical workflow that depends on stable deployment and upgrade procedures.

Hardware & Deployment Guide

Run the source preview on macOS, Linux, or Windows with Node.js 24 or later and pnpm. In the checkout, run pnpm install, follow the setup prompts, then run pnpm start. The preview is at http://localhost:5366/web-app/, the legacy interface is at /, and pnpm run check checks the setup. For a provider-backed setup, budget separately for remote inference and local tool work. For an offline requirement, verify the model and every tool in the workflow without network access before adopting it.

develop is the line for the new agent and web preview; master is the previous, pre-agentic version. The first 2.0 desktop alpha has not shipped, and older guides mostly cover the previous version. The February 19, 2026 tags tcp-server_v2.0.0, nodejs-bridge_v1.3.0, and python-bridge_v1.4.0 are component milestones, not a Leon 2.0 application release.

Agent runtime: A continuous loop uses tool results to select the next step, check outcomes, and recover from failures.
Context budget: Guidance loads down to the needed tool function, large outputs stay in artifacts, and older exchanges can be compacted.
Memory scope: Profiles separate persistent facts and preferences, daily summaries, and recent discussions; retrieval can consult original conversations.
Skill execution: Native and agent skills share the tool system, and independent tool calls can run concurrently in isolated workers.
Integration surface: JavaScript and Python skill bridges, a TCP service for third-party nodes, and an MCP client dependency.
Conversation UI: The local web preview uses Aurora components for interactive charts, forms, and visual responses.
Best For

Developers and technically comfortable users piloting a self-hosted personal assistant that remembers preferences, runs custom skills, and presents interactive results in chat.

Skip If

You need a released desktop app, a verified fully offline stack with no integration work, or a production-ready service with predictable execution and upgrades.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodologyReport inaccuracy

Quick Start & Installation

Self-Hosted
# Clone the repository
git clone https://github.com/leon-ai/leon.git

# Go to the project root
cd leon

# Install pnpm
npm install --global pnpm@latest

# Install dependencies
pnpm install

# Run Leon
pnpm start

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
leon ★17.7k+28TypeScriptMITSelf-hosted personal AI assistant with a tool-executing agent loop and profile m
lobehub86.3k+228TypeScript—A self-hostable agent workspace for team tasks, shared context, and MCP tools
dify162.2k+388Python—Visual workflow and RAG workspace for building and serving LLM apps
nod5.8k+2.4kTypeScriptApache-2.0A self-hosted agent with a private browser for approval-gated web and app tasks

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/leon-ai/leon.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

leon-ai/leon Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about leon

How do I choose a skill type and connect it to Leon?

Use a native skill when the workflow should follow explicit actions, and an agent skill when the runtime should choose its next step based on tool results. Both share the same tool system. The Node.js bridge connects the core to JavaScript skills, the Python bridge connects it to Python skills, and the TCP server connects the core to third-party nodes.

Do I need a GPU, and how should I size the host?

No fixed GPU or VRAM requirement is specified. With a hosted model, inference runs with the provider; size the local machine for the Node.js service, web app, concurrent workers, and any binaries your tools invoke. If you add a compatible local inference backend, size it separately for the model, context length, and concurrency, and measure peak memory with your actual workload.

Can I use Leon commercially, and what does self-hosting cover?

Leon's MIT license permits commercial use and self-hosting. Retain the copyright and license notices when distributing copies or substantial portions of the software. Review the terms of model providers, dependencies, and bundled tools separately. Self-hosting the application does not by itself keep data on the host if a configured model or tool sends it elsewhere.

When should I choose Leon over a flow-based automation platform or a managed assistant?

Choose Leon if you want a personal assistant that can retrieve past context, work through changing tool results, and display interactive answers. Choose a flow-based automation platform if explicit triggers, fixed branches, and predictable replay matter more than conversational flexibility. A managed assistant is a better fit if you want to avoid running and upgrading the application yourself.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining leon-ai/leon? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature leon-ai/leon on Homepage & Alternatives ($19)
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