Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Leo 🦁

Leo Cover

Roaringly fast. Delightfully simple. Pure Rust.

⚠️ Beta Status: Active development. Expect sharp edges! 🦁

Leo is an ultra-lightweight AI Personal Assistant designed to be your own personal companion on any OS and any platform.

Features

  • 🦁 Personal AI: Runs locally or connects to powerful LLMs like Gemini.
  • πŸš€ Ultra-fast: Built in Rust for maximum performance.
  • πŸ” Secure Authentication: Integrated Gemini CLI OAuth support (no loose API keys!).
  • πŸ”Œ Extensible: Modular architecture with support for custom Skills and Tools.
  • πŸ’¬ Multi-Platform: Connects to Telegram, acts as a CLI tool, or runs as a background daemon.
  • 🧠 Intelligent: Persistent memory and context management.
  • πŸ› οΈ Capable: Native tools for file editing, searching (grep), git operations, and web access.
  • πŸ›‘οΈ Robust: Built-in rate limit handling and resilience.
  • ⚑ Fast: Pure Rust implementation.

Quick Start

Prerequisites

  • Rust (latest stable)
  • Gemini CLI (npm install -g @google/gemini-cli) - Recommended for easy auth

Installation

Option 1: Pre-built Binaries (Recommended)

Download the latest release for your platform from the Releases Page.

macOS / Linux:

  1. Download the archive for your architecture (x86_64 or aarch64/Apple Silicon).
  2. Extract the binary:
    tar xzf leo-*.tar.gz
  3. Move it to your path:
    sudo mv leo /usr/local/bin/
    (On macOS, you may need to allow the app in Security settings if unsigned)

Windows:

  1. Download the .zip file.
  2. Extract leo.exe.
  3. Add the folder to your system PATH or run from PowerShell.

Option 2: Build from Source

Clone the repository and build (requires Rust):

git clone https://github.com/HiteshGorana/Leo.git
cd Leo
cargo build --release
# Binary will be in target/release/leo

Usage

1. Onboard Initialize your configuration and workspace:

cargo run -- onboard

2. Login (Recommended) Use your existing Gemini CLI credentials for seamless authentication:

cargo run -- login

3. Chat Start an interactive chat session:

cargo run -- agent

Or send a single message:

cargo run -- agent -m "Write a haiku about Rust"

4. Gateway Start the Telegram gateway (interactive setup on first run):

cargo run -- gateway

The gateway shows a clean single-line log for each message:

β—† telegram β†’ Leo β†’ βš™ tool_name β†’ telegram βœ”

Documentation

Project Structure

leo/
β”œβ”€β”€ src/            # Source code
β”œβ”€β”€ docs/           # Documentation
β”œβ”€β”€ tests/          # Integration tests
└── Cargo.toml      # Manifest

License

This project is licensed under the MIT License.

About

🦁 Roaringly fast, delightfully simple personal AI assistant. Built in pure Rust. Runs locally, connects to Gemini, and powers your terminal + Telegram.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages