# Leon

> Your open-source personal AI assistant, grounded in tools, context, and memory

- Category: Agents & Automation / Assistants & Chatbots
- Language: TypeScript
- Licence: MIT
- Repository: https://github.com/leon-ai/leon
- Website: https://getleon.ai
- Canonical page: https://ai-tldr.dev/tools/leon/

## In short

Leon is an open-source personal AI assistant that goes beyond plain chat. Instead of only replying with text, it uses real tools, keeps memory of useful information, and can plan and execute tasks from start to finish. It sits in the Assistants & Chatbots category of the Agents & Automation tools and is open-source, written in TypeScript and licensed MIT.

## Overview

Leon is an open-source personal AI assistant that goes beyond plain chat. Instead of only replying with text, it uses real tools, keeps memory of useful information, and can plan and execute tasks from start to finish.

Leon first launched in 2019 as a classic intent-classification assistant and is now being rebuilt into a more capable, agent-style system. It runs locally by default, can work with local models for privacy, and supports both local and remote AI providers so you can balance control and capability.

The project is currently focused on its 2.0 Developer Preview on the develop branch. A more stable, pre-agentic version still lives on the master branch for people who want the legacy experience.

## What it does

- Three run modes: smart mode picks the approach for you, controlled mode follows deterministic native skills, and agent mode plans step by step
- Native skills for controlled actions plus agent skills backed by SKILL.md workflows
- Real tools so Leon can get work done instead of guessing in free-form text
- Layered memory that holds durable preferences, day-to-day context, and recent discussion
- Environment context so answers stay grounded in what is actually happening on your machine
- Support for both local and remote AI providers to balance privacy, control, and capability

## Getting started

Leon needs Node.js 24 or newer and runs on Linux, macOS, and Windows. You clone the repo, install dependencies with pnpm, then start it locally.

1. Clone the repository

   Clone Leon from GitHub and move into the project root.

```sh
git clone https://github.com/leon-ai/leon.git
cd leon
```

2. Install dependencies

   Install pnpm globally, then install the project dependencies.

```sh
npm install --global pnpm@latest
pnpm install
```

3. Run Leon

   Start Leon. By default it runs locally and the app is available at http://localhost:5366.

```sh
pnpm start
```

4. Check your setup

   Run the check command to confirm the setup went well.

```sh
pnpm run check
```

## When to use it

- Running a private, self-hosted personal assistant that can use local models and local context instead of sending everything to third-party services
- Completing multi-step tasks through agent-style planning, native skills, and real tools rather than text-only answers
- Building and extending a modular assistant with custom skills, toolkits, and bridges across search, productivity, system utilities, coding, and voice
