1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-11 09:12:40 +03:00
🧠 Leon is your open-source personal assistant.
Go to file
2024-06-24 08:28:32 +08:00
.github BREAKING: upgrade from Python 3.9 to Python 3.11 2024-06-23 23:29:09 +08:00
.husky chore: update dependencies + usage of tsx instead of ts-node 2023-11-15 01:10:06 +01:00
app fix(web app): dynamic init states 2024-06-17 08:33:36 +08:00
bin chore: remove DeepSpeech binary folder; add Coqui binary folder to gitignore 2022-01-31 14:11:48 +08:00
bridges BREAKING: upgrade from Python 3.9 to Python 3.11 2024-06-23 23:29:09 +08:00
core fix: whitelist config.json for the TTS model 2024-06-23 17:24:38 +08:00
hotword refactor: from superagent to axios 2022-10-23 10:55:03 +08:00
logs chore: init 2019-02-10 20:26:50 +08:00
scripts refactor(scripts): differentiate PyTorch info log on macOS 2024-06-24 08:28:32 +08:00
server/src fix(server): sometimes the action recognition LLM duty add whitespace to intent 2024-06-23 23:36:11 +08:00
skills feat: support default conversations powered by LLM with action-first in mind 2024-05-27 18:54:54 +08:00
tcp_server BREAKING: upgrade from Python 3.9 to Python 3.11 2024-06-23 23:29:09 +08:00
test refactor(server): HTTP server; brain entries; STT parsers; TTS synthesizers (WIP) 2023-02-03 00:14:23 +08:00
.changelogrc chore: init 2019-02-10 20:26:50 +08:00
.editorconfig fix(bridge/python): inconsistent indentation TabError 2023-05-20 19:49:07 +02:00
.env.sample BREAKING: upgrade from Python 3.9 to Python 3.11 2024-06-23 23:29:09 +08:00
.eslintrc.json feat: support default conversations powered by LLM with action-first in mind 2024-05-27 18:54:54 +08:00
.gitignore fix: whitelist config.json for the TTS model 2024-06-23 17:24:38 +08:00
.gitpod.yml chore: improve Gitpod usage (using current source code) (#398) 2022-07-30 17:20:40 +08:00
.lintstagedrc feat: lint-staged config 2022-09-03 20:56:15 +08:00
.npmrc chore: add save-exact npm option to install exact packages version 2023-02-11 19:35:15 +08:00
.nvmrc chore: create .nvmrc with latest LTS version 2021-03-28 13:21:32 +08:00
.prettierrc.json feat: basic Prettier setup 2022-09-03 18:37:56 +08:00
CHANGELOG.md build: release 1.0.0-beta.8 2023-05-01 10:09:29 +08:00
jsconfig.json chore: use jsconfig instead of IDE config 2022-01-25 20:20:49 +08:00
LICENSE.md chore: change email address 2022-08-23 23:01:46 +08:00
nodemon.json chore: upgrade nodemon to 3.1.0 and minor improvements 2024-05-23 13:46:21 +08:00
package.json BREAKING: upgrade from Python 3.9 to Python 3.11 2024-06-23 23:29:09 +08:00
README.md feat(python tcp server): empty cache on MPS PyTorch backend for TTS 2024-06-19 08:59:20 +08:00
tsconfig.json chore: update dependencies + usage of tsx instead of ts-node 2023-11-15 01:10:06 +01:00

Leon
Leon

Your open-source personal assistant.



Website :: Documentation :: Roadmap :: Contributing :: Story


Important Notice (as of 2024-06-18)

Important

Due to all the new major changes coming to Leon AI, the development branch might be unstable. It is recommended to use the older version under the master branch.

Please note that older versions do not make use of any foundation model, which will be introduced in upcoming versions.

Outdated Documentation

Please note that the documentation and this README are not up to date. We've made significant changes to Leon over the past few months, including the introduction of new TTS and ASR engines, and a hybrid approach that balances LLM, simple classification, and multiple NLP techniques to achieve optimal speed, customization, and accuracy. We'll update the documentation for the official release.

Project History and Future Plans

Since its inception in 2017, Leon has undergone significant transformations. Although we've been inconsistent in shipping updates over the years, we're now focused on maturing the project. With the recent integration of transformers-based models, we're prepared to unlock Leon's full potential.

Our next step is to finalize the latest features for the official release. Then we'll be establishing a group of active contributors to work together, develop new skills, and share them with the community. A skill registry platform will be built (see it as the npm or pip registry but for skills).

Get Involved

Join us on Discord to ask questions, or express interest in becoming an active contributor.


Why is there a small amount of contributors?

I'm taking a lot of time to work on the new core of Leon due to personal reasons. I can only work on it during my spare time. Hence, I'm blocking any contribution as the whole core of Leon is coming with many breaking changes. Many of you are willing to contribute in Leon (create new skills, help to improve the core, translations and so on...), a big thanks to every one of you!

While I would love to devote more time to Leon, I'm currently unable to do so because I have bills to pay. I have some ideas about how to monetize Leon in the future (Leon's core will always remain open source), but before to get there there is still a long way to go.

Until then, any financial support by sponsoring Leon is much appreciated 🙂


Latest Release

Check out the latest release blog post.


👋 Introduction

Leon is an open-source personal assistant who can live on your server.

He does stuff when you ask him to.

You can talk to him and he can talk to you. You can also text him and he can also text you. If you want to, Leon can communicate with you by being offline to protect your privacy.

Why?

  1. If you are a developer (or not), you may want to build many things that could help in your daily life. Instead of building a dedicated project for each of those ideas, Leon can help you with his Skills structure.
  2. With this generic structure, everyone can create their own skills and share them with others. Therefore there is only one core (to rule them all).
  3. Leon uses AI concepts, which is cool.
  4. Privacy matters, you can configure Leon to talk with him offline. You can already text with him without any third party services.
  5. Open source is great.

What is this repository for?

This repository contains the following nodes of Leon:

  • The server
  • Skills
  • The web app
  • The hotword node
  • The TCP server (for inter-process communication between Leon and third-party nodes such as spaCy)
  • The Python bridge (the connector between the core and skills made with Python)

What is Leon able to do?

Today, the most interesting part is about his core and the way he can scale up. He is pretty young but can easily scale to have new features (skills). You can find what he is able to do by browsing the skills list.
Please do know that after the official release, we will build many skills along with the community. Feel free to join us on Discord to be part of the journey.

Sounds good to you? Then let's get started!

☁️ Try with a Single-Click

Gitpod will automatically set up an environment and run an instance for you.

Open in Gitpod

🚀 Getting Started

Prerequisites

  • Node.js >= 16
  • npm >= 8
  • Supported OSes: Linux, macOS and Windows

To install these prerequisites, you can follow the How To section of the documentation.

Installation

# Install the Leon CLI
npm install --global @leon-ai/cli

# Install Leon (stable branch)
leon create birth
# OR install from the develop branch: leon create birth --develop

Usage

# Check the setup went well
leon check

# Run
leon start

# Go to http://localhost:1337
# Hooray! Leon is running

📚 Documentation

For full documentation, visit docs.getleon.ai.

📺 Video

Watch a demo.

🧭 Roadmap

To know what is going on, follow roadmap.getleon.ai.

❤️ Contributing

If you have an idea for improving Leon, do not hesitate.

Leon needs open source to live, the more skills he has, the more skillful he becomes.

📖 The Story Behind Leon

You'll find a write-up on this blog post.

🔔 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.

Please note that I dedicate most of my free time to Leon.

By sponsoring the project you make the project sustainable and faster to develop features.

The focus is not only limited to the activity you see on GitHub but also a lot of thinking about the direction of the project. Which is naturally related to the overall design, architecture, vision, learning process and so on...

Special Thanks

Vercel       MacStadium       AOZ Studio

📝 License

MIT License

Copyright (c) 2019-present, Louis Grenard louis@getleon.ai

Cheers!

Cheers!