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.
- π¦ 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.
- Rust (latest stable)
- Gemini CLI (
npm install -g @google/gemini-cli) - Recommended for easy auth
Download the latest release for your platform from the Releases Page.
macOS / Linux:
- Download the archive for your architecture (
x86_64oraarch64/Apple Silicon). - Extract the binary:
tar xzf leo-*.tar.gz - Move it to your path:
(On macOS, you may need to allow the app in Security settings if unsigned)
sudo mv leo /usr/local/bin/
Windows:
- Download the
.zipfile. - Extract
leo.exe. - Add the folder to your system
PATHor run from PowerShell.
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/leo1. Onboard Initialize your configuration and workspace:
cargo run -- onboard2. Login (Recommended) Use your existing Gemini CLI credentials for seamless authentication:
cargo run -- login3. Chat Start an interactive chat session:
cargo run -- agentOr 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 -- gatewayThe gateway shows a clean single-line log for each message:
β telegram β Leo β β tool_name β telegram β
leo/
βββ src/ # Source code
βββ docs/ # Documentation
βββ tests/ # Integration tests
βββ Cargo.toml # Manifest
This project is licensed under the MIT License.