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.
- One-Shot & Scripting — Use the
-pflag for fast CLI pipelines or install shell hooks with--install-shell. - Intelligent Context — Auto-detects project languages, frameworks, and Git state on startup.
- Persistent Memory — AI that learns your preferences across sessions using local SQLite memory.
- Git & PR Workflow — Built-in commands to branch, stash, amend, and create PRs with AI.
- Cost Guardrails — Real‑time cost tracking, cross-session analytics (
/stats), and strict budget caps (--budget). - Rich Visual Feedback — Stream responses with live previews, with graceful Ctrl+C cancellation.
- Semantic Codebase Search — Fast local RAG (Retrieval-Augmented Generation) using the
/searchcommand. - Extensible Architecture — Custom plugins, MCP integration, and project‑specific rules tailor Aizen to your workflow.
🚀 Core Features
Asynchronous Architecture
- Fully asynchronous operations using
asyncioandAsyncOpenAIfor concurrent processing, parallel tool runs, and streaming. Native retry logic ensures resilience against API blips.
One-Shot & Shell Integration
- Run
aizen -p "fix this"for a single non-interactive response, or pipe input viacat log.txt | aizen -p "summarize". Runaizen --install-shellto get the handyaicommand wrapper.
Smart Auto-Context & Memory
- Aizen automatically parses
package.json,pyproject.toml, etc. to understand your stack. - Uses
~/.aizen_memory.dbto remember architectural decisions and user preferences autonomously using theremember_facttool.
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).
🎛️ Workflow Commands
/auto <task>— Enter autonomous agentic mode for a complex task./commit— Auto-generate and commit changes./pr [title]— Create a GitHub PR with an AI-generated description./branch,/stash,/amend,/log— Full AI-assisted git workflow./remember <fact>— Store a fact in persistent memory./memory— View all stored memories./forget <id>— Remove a specific memory.
💰 Cost Tracking & Analytics
- Real-time Pricing: Pulls live pricing from OpenRouter cache.
- Budgeting: Enforce session limits with
--budget 0.50or/budget. - Analytics: Cross-session usage tracked in SQLite. Run
/statsfor a beautiful summary and sparkline chart. - Multi-Model Routing: Override the global model inline by typing
@claude-3.5-sonnet <prompt>. Supports Anthropic, Google, OpenAI, DeepSeek, and Meta models.
📌 Session Management & Search
/search [query]— Perform semantic search across your codebase./reindex [dir]— Manually trigger indexing for local semantic search./checkpoint [name]— Save conversation snapshots./restore [name]— Restore a previous checkpoint./export— Export conversation to Markdown.
📁 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.6.0.tar.gz.
File metadata
- Download URL: aizen_ai_cli-2.6.0.tar.gz
- Upload date:
- Size: 95.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95cdda7aee78247b3ce2688fb4cc0a3d824dd42bbf0e87b76a1e10520933fce5
|
|
| MD5 |
e2be72dbcb1ea91e5edd78e6d9091f7b
|
|
| BLAKE2b-256 |
4eeab68a3742457f16dfa9bd0b0793c19569ada30847986d9d9b682afc4cd40f
|
File details
Details for the file aizen_ai_cli-2.6.0-py3-none-any.whl.
File metadata
- Download URL: aizen_ai_cli-2.6.0-py3-none-any.whl
- Upload date:
- Size: 80.2 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 |
e8e838b7ba1b9724fa2ff89e9eddc5cb569bc8f71175b8e106ea171ea457ef3e
|
|
| MD5 |
d5cda7a5a1d67fa5cab480c117c0c186
|
|
| BLAKE2b-256 |
6c6df539101bec6342c13034bf9dc8cb42735bf9cd44466a6f59c5c3e1b2c5e1
|