aex-code
v1.0.3
Published
Next-Gen OpenRouter Coding Agent CLI - Powered by AI Extension
Maintainers
Readme

A E X - C O D E
AEX Code is a CLI application that functions as an advanced coding agent similar to Claude Code. It is optimized for free-tier usage via OpenRouter models and provides a clean UI with both interactive and command-based workflows. This project was developed by Md. Abid Hasan Rafi and powered by AI Extension.
Features
- Code Generation and Explanation: Interactive terminal sessions within your workspace.
- File Management: Create, review, and edit files with context-aware AI assistance.
- Safe Shell Commands: Execute shell commands with controlled output handling.
- Multi-file Context Processing: Build rich context from your codebase across multiple files.
- Configurable Models: Use OpenRouter API keys to select preferred models. Defaults to
qwen/qwen3-coder:free.
Requirements
- Node.js >= 16
Setup and Configuration
Install globally:
npm install -g aex-codeConfigure your OpenRouter API key:
aex-code config --set-key "sk-or-v1-..."Set your preferred model (optional):
aex-code config --set-model "anthropic/claude-3.5-sonnet:beta"
Usage
Interactive Shell
Start an interactive session with the AI agent. The session maintains context and streams responses.
aex-code chatAnalyze and Edit a File
Analyze and modify local files using AI.
aex-code edit src/index.jsInitialize Configuration
aex-code initRun Commands
aex-code run "npm install"Development and Contribution
The project follows a modular architecture where commands are organized under src/commands, making it easy to extend and maintain.
License
MIT
