Skip to main content

IRERI CODE 🚀

Terminal AI Coding Agent (v2.0.0)

  ██╗██████╗ ███████╗██████╗ ██╗    ██████╗ ██████╗ ██████╗ ███████╗
  ██║██╔══██╗██╔════╝██╔══██╗██║   ██╔════╝██╔═══██╗██╔══██╗██╔════╝
  ██║██████╔╝█████╗  ██████╔╝██║   ██║     ██║   ██║██║  ██║█████╗  
  ██║██╔══██╗██╔══╝  ██╔══██╗██║   ██║     ██║   ██║██║  ██║██╔══╝  
  ██║██║  ██║███████╗██║  ██║██║   ╚██████╗╚██████╔╝██████╔╝███████╗
  ╚═╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═╝    ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝

IRERI CODE is an intelligent, autonomous terminal-based AI coding assistant. It inspects repositories, plans and executes multi-step coding tasks, edits and creates files, executes shell commands, and iterates until the job is done—all directly from your command line.


✨ Features

  • Autonomous Multi-Step Agent Loop:

    • Plans and executes tools autonomously with up to 50 iterations per task.
    • Automatically resets iteration budgets after each message generation.
    • Self-recovering: catches execution errors and adapts strategy.
  • Multi-Provider & Model Support:

    • Compatible with any OpenAI-compatible endpoint.
    • Built-in support for NVIDIA NIM, OpenAI, OpenRouter, Groq, and local models (Ollama, vLLM, LM Studio).
    • Recommended free tier: NVIDIA NIM (1,000 free API credits on signup at build.nvidia.com).
  • Interactive Terminal UI:

    • High-impact visual banner and clean message styling powered by Rich.
    • Dynamic user prompt: clean ❯ prompt when idle, transitioning to You: in real time while typing.
    • Automatic slash-command suggestions pop-up when keying in /.
    • Clean tool updates with visual hierarchy and non-intrusive status indicators.
  • Interactive Tool Approval & Safety:

    • Interactive approval prompts (y = approve, n = deny, a = approve all, d = deny all).
    • Dangerous shell command detection (e.g., rm -rf, sudo, destructive operations).
    • Optional one-shot auto-approval mode (--yes / -y).
  • Built-in Tool Ecosystem:

    • File Operations: read_file, write_file, edit_file, delete_file, list_files, create_directory.
    • Code Search: Fast regex search (search_files) and content searching (grep).
    • Terminal: run_command with timeout and working directory isolation.

📦 Installation

Clone the repository and install it in editable mode:

git clone https://github.com/ekusafamily/ireri-code.git
cd ireri-code/ultra-agent
pip install -e .

⚡ Quick Start

1. Configure an AI Provider

You can configure your provider interactively inside the chat using /provider:

ireri chat

Then run:

/provider nvidia

(Prompts for your free NVIDIA API key and configures the default model)

Alternatively, create a .env file in your workspace:

OPENAI_API_KEY=nvapi-your-key-here
OPENAI_BASE_URL=https://integrate.api.nvidia.com/v1
OPENAI_MODEL=nvidia/nemotron-3.5-bolt-e4b

2. Start Chatting

Launch the interactive coding assistant:

ireri chat

Or run in auto-approve mode:

ireri chat -y

3. One-Shot Execution

Execute single commands directly from your terminal:

ireri run "Create a simple modern HTML and CSS website with dark mode"

NVIDIA offers 1,000 free API credits to developers to run state-of-the-art open models:

  1. Register for an API key: https://build.nvidia.com/
  2. Base URL: https://integrate.api.nvidia.com/v1
  3. Recommended Models:
    • nvidia/nemotron-3.5-bolt-e4b (Fast, optimized for code generation)
    • meta/llama-3.3-70b-instruct (High reasoning capabilities)
    • deepseek-ai/deepseek-r1 (Deep reasoning model)

Setup takes seconds inside ireri:

/provider nvidia

⌨️ Slash Commands

Keying in / inside ireri chat will automatically bring up the command completion menu:

Command Description
/provider View active provider, list profiles, and configure new providers
/provider nvidia Quick 1-step setup for NVIDIA NIM free models
/provider add Guided wizard to add any AI provider
/provider use <name> Switch between configured provider profiles
/model Switch the active AI model
/models List all available models from the current provider
/settings Open interactive settings and API profiles
/config View current agent configuration
/status Show current agent runtime status
/clear Clear the terminal conversation view
/reset Reset the agent session context
/version Show agent version information
/update Check for updates
/about Information about IRERI CODE
/exit Exit the session cleanly (/quit, /q)

🛠️ CLI Reference

Usage: ireri [OPTIONS] COMMAND [ARGS]...

Commands:
  chat         Start an interactive chat session with ireri.
    --project, -p         Project directory (default: current directory)
    --model, -m           Model identifier to use
    --base-url, -u        API base URL
    --api-key, -k         API key
    --max-iterations, -i  Maximum loop iterations per task [default: 50]
    --yes, -y             Auto-approve all tool calls

  run          Execute a one-shot task with ireri.
    --project, -p         Project directory
    --model, -m           Model identifier to use
    --max-iterations, -i  Maximum loop iterations [default: 50]
    --json, -j            Output result as JSON

  tools        List all available built-in tools.
  config-show  Show current configuration settings.
  init         Initialize a new project with .env configuration.

🧪 Running Tests

To run the test suite:

pytest ultra-agent

📄 License

MIT License. Created by the ireri team.

Metadata

Release files for ireri-code 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ireri-code 2.1.1
File Interpreter ABI Platform Actions
ireri_code-2.1.1-py3-none-any.whl Python 3 none any Details for ireri_code-2.1.1-py3-none-any.whl

Release files / ireri_code-2.1.1-py3-none-any.whl

Download URL ireri_code-2.1.1-py3-none-any.whl
Size 63.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c53bfaf96c7ca06376ba521c6714f4c99d2554fc86d6b6f7c76ce94728ca126
BLAKE2b-256 checksum
How to use checksums
ab0c3a399402fa68510cc6815875fed77894a7995571899fca725f1d82bae398
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for ireri-code 2.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page