leon README

The project's README from github.com/leon-ai/leon. As one markdown file: README.md.

Leon
Leon

Your open-source personal AI assistant.

I share Leon progress most regularly on X / @grenlouis

Follow progress on X / @grenlouis · Website · Newsletter · Roadmap · Story


⚠️ Important Notice (as of 2026-03-29)

[!IMPORTANT] Leon is currently focused on the 2.0 Developer Preview on the develop branch.

  • The new documentation is not ready yet.
  • The current docs site and older guides mostly reflect the legacy architecture.
  • If you want the legacy, more stable pre-agentic version of Leon, use the master branch.
  • If you want to explore or contribute to Leon's new core, develop is the right place.

The most accurate high-level references for Leon's current state are:

👋 Introduction

Leon is your open-source personal AI assistant built around tools, context, memory, and agentic execution.

Leon is designed to stay practical, privacy-aware, and grounded in your real environment. It can operate locally, use dedicated tools instead of relying on free-form guessing, and complete tasks from start to finish across deterministic workflows and agent-style execution.

🧠 What Leon Is Today

Leon is no longer just a classic intent-classification assistant like it was for its first release in 2019.

Today, Leon is being built as a more capable assistant that can understand a goal, choose how to handle it, use tools, remember useful information, and recover when something goes wrong.

Leon also keeps a compact self-model and a bounded proactive pulse system so it can stay more consistent over time without flooding itself with unnecessary context.

Why?

🚀 Getting Started

Prerequisites

Recommended: manage Node.js with Volta.

Installation

# 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

# Run Leon
pnpm start

Check Your Setup

# Check the setup went well
pnpm run check

By default, Leon runs locally and the app is available on http://localhost:5366.

🏗️ Architecture Snapshot

At a high level, Leon currently consists of:

This repository already includes skills and toolkits for areas such as search, productivity, system utilities, media workflows, coding assistance, memory-backed interactions, and voice/audio features.

📚 Documentation Status

The new docs for Leon 2.0 are not ready yet.

For now:

❤️ Contributing

We are starting to progressively onboard contributors for the 2.0 Developer Preview.

If you want to follow the project or express interest in joining that onboarding:

Why is there a small amount of contributors?

Leon has been evolving for a long time, but the current 2.0 work is a major transition period.

For a long time, Leon was a smaller assistant project with a simpler architecture. Today, the core is being rebuilt into a much more capable system around tools, memory, context, and agent-style execution. That means a lot of things are still moving, and it makes contribution harder than it will be once the new docs and architecture settle down.

Another important reason is simply time: Leon is still developed largely during spare time. So progress can be uneven, and opening the project more broadly has to be balanced with keeping the direction coherent while the 2.0 Developer Preview is still taking shape.

📖 The Story Behind Leon

Leon started in 2017 and has been active since 2019. If you want the longer backstory, read the story behind Leon.

🔔 Stay Tuned

👨 Author

Louis Grenard (@grenlouis)

👍 Sponsors

You can also contribute by sponsoring Leon.

Thanks

OpenAI logo.OpenAI logo. JetBrains logo.JetBrains logo. MacStadium logo.MacStadium logo.
openai.com/form/codex-for-oss jb.gg/OpenSource macstadium.com/company/opensource

leon (leon-ai/leon)

Searching Database…

17.6K ·GitHub
这是什么?Leon 是一个开源的个人 AI 助手,在本地运行,围绕工具、上下文、记忆和智能体式执行来构建——它能理解目标、调用真实的工具,并把任务从头到尾完成。
它是网页应用、桌面程序,还是需要我自己部署的东西?它是一套自托管的应用:一个 Node.js 服务器(运行时、记忆、HTTP API),加上一个在浏览器里打开的网页应用,运行时中还有一部分 Python 服务。
我怎么把它跑起来?安装 Node.js 24 或更新的版本(推荐用 Volta),克隆仓库,然后运行 Leon —— 默认一切都在本地运行,你通过网页应用来使用它。
除了 Node.js 之外我还需要什么?Node.js >= 24 是核心要求,但技术栈有一部分是 Python(桥接层和一些服务)。你还需要选择一个 AI 提供商——本地或远程均可;OpenAI、Anthropic、Groq、Cerebras 等都已经接入。
当前版本稳定到可以放心依赖吗?还不行——Leon 目前是 develop 分支上的 2.0 开发者预览版,新文档也尚未就绪。如果你想要更稳定的智能体化之前的旧版本,请使用 master 分支。
所有数据都会经过云端,还是可以只留在我自己的电脑上?隐私是明确的设计目标:Leon 可以使用本地模型和本地上下文,而不是强迫所有数据都经过第三方服务,同时远程提供商也仍然是一个选项。
开箱即用它到底能做什么?这个仓库已经内置了搜索、效率、系统工具、媒体处理、编程辅助、基于记忆的交互以及语音/音频等方向的技能(skills)和工具包(toolkit)。原生技能(native skills)负责受控操作,智能体技能(agent skills)则按照 SKILL.md 中定义的工作流执行。
它是怎么决定做什么的——只是聊天回复吗?有三种模式:智能模式(smart mode)替你做选择,受控模式(controlled mode)严格按照确定性的原生技能和动作执行,智能体模式(agent mode)可以一步步规划。Leon 使用真实的工具,而不只是回复纯文本。
它能控制我的电脑和浏览器吗?可以——它带有按需加载的计算机使用(computer use)能力,可以操作桌面和浏览器界面并核验视觉效果,既能在本地运行,也能通过 Satellite 运行,而且不会把完整的工具面暴露给无关的对话轮次。
为什么要做一个开源助手,而不是直接用大厂的产品?README 列出了四个理由:隐私(本地模型优先于第三方服务)、行为有据可依(工具、上下文和记忆,而不是模型含糊其辞的回答)、可扩展性(技能、工具包、桥接、二进制程序),以及开源。
Creator
leon-ai
Size
38.6 MB
Stars
17.6K
Updated
CommitOct 12
Age
7y
Commits · 90 Days