Aizen AI Agent — A professional-grade AI coding assistant for your terminal.
Project description
Aizen AI Agent 🚀
Aizen is a powerful, asynchronous AI assistant that integrates seamlessly into your terminal workflow. It reads your code, edits files safely, runs commands, and provides real‑time, richly formatted assistance—all while keeping costs transparent and sessions persistent.
🌟 Key Benefits
- Effortless Integration — Operates directly in your terminal, preserving shell state across commands.
- Intelligent Editing — Perform precise, color‑coded file edits with
edit_file. - Background Execution — Run long‑running tasks asynchronously and retrieve results later.
- Cost‑Aware Usage — Real‑time cost estimation for all major LLMs.
- Persistent Sessions — Save and restore conversations with checkpoints.
- Rich Visual Feedback — Stream responses with live previews and animated thought indicators.
- Extensible Architecture — Custom plugins and project‑specific rules tailor Aizen to your workflow.
- Comprehensive Logging — Rotating logs with optional verbose output for debugging.
🚀 Core Features
Asynchronous Architecture
- Fully asynchronous operations using
asyncioandAsyncOpenAIfor concurrent processing, parallel tool runs, and streaming.
Stateful Terminal Session
- Environment variables and directory changes persist across interactions.
Rich Markdown Rendering
- Full Markdown support with headers, code blocks, lists, and styling via Rich.
Surgical File Editing
- Precise search‑and‑replace with color‑coded diff previews (
edit_file).
Vision Support
- Native image handling and encoding for Vision APIs (e.g., GPT‑4o, Claude 3.5 Sonnet).
Real‑Time Command Streaming
- Background command execution with async streaming of stdout/stderr; use
run_command --background.
🎛️ Workflow Tools
- Background Tasks — Run non‑blocking commands; monitor with
check_background_task; cancel withkill_background_task. - Session Persistence — Powered by SQLite (
~/.aizen_sessions/aizen.db), auto‑migrating older JSON sessions. - Project‑Specific Rules — Auto‑load
.aizen_rulesor.cursorrulesfor repo‑specific behavior. - Smart Autocomplete — TAB‑completion with
.gitignoreawareness and directory traversal.
💰 Cost Tracking
- Real‑time token counting for inputs and outputs.
- Current cost estimate shown in the CLI status bar.
- Supports Anthropic (Claude 3.5/3.7 Sonnet, Opus, Haiku), Google (Gemini 2.5 Pro/Flash), and OpenAI (GPT‑4o, o1, o3‑mini).
📌 Session Management
/checkpoint [name]— Save conversation snapshots./restore [name]— Restore a previous checkpoint.
📁 Structured Logging
- Logs stored at
~/.aizen_logs/aizen.log(rotated, 5 MB caps, 3 files). - Verbose flag mirrors output to console.
📦 Publishing & Development
- Use
publish.shto build and publish to PyPI, NPM, and PyInstaller binaries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aizen_ai_cli-2.4.2.tar.gz.
File metadata
- Download URL: aizen_ai_cli-2.4.2.tar.gz
- Upload date:
- Size: 63.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3263593d6e46404e48fc8533048e36b22b7f48f527f7c24e92fe1ce94781e33d
|
|
| MD5 |
ae1f5d20201992b0bb2b5d6462d881b3
|
|
| BLAKE2b-256 |
22175f5cab806ea2c07a1fca772fe08b7ba120777f652f8556c09a8c9aee7367
|
File details
Details for the file aizen_ai_cli-2.4.2-py3-none-any.whl.
File metadata
- Download URL: aizen_ai_cli-2.4.2-py3-none-any.whl
- Upload date:
- Size: 57.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b79cbe7a8cbbe8c7e11a4c8b4e8cbdfbc21667311f8876b8df49aaabc3f5f9b3
|
|
| MD5 |
23aabbd7f3f22cb84760331430faecbb
|
|
| BLAKE2b-256 |
76d43192513b7f8dc28a927a49cd84b90198603edf1376b426d56a4a759e166f
|