Skip to content

Leon

Self-hosted personal AI assistant built on Node.js and Python, with a web app

Permissive (OSI) · MIT AI-native
  • Self-hosted

Listed by , founder & editor

51

Health

Slowing

Overview

Stars

17,711

Last commit

today

Nov 2026

Repository age

7 years

since Feb 2019

Latest version

–

Contributors

–

1 active in 90 days

Releases

0

last 12 months

Language

TypeScript

Leon is a personal AI assistant you run yourself. It is written in TypeScript on Node.js, with Python components, and has been developed since 2019. The author describes the aim as an assistant that learns about you, remembers what matters and helps with everyday tasks.

The current work targets a 2.0 release with a desktop app, which is not out yet. Until then you can run it from source on macOS, Linux or Windows with Node.js 24 or newer and pnpm, then open the new web app locally. The previous pre-agentic version lives on the master branch.

Its design includes a continuous agent loop, tools that run in isolated workers, progressive context loading and multi-layer memory. The interface can render charts and forms inside conversations. Leon is MIT licensed and works as a self-hosted alternative to commercial chat assistants, though it is still a preview.

Who it's for

Developers who want to try a self-hosted AI assistant

You can clone it, run it with pnpm and explore the agent design on your own machine.

Skip if: you need a finished, stable product today.

Privacy-minded tinkerers

It runs on your own hardware instead of a vendor's service.

Skip if: you want a polished installer with an official desktop app.

The problem it solves

Commercial AI assistants keep your conversations and memory on someone else's servers. Leon lets you run an assistant on your own machine and shape how it works.

Strengths

  • MIT licensed and runs on macOS, Linux and Windows
  • Agent loop with tool execution in isolated workers
  • Multi-layer memory and progressive context management
  • Generated charts and forms appear inside conversations

Trade-offs

  • The 2.0 web app is unfinished and the desktop app is unreleased
  • Public docs mostly describe the previous version
  • Needs Node.js 24 or newer and a source install
  • Maintenance is slowing with one recent contributor

Self-host Leon

Self-hostable
Yes

Quick start

git clone https://github.com/leon-ai/leon.git
cd leon
npm install --global pnpm@latest
pnpm install
pnpm start

From the project's own install instructions. Check the docs for production settings.

In the community

Frequently asked questions

Is Leon free?

Yes. It is MIT licensed and free to run.

Can I self-host it?

Yes. You clone the repository and run it on your own machine.

Which platforms are supported?

macOS, Linux and Windows, with Node.js 24 or newer.

Is there a desktop app?

Not yet. It is planned for the first 2.0 alpha.

Similar tools in AI chat interfaces

NextChat

AI chat interfaces

Self-hostable web and desktop chat client for Claude, GPT, Gemini and DeepSeek models

89k 58k 35 days ago Slowing MIT

OpenAssistant

AI chat interfaces

Finished open chat-assistant project whose code and oasst2 dataset remain available

37k 3.3k 3 years ago Dormant Apache-2.0

Khoj

AI chat interfaces

Self-hostable AI assistant that answers from the web and your own documents

38k 2.6k 4 months ago Slowing AGPL-3.0

DeepTutor

AI chat interfaces

Self-hostable AI tutor that builds personalized learning from your documents

62k 7.5k yesterday Active Apache-2.0

LibreChat

AI chat interfaces

Self-hosted ChatGPT-style interface that works with many AI providers, for teams

47k 9.8k 4 days ago Active MIT

Replaces ChatGPTClaudeGrok

astrbot

AI chat interfaces

47k 3.7k today Thriving AGPL-3.0