leon

leon-aiMIT活跃维护

开源的个人 AI 助手,可本地离线运行,通过语音或文字对话帮你处理日程、查询信息、执行自动化任务。

🧠 Leon is your open-source personal assistant.

tcp-server_v2.0.0发布于 2026-02-19 09:08 UTC17,654star +7 / 7 天1,480fork同步于 2026-11-10 11:24 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/leon-ai/leon.git
cd leon
npm install --global pnpm@latest
pnpm install
pnpm start
硬件要求按 README 说明

README 未说明显存或 GPU 要求;支持 Linux、macOS、Windows,需 Node.js >= 24.0.0

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

开源个人 AI 助手,围绕工具、上下文、记忆与智能体执行完成任务

开源的个人 AI 助手,可本地离线运行,通过语音或文字对话帮你处理日程、查询信息、执行自动化任务。

核心能力

  • 提供 smart、controlled、agent 三种执行模式
  • 用原生技能与 SKILL.md 智能体技能编排工作流
  • 分层记忆保存长期偏好与近期对话上下文
  • 支持本地与远程 AI 提供商以兼顾隐私
  • 可操作桌面与浏览器界面并校验视觉结果

容易踩的坑

默认使用 develop 分支的 2.0 Developer Preview,文档尚未就绪,求稳定需切到 master 分支;需 Node.js 24 及以上版本,建议用 Volta 管理;默认服务跑在 http://localhost:5366,新 Web 应用在 /web-app/ 路径下

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本tcp-server_v2.0.0
  1. tcp-server_v2.0.0TCP Server 2.0.0pre-release最新正式版2026-02-19 · 2026-02-19 09:08 UTC

    Leon's TCP server to communicate between the core and third-party nodes.

  2. nodejs-bridge_v1.3.0Node.js Bridge 1.3.0pre-release2026-02-19 · 2026-02-19 08:39 UTC
    查看更新说明

    Leon's Node.js bridge to communicate between the core and skills made with JavaScript.

  3. python-bridge_v1.4.0Python Bridge 1.4.0pre-release2026-02-19 · 2026-02-19 08:36 UTC
    查看更新说明

    Leon's Python bridge to communicate between the core and skills made with Python.

  4. nodejs-bridge_v1.2.0Node.js Bridge 1.2.0pre-release2024-05-08 · 2024-05-08 17:04 UTC
    查看更新说明

    Leon's Node.js bridge to communicate between the core and skills made with JavaScript.

  5. python-bridge_v1.3.0Python Bridge 1.3.0pre-release2024-05-08 · 2024-05-08 16:59 UTC
    查看更新说明

    Leon's Python bridge to communicate between the core and skills made with Python. Windows is not supported for this version.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Your open-source personal AI assistant.


    ⚠️ 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 can run in different ways depending on the task: smart mode chooses for you, controlled mode follows deterministic native skills and actions, and agent mode can plan step by step.
    • Leon supports native skills for controlled actions and agent skills for SKILL.md-backed workflows.
    • Leon can use real tools to get work done instead of only replying with plain text.
    • Leon includes advanced, progressively loaded computer use that can operate desktop and browser interfaces, verify visual outcomes, and run locally or through Satellite without exposing its full tool surface to unrelated turns.
    • Leon can use context about your environment so answers stay grounded in what is actually happening on your machine and setup.
    • Leon keeps layered memory so it can remember durable preferences, day-to-day context, and recent discussion context.
    • Leon supports both local and remote AI providers, which helps balance privacy, control, and capability.
    • Under the hood, Leon-native skills follow Skills -> Actions -> Tools -> Functions (-> Binaries).

    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?

    • Privacy matters: Leon can work with local models and local context instead of forcing everything through third-party services.
    • Grounded behavior matters: Leon prefers explicit tools, context, and memory over vague model-only responses.
    • Extensibility matters: skills, toolkits, bridges, and binaries make it possible to keep Leon modular.
    • Open source matters: anyone can inspect the architecture, build on top of it, and help shape where it goes next.

    🚀 Getting Started

    Prerequisites

    • Node.js >= 24.0.0
    • Supported OSes: Linux, macOS, and Windows

    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.

    The new web app is available at /web-app/ on the same server; the legacy app remains at /.

    🏗️ Architecture Snapshot

    At a high level, Leon currently consists of:

    • server/: the main runtime, routing, memory, context management, HTTP API, and agent/controlled execution
    • apps/web-legacy/: the legacy web application, served at /
    • apps/web/: the new web application, served at /web-app/
    • aurora/: UI components and preview environment
    • skills/: built-in capabilities, split between native/ skills and agent/ skills
    • bridges/: Node.js and Python bridges plus toolkit definitions and tool runtimes
    • tcp_server/: Python services used by parts of the runtime stack
    • core/context/: generated identity and architecture context documents that describe Leon's current behavior

    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:

    • treat this repository as the source of truth for the 2.0 Developer Preview
    • use core/context/LEON.md for Leon's current identity and behavior
    • use core/context/ARCHITECTURE.md for the current architecture overview
    • expect the public docs site to lag behind the new core until the updated documentation is published

    ❤️ 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-ossjb.gg/OpenSourcemacstadium.com/company/opensource