leon

agent
Guvenlik Denetimi
Uyari
Health Gecti
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 17202 GitHub stars
Code Uyari
  • network request — Outbound network request in app/src/js/built-in-commands/api.js
Permissions Gecti
  • Permissions — No dangerous permissions requested
Purpose
This tool is an open-source, AI-powered personal assistant designed to run locally. It uses dedicated tools, layered memory, and agentic execution to complete practical tasks within your personal computing environment.

Security Assessment
The overall risk is rated as Low. The project does not request inherently dangerous permissions and no hardcoded secrets were detected during the scan. However, a minor warning was raised regarding an outbound network request found in one of its built-in command modules. While this is a standard requirement for an assistant utilizing API capabilities or plugins, users should be aware of potential external connections. It naturally accesses local context and memory to function, meaning it will handle details about your machine and daily workflows.

Quality Assessment
The project exhibits strong signs of health and trustworthiness. It is exceptionally well-received by the community, boasting over 17,000 GitHub stars. Furthermore, it is under active maintenance, with the most recent code push occurring today. The codebase is fully protected by a standard MIT license, making it safe and flexible for integration. Developers should note that the project is currently transitioning through a Developer Preview phase for its 2.0 update.

Verdict
Safe to use, though developers should be aware of the ongoing architectural transition and minor outbound network requests.
SUMMARY

🧠 Leon is your open-source personal assistant.

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 can run in different ways depending on the task: smart mode chooses for you, workflow mode follows a fixed path, and agent mode can plan step by step.
  • Leon can use real tools to get work done instead of only replying with plain text.
  • 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, the core is organized as 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:1337.

🏗️ Architecture Snapshot

At a high level, Leon currently consists of:

  • server/: the main runtime, routing, memory, context management, HTTP API, and agent/workflow execution
  • app/: the web application
  • aurora/: UI components and preview environment
  • skills/: user-facing capabilities built on top of the core
  • 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

Appwrite
250 USD / month
Anonymous
100 USD / month
herbundkraut
10 USD / month
You?

You can also contribute by sponsoring Leon.

Yorumlar (0)

Sonuc bulunamadi