A terminal-based, model-agnostic AI coding assistant, inspired by GPT Codex
- Python 3.12 or higher
- uv package manager
If you don't have uv installed, get it from uv installation guide
-
Clone the repository:
git clone https://github.com/markoelez/aieng.git cd aieng -
Install dependencies and build:
uv sync
-
Install in development mode:
uv pip install -e . -
Set up environment variables:
Create a
.envfile in the project root:cp .env.example .env
Edit
.envand add your API key:OPENAI_API_KEY=your_api_key_here -
Run AIENG:
aieng
AIENG is model agnostic. To switch models:
-
Initialize configuration file (if not already created):
aieng # Type /init to create aieng.toml -
Edit
aieng.tomlin your project directory:# Model Configuration model = "gpt-5.1-codex" # Default GPT Codex model api_base_url = "https://api.openai.com/v1" # OpenAI GPT Codex endpoint # Examples for different providers: # Anthropic: api_base_url = "https://api.anthropic.com/v1" # Local: api_base_url = "http://localhost:11434/v1"
-
Update API key in
.env:OPENAI_API_KEY=your_provider_api_key_here
- Improve agent narration between tasks
- Reduce redundant actions
- Install dev dependencies
uv sync --dev
- Install git hooks (Ruff formatting + Ty type checking)
uv run pre-commit install
- Run checks locally
uv run ruff check . uv run ruff format --check . uv run ty check