Lesh is an advanced, autonomous AI coding agent designed to run primarily locally, ensuring total privacy and control over your data. With its powerful self-updating mechanism and elegant Material Design 3 interface, Lesh streamlines your coding workflow and acts as your personalized AI pair programmer.
- 🌍 Bilingual Support (EN / TR): Easily switch between English and Turkish UI from the top menu.
- 💬 Persistent Chat Sessions: Your past chat sessions are automatically saved in the
.lesh/sessions/directory. You can easily access, review, and continue from any past chat using the sidebar. - ⚡ Auto-Updating System: On every startup, Lesh checks for a new version via the GitHub API, downloads the zip payload silently, replaces the old files, and restarts itself without any manual intervention.
- 🤖 Multi-LLM Capabilities:
- Local (Ollama): True privacy. Supports
qwen2.5-coder,deepseek-r1and more. - Cloud Providers: Seamlessly switch to GitHub Models, Google AI Studio (Gemini), or Groq Cloud via PATs/API keys to access state-of-the-art models like
gpt-4o,gemini-2.0-flash, andllama-3.3-70b.
- Local (Ollama): True privacy. Supports
- 📁 Workspace Management: Bind a folder to the agent. It will read files, execute commands, run code, and seamlessly git commit & push its own autonomous changes.
- 📦 One-Dir Architecture: Packaged as a single directory executable (
--onedir), keeping it completely open-source and transparent for you to inspect and modify.
- Download the latest
lesh-agent.zip(Lesh Agent) from the Releases tab. - Extract the folder to a desired location on your computer.
- Run
lesh-agent.exe. - Click Select Workspace to bind a project folder.
- (Optional) Enter your API tokens for cloud providers or select
Yerel (Ollama)to run completely locally. - Start coding!
If you want to run the python code directly or build the application yourself:
git clone https://github.com/Xbygone/lesh-agent.git
cd lesh-agent
pip install -r requirements.txt
python main.pyTo create a new release executable and push it to GitHub:
python release.py 1.0.4 YOUR_GITHUB_PATThis will increment the internal version, build with PyInstaller, zip the dist folder, and upload the payload directly to GitHub releases.
Open Source. Developed with 💙 by the Lesh Community.
