Welcome to Plexir! This guide will help you get up and running with your new AI-powered terminal workspace.
Before installing Plexir, ensure you have the following:
- Python 3.10+: The core application logic.
- Docker: Optional but highly recommended for the Sandbox Mode.
- API Keys: At least one API key from Google AI Studio (Gemini) or Groq.
-
Clone the project:
git clone https://github.com/pomilon/plexir.git cd plexir -
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # Linux/macOS # venv\Scripts\activate # Windows
-
Install Plexir: This will install Plexir as a command-line tool named
plexirthat you can run from anywhere.pip install -e .
On the first run, Plexir will create a default configuration directory at ~/.plexir/.
plexirPlexir supports both API Keys and Google OAuth.
Option A: API Key (Standard) Inside the TUI, type:
/config set "Gemini Primary" api_key YOUR_KEY
/reloadOption B: Google OAuth (High Quota) If you want to use your Gemini CLI / Code Assist quota:
- Run
/auth logininside Plexir. - Follow the instructions (a new window will open).
- Once logged in, run
/reload.
Try asking Plexir to explore your current directory:
"List the files in this project."
plexirSafe default. File edits require confirmation.
plexir --sandbox --yoloFully autonomous. No confirmation prompts. Runs inside a secure Docker container.
By default, Plexir runs on your local host. For any "critical" action (like write_file), Plexir will prompt you for confirmation.
For complete safety, always use the Sandbox Mode:
plexir --sandboxThis isolates the agent in a Docker container. In Clone Mode (default), your files are protected; changes are only saved if you explicitly export them on exit.