Zene
A High-Performance Multi-Agent Coding Engine with Autonomous Planning and Reflection
Installation • Usage • Documentation • Contributing
Philosophy
Zene combines "Zen" and "Engine".
- Zen: Minimalist, focused, and distraction-free. We avoid bloated frameworks to provide a pure coding flow.
- Engine: High-performance, reliable, and powerful. Written in Rust to be the robust core driving your intelligent agents.
We believe in:
- Single Binary: No complex runtime dependencies.
- Explicit Configuration: No magic, just standard environment variables.
- Plan: Generates a DAG of tasks.
- Execute: Runs real commands in your shell (Async/Non-blocking).
- Reflect: Analyzes stdout/stderr and file changes.
Features
- Async Native: Built on
tokio, Zene is 100% non-blocking and ready for high-concurrency web integration. - Streaming Output: Real-time "Thought Delta" events allow for immersive, typewriter-style UI experiences.
- Workspace Awareness: Real-time
FileStateChangedevents enable IDE-like file tree updates in frontend integrations. - Self-Healing: The Reflector loop automatically fixes linting errors and failed tests.
Key Features
- Model Agnostic: Built on
llm-connector, supporting OpenAI, Anthropic, DeepSeek, Google Gemini, and more. - Context Aware: Uses
tree-sitterfor syntax-level code analysis and efficient file walking to understand project structure. - Safe Execution: Features an OODA (Observe-Orient-Decide-Act) loop with "Dry Run" capabilities and atomic file operations.
- JSON-RPC Server: Functions as a standard server, exposing its capabilities to IDEs and other tools.
- Blazing Fast: Written in pure Rust with async I/O.
Installation
Pre-built Binaries
Download the latest release for your platform from the Releases Page.
From Crates.io
Build from Source
Usage
1. Set Environment Variables
Zene prioritizes DeepSeek but supports OpenAI as a fallback.
2. Run a Task (One-Shot)
Execute a single instruction directly from the command line.
# Create a file
# Refactor code (Context aware)
# Fetch Web Content
3. Server Mode
Start Zene as a JSON-RPC server (over Stdio). This mode supports persistent sessions and multi-turn conversations.
JSON-RPC API Example
Request (Start Session):
Sessions are automatically persisted to ~/.zene/sessions/<session_id>.json.
Documentation
Detailed documentation is available at zene.run (or in the www/ directory):
Contributing
Contributions are welcome! Please read our architecture documentation to understand the core philosophy before submitting PRs.
License
MIT