Agentic Development Environment - A modern desktop application that enables parallel feature development across multiple project lanes with AI agents and human-in-the-loop code review.
Built on Tauri and SolidJS for exceptional performance, Codelane empowers developers to work on multiple tasks simultaneously while maintaining control through intelligent code review, dependency-aware navigation, and comprehensive git management.
- Frontend: SolidJS + TypeScript + Vite
- Backend: Rust + Tauri 2.x
- Styling: Tailwind CSS
- Terminal: portable-pty + xterm.js
- Highlighter: Shiki
- Git: gitoxide (pure Rust git)
Required:
- Rust 1.75+ (
rustup update stable) - Node.js 22+ (use
.nvmrcwithnvm use) - pnpm 9+ (
npm install -g pnpm)
Platform-specific:
macOS
xcode-select --installLinux (Ubuntu/Debian)
sudo apt update
sudo apt install libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-devWindows
- Install Visual Studio Build Tools
- Install WebView2
# Install dependencies (pnpm workspaces handles frontend automatically)
pnpm install
# Run in development mode
make dev
# or
pnpm dev# Build for current platform
make build
# Output in target/release/bundle/βββββββββββββββββββββββββββββββββββββββββββββββββββ
β Tauri Shell β
β β’ Window management, permissions, updates β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β WebView β
β βββββββββββββββββββββββββββββββββββββββββββββ β
β β SolidJS Frontend (TypeScript + Vite) β β
β β β’ Lane management UI β β
β β β’ Terminal views (xterm.js) β β
β β β’ Code Viewer (Shiki) β β
β β β’ Git interface β β
β βββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Tauri Commands (Rust) β
β β’ Terminal/PTY operations β
β β’ Git operations β
β β’ File system access β
βββββββββββββββββββββββββββββββββββββββββββββββββββ
# Development
make dev # Start Tauri + SolidJS dev server
make frontend # Run frontend only (Vite)
# Building
make build # Build release binary
make release # Build optimized release
# Code Quality
make check # Run cargo check
make test # Run all tests
make fmt # Format code
make lint # Run clippy
# Maintenance
make clean # Clean build artifacts
make install # Install required toolsThe backend has comprehensive test coverage for core modules.
# Run all backend tests
cargo test --lib
# Run tests for a specific module
cargo test --lib git::tests
cargo test --lib terminal::tests
cargo test --lib search::tests
cargo test --lib process::tests
cargo test --lib lane::tests
cargo test --lib fs::tests
cargo test --lib settings::tests
cargo test --lib db::tests
# Run with output
cargo test --lib -- --nocaptureThe backend has ~250 tests covering core functionality. Tests use tempfile for isolated filesystem tests and cover:
- Serialization/deserialization of all data types
- Git operations with temporary repositories
- Pattern matching and regex escaping
- Thread safety for shared state
- File system operations (read, write, list, watch)
- Lane and settings management
- Terminal payloads and validation
- Error handling and edge cases
- Isolated Workspaces: Each lane maintains its own terminal, state, and configuration
- Branch & Worktree Support: Work on multiple branches simultaneously
- Quick Switching: Seamlessly switch between projects without losing context
- Code Review Automation: Integrated with Claude Code, Cursor, and Aider
- Smart File Sorting: AI-driven file organization with dependency analysis
- Dependency Analysis: Tree-sitter powered code structure understanding
- Multiple AI Agents: Configure different agents per lane with model selection
- Claude Code: Use Claude models (Opus, Sonnet, Haiku) via Anthropic API
- Aider: Local or API-based models (GPT-4, Claude, local LLMs via Ollama)
- OpenCode/Cursor: Your choice of supported models
- Custom Shell: Run any CLI-based AI coding assistant
Note: Codelane is an orchestration tool - you'll need to configure your preferred AI service (API keys, local models, etc.) separately. The application provides the terminal environment where these agents run.
- Full ANSI Support: 256 colors, cursor control, scroll regions via xterm.js
- Agent Integration: Run AI coding assistants directly in your terminal
- Process Monitoring: Track resource usage and terminal processes
- Visual Diff Viewer: Side-by-side and unified diff modes with syntax highlighting
- Commit History: Browse commits with file-level diffs
- Smart File Sorting: Review files by category, dependency order, or change size
- Git Manager: Stage, commit, and manage changes with a visual interface
- Codelane Dark: Custom theme with deep grays (default)
- Dark & Light: Alternative themes for different preferences
- Syntax Highlighting: 50+ languages supported via Shiki
- Rust Backend: Fast, memory-safe operations via Tauri
- SolidJS Frontend: Fine-grained reactivity for instant UI updates
- Cross-platform: Only macOS is fully tested. Windows and Linux versions are experimental and untested.
pnpm installIf you see errors like Cannot find module '@tauri-apps/cli-win32-x64-msvc':
PowerShell:
# Remove existing installations
Remove-Item -Recurse -Force node_modules
Remove-Item pnpm-lock.yaml
# Reinstall with proper hoisting
pnpm installGit Bash / WSL:
rm -rf node_modules
rm pnpm-lock.yaml
pnpm installThe root .npmrc file enables shamefully-hoist=true which is required for Tauri CLI to work correctly on Windows.
On Windows, use PowerShell or install Make for Windows, or use pnpm scripts directly:
# Instead of 'make dev'
pnpm dev
# Instead of 'make build'
pnpm build- Check that port 1420 is not in use
- Restart the dev server:
make devorpnpm dev
make clean
pnpm install
make buildCodelane is an orchestration tool that provides the environment for AI coding agents to run. It doesn't include AI models itself. You have several options:
-
Cloud-based models (API):
- Anthropic Claude (via Claude Code or Aider): Requires API key from console.anthropic.com
- OpenAI GPT-4 (via Aider, Cursor): Requires API key from platform.openai.com
-
Local models (free, runs on your machine):
- Install Ollama - download from their website for your platform
- Popular coding models:
qwen2.5-coder,deepseek-coder,codellama,starcoder2 - Use with Aider:
aider --model ollama/qwen2.5-coder - Check ollama.com/library for latest model names and sizes
-
Hybrid approach:
- Use local models for exploration/drafts
- Use Claude/GPT-4 for complex refactoring
Recommendation: For a free, privacy-focused setup without API costs, start with Ollama + Aider. Configure it in the lane settings once installed.
See the "Local models" option above for Ollama installation. Quick example:
# Pull a coding model (after installing Ollama)
ollama pull qwen2.5-coder:7b
# In Codelane terminal, use Aider with the local model
aider --model ollama/qwen2.5-coder:7b- Get API key from console.anthropic.com
- Set environment variable:
export ANTHROPIC_API_KEY=your_key - In lane settings, select "Claude Code" and choose model (Sonnet, Opus, Haiku)
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
This means:
- You are free to use, modify, and distribute this software
- Any modifications or forks must also be open source under AGPL-3.0
- If you run a modified version as a network service, you must share the source code
See LICENSE for the full license text.
If you wish to use Codelane in a proprietary product, build closed-source premium features, or need a license without copyleft obligations, a commercial license is available.
Contact faiyaz26@gmail.com for commercial licensing inquiries.