AI Coding Agent — Free Claude Code alternative powered by Kimi K2.5 + Ollama
Project description
NeuronCLI
Free AI Coding Agent — Claude Code alternative powered by Kimi K2.5. Works on Windows, Linux, macOS.
Built by zero-x Corporation
Install
# Windows
pip install neuroncli
# Linux / macOS (modern distros use pipx)
pipx install neuroncli
# If pipx not installed:
# sudo apt install pipx && pipx ensurepath (Debian/Ubuntu)
# sudo dnf install pipx && pipx ensurepath (Fedora)
# brew install pipx && pipx ensurepath (macOS)
# From source (any platform)
git clone https://github.com/RAHUL-DevelopeRR/neuroncli.git
cd neuroncli && pip install -e .
# Linux/macOS auto-install script
curl -fsSL https://raw.githubusercontent.com/RAHUL-DevelopeRR/neuroncli/master/install.sh | bash
Quick Start
# Start interactive REPL
neuron
# One-shot task
neuron "fix the bug in main.py"
# YOLO mode — no permission prompts
neuron --yolo "refactor src/ to use async"
# Plan mode — think first, code later
neuron --plan "add authentication to this API"
# Use local Ollama instead
neuron --provider ollama "explain this codebase"
Zero Setup — First Run
- Type
neuronin any project directory - Browser opens to OpenRouter login (free account)
- API key auto-provisioned + saved to
~/.neuroncli/config.json - Done. No manual config, no copy-paste.
Features
| Feature | Description |
|---|---|
| Parallel Tool Execution | Reads 5 files simultaneously, not one-by-one |
| Git Auto-Commit | Every AI edit is auto-committed like Aider |
| Context Compression | H2A-style compression prevents context bloat |
| 3 Modes | Standard (ask permission), Plan (think first), YOLO (full auto) |
| Session Persistence | Resume previous conversations with /resume |
| Brand Color Output | Clean terminal output with colored tables, headers |
| NEURON.md | Project context file (like Claude's CLAUDE.md) |
| Token Tracking | Shows token usage per session |
| Dual Provider | OpenRouter (cloud, free) + Ollama (local, offline) |
Modes
neuron # Standard — asks before writing/running
neuron --plan # Plan — generates plan, waits for approval
neuron --yolo # YOLO — full autonomous, no prompts
Switch at runtime: /mode plan, /mode yolo, /mode standard
Available Tools
| Tool | Description |
|---|---|
read_file |
Read file contents with line numbers |
write_file |
Create or overwrite a file |
edit_file |
Surgical find-and-replace edit |
list_directory |
Tree view of directory contents |
run_command |
Execute shell commands |
search_in_files |
Grep-style search across files |
get_project_structure |
Full project overview |
REPL Commands
| Command | Description |
|---|---|
/help |
Show all commands |
/init |
Create NEURON.md project context |
/compact |
Compress context (free up memory) |
/mode <mode> |
Switch: standard, plan, yolo |
/model <name> |
Switch model |
/provider <name> |
Switch: openrouter, ollama |
/upgrade |
Info on faster response times |
/clear |
Clear conversation history |
/config |
Show current configuration |
/exit |
Exit |
CLI Flags
| Flag | Description |
|---|---|
--yolo |
Skip all permission prompts |
--plan |
Plan mode — reason before coding |
--model, -m |
Model to use |
--provider, -p |
openrouter or ollama |
--dir, -d |
Working directory |
--no-stream |
Disable token streaming |
Architecture
neuroncli/
agent.py # ReAct engine — parallel tools, context compression
auth.py # OpenRouter OAuth auto-provisioning
cli.py # REPL + slash commands
config.py # Modes (standard/plan/yolo)
git_integration.py # Auto-commit AI edits
session.py # Save/resume conversations
prompts.py # Mode-aware system prompt builder
tools.py # Tool registry + 7 tool implementations
ui.py # Brand colors, startup screen
provider.py # Provider abstraction layer
openrouter_client.py # OpenRouter (Kimi K2.5)
ollama_client.py # Local Ollama
tests/
test_agent.py # 18 unit tests
Requirements
- Python 3.10+
- Internet connection (for Kimi K2.5 via OpenRouter)
- Optional: Ollama for local offline mode
License
MIT — free to use, modify, and distribute commercially.
By zero-x Corporation — Tamil Nadu, India
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neuroncli-2.2.0.tar.gz.
File metadata
- Download URL: neuroncli-2.2.0.tar.gz
- Upload date:
- Size: 34.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
822ae616271341ceb0e1130f959876346a6a3d9567c37d8eef6c59d300582e74
|
|
| MD5 |
190ca21f2e8cdb76eb46aae44570a4fb
|
|
| BLAKE2b-256 |
f950f062663fe139c3c6f6d0bc4af74c093849d3f4e6785fbbd492e96868d526
|
File details
Details for the file neuroncli-2.2.0-py3-none-any.whl.
File metadata
- Download URL: neuroncli-2.2.0-py3-none-any.whl
- Upload date:
- Size: 36.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06a6514fd5788bef119f2fe8fcb8a4e9e2deabda66267d7c565fab0cfb3cfd79
|
|
| MD5 |
44fce3d1e65062f8ead4f26000e19fcd
|
|
| BLAKE2b-256 |
448d44d382d40fb18eec489ad9014840384149bf4d98f1c10fa6f0ed846e0c5d
|