neuroncli 2.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- neuroncli/__init__.py +18 -0
- neuroncli/__main__.py +14 -0
- neuroncli/agent.py +544 -0
- neuroncli/auth.py +263 -0
- neuroncli/cli.py +409 -0
- neuroncli/config.py +112 -0
- neuroncli/git_integration.py +86 -0
- neuroncli/ollama_client.py +150 -0
- neuroncli/openrouter_client.py +220 -0
- neuroncli/prompts.py +109 -0
- neuroncli/provider.py +45 -0
- neuroncli/session.py +88 -0
- neuroncli/tools.py +413 -0
- neuroncli/ui.py +138 -0
- neuroncli-2.1.0.dist-info/METADATA +171 -0
- neuroncli-2.1.0.dist-info/RECORD +19 -0
- neuroncli-2.1.0.dist-info/WHEEL +5 -0
- neuroncli-2.1.0.dist-info/entry_points.txt +2 -0
- neuroncli-2.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: neuroncli
|
|
3
|
+
Version: 2.1.0
|
|
4
|
+
Summary: AI Coding Agent — Free Claude Code alternative powered by Kimi K2.5 + Ollama
|
|
5
|
+
Author-email: Rahul S <rahultech72216@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://zero-x.live
|
|
8
|
+
Project-URL: Repository, https://github.com/RAHUL-DevelopeRR/neuroncli
|
|
9
|
+
Project-URL: Issues, https://github.com/RAHUL-DevelopeRR/neuroncli/issues
|
|
10
|
+
Keywords: ai,coding,agent,cli,llm,kimi,ollama,code-assistant
|
|
11
|
+
Classifier: Development Status :: 4 - Beta
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: Topic :: Software Development
|
|
15
|
+
Classifier: Topic :: Software Development :: Code Generators
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Operating System :: OS Independent
|
|
22
|
+
Requires-Python: >=3.10
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
Requires-Dist: requests>=2.28.0
|
|
25
|
+
|
|
26
|
+
# NeuronCLI
|
|
27
|
+
|
|
28
|
+
**Free AI Coding Agent** — Claude Code alternative powered by Kimi K2.5. Works on **Windows, Linux, macOS**.
|
|
29
|
+
|
|
30
|
+
> Built by [zero-x Corporation](https://zero-x.live)
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## Install
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# From PyPI (all platforms)
|
|
38
|
+
pip install neuroncli
|
|
39
|
+
|
|
40
|
+
# Or from source
|
|
41
|
+
git clone https://github.com/RAHUL-DevelopeRR/neuroncli.git
|
|
42
|
+
cd neuroncli
|
|
43
|
+
pip install -e .
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
# Linux/macOS one-liner
|
|
48
|
+
curl -fsSL https://raw.githubusercontent.com/RAHUL-DevelopeRR/neuroncli/master/install.sh | bash
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Quick Start
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Start interactive REPL
|
|
55
|
+
neuron
|
|
56
|
+
|
|
57
|
+
# One-shot task
|
|
58
|
+
neuron "fix the bug in main.py"
|
|
59
|
+
|
|
60
|
+
# YOLO mode — no permission prompts
|
|
61
|
+
neuron --yolo "refactor src/ to use async"
|
|
62
|
+
|
|
63
|
+
# Plan mode — think first, code later
|
|
64
|
+
neuron --plan "add authentication to this API"
|
|
65
|
+
|
|
66
|
+
# Use local Ollama instead
|
|
67
|
+
neuron --provider ollama "explain this codebase"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Zero Setup — First Run
|
|
71
|
+
|
|
72
|
+
1. Type `neuron` in any project directory
|
|
73
|
+
2. Browser opens to **OpenRouter** login (free account)
|
|
74
|
+
3. API key auto-provisioned + saved to `~/.neuroncli/config.json`
|
|
75
|
+
4. **Done.** No manual config, no copy-paste.
|
|
76
|
+
|
|
77
|
+
## Features
|
|
78
|
+
|
|
79
|
+
| Feature | Description |
|
|
80
|
+
|---------|-------------|
|
|
81
|
+
| **Parallel Tool Execution** | Reads 5 files simultaneously, not one-by-one |
|
|
82
|
+
| **Git Auto-Commit** | Every AI edit is auto-committed like Aider |
|
|
83
|
+
| **Context Compression** | H2A-style compression prevents context bloat |
|
|
84
|
+
| **3 Modes** | Standard (ask permission), Plan (think first), YOLO (full auto) |
|
|
85
|
+
| **Session Persistence** | Resume previous conversations with `/resume` |
|
|
86
|
+
| **Brand Color Output** | Clean terminal output with colored tables, headers |
|
|
87
|
+
| **NEURON.md** | Project context file (like Claude's CLAUDE.md) |
|
|
88
|
+
| **Token Tracking** | Shows token usage per session |
|
|
89
|
+
| **Dual Provider** | OpenRouter (cloud, free) + Ollama (local, offline) |
|
|
90
|
+
|
|
91
|
+
## Modes
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
neuron # Standard — asks before writing/running
|
|
95
|
+
neuron --plan # Plan — generates plan, waits for approval
|
|
96
|
+
neuron --yolo # YOLO — full autonomous, no prompts
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Switch at runtime: `/mode plan`, `/mode yolo`, `/mode standard`
|
|
100
|
+
|
|
101
|
+
## Available Tools
|
|
102
|
+
|
|
103
|
+
| Tool | Description |
|
|
104
|
+
|------|-------------|
|
|
105
|
+
| `read_file` | Read file contents with line numbers |
|
|
106
|
+
| `write_file` | Create or overwrite a file |
|
|
107
|
+
| `edit_file` | Surgical find-and-replace edit |
|
|
108
|
+
| `list_directory` | Tree view of directory contents |
|
|
109
|
+
| `run_command` | Execute shell commands |
|
|
110
|
+
| `search_in_files` | Grep-style search across files |
|
|
111
|
+
| `get_project_structure` | Full project overview |
|
|
112
|
+
|
|
113
|
+
## REPL Commands
|
|
114
|
+
|
|
115
|
+
| Command | Description |
|
|
116
|
+
|---------|-------------|
|
|
117
|
+
| `/help` | Show all commands |
|
|
118
|
+
| `/init` | Create NEURON.md project context |
|
|
119
|
+
| `/compact` | Compress context (free up memory) |
|
|
120
|
+
| `/mode <mode>` | Switch: standard, plan, yolo |
|
|
121
|
+
| `/model <name>` | Switch model |
|
|
122
|
+
| `/provider <name>` | Switch: openrouter, ollama |
|
|
123
|
+
| `/upgrade` | Info on faster response times |
|
|
124
|
+
| `/clear` | Clear conversation history |
|
|
125
|
+
| `/config` | Show current configuration |
|
|
126
|
+
| `/exit` | Exit |
|
|
127
|
+
|
|
128
|
+
## CLI Flags
|
|
129
|
+
|
|
130
|
+
| Flag | Description |
|
|
131
|
+
|------|-------------|
|
|
132
|
+
| `--yolo` | Skip all permission prompts |
|
|
133
|
+
| `--plan` | Plan mode — reason before coding |
|
|
134
|
+
| `--model`, `-m` | Model to use |
|
|
135
|
+
| `--provider`, `-p` | `openrouter` or `ollama` |
|
|
136
|
+
| `--dir`, `-d` | Working directory |
|
|
137
|
+
| `--no-stream` | Disable token streaming |
|
|
138
|
+
|
|
139
|
+
## Architecture
|
|
140
|
+
|
|
141
|
+
```
|
|
142
|
+
neuroncli/
|
|
143
|
+
agent.py # ReAct engine — parallel tools, context compression
|
|
144
|
+
auth.py # OpenRouter OAuth auto-provisioning
|
|
145
|
+
cli.py # REPL + slash commands
|
|
146
|
+
config.py # Modes (standard/plan/yolo)
|
|
147
|
+
git_integration.py # Auto-commit AI edits
|
|
148
|
+
session.py # Save/resume conversations
|
|
149
|
+
prompts.py # Mode-aware system prompt builder
|
|
150
|
+
tools.py # Tool registry + 7 tool implementations
|
|
151
|
+
ui.py # Brand colors, startup screen
|
|
152
|
+
provider.py # Provider abstraction layer
|
|
153
|
+
openrouter_client.py # OpenRouter (Kimi K2.5)
|
|
154
|
+
ollama_client.py # Local Ollama
|
|
155
|
+
tests/
|
|
156
|
+
test_agent.py # 18 unit tests
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Requirements
|
|
160
|
+
|
|
161
|
+
- **Python 3.10+**
|
|
162
|
+
- Internet connection (for Kimi K2.5 via OpenRouter)
|
|
163
|
+
- **Optional:** [Ollama](https://ollama.com) for local offline mode
|
|
164
|
+
|
|
165
|
+
## License
|
|
166
|
+
|
|
167
|
+
MIT — free to use, modify, and distribute commercially.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
*By [zero-x Corporation](https://zero-x.live) — Tamil Nadu, India*
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
neuroncli/__init__.py,sha256=1afqRe-VzP5fSHtV8ESg1NAkt8aIV-iwzPqpwizUsYY,459
|
|
2
|
+
neuroncli/__main__.py,sha256=VhqmNxqxsB9O2dAYaKz45CKM2qF447F6uONVdj1bjSE,399
|
|
3
|
+
neuroncli/agent.py,sha256=2gszfWFYLpcbvGy3Ncbgcghl5h0Owds5EjQSs9eS8M0,23031
|
|
4
|
+
neuroncli/auth.py,sha256=CmY6P9Kn6faPIpbFwwPqDBWuPJoq3IDCajdSiWKwxDc,9212
|
|
5
|
+
neuroncli/cli.py,sha256=KjaGTh5bnhzjC0X5bcd923xSEeow0weWAt1sFVa4EC0,14776
|
|
6
|
+
neuroncli/config.py,sha256=8koejcyCgzmqI8th57heflUsmJrpLzZFgtdmFfsffw8,4990
|
|
7
|
+
neuroncli/git_integration.py,sha256=0SQ9Z2K4n6pc1oSJuYU4gaJDiwodzqQ0ghxPXgubImM,2897
|
|
8
|
+
neuroncli/ollama_client.py,sha256=Q5S0IqCsofZL8GaTnHg1f8T-eQ1gHYMOVmyy9PBPur8,5119
|
|
9
|
+
neuroncli/openrouter_client.py,sha256=BC68wAd5djtrfVGZ7v-3Tu9hKjeHC_HBZFCdsJiiOzk,8073
|
|
10
|
+
neuroncli/prompts.py,sha256=Mtmj30gquqCEJ0bMUNATnaKLnTKmxDDDVvPyyDqyVqU,3136
|
|
11
|
+
neuroncli/provider.py,sha256=qI-qspxR-dE3MjTalTaMR0r902Pph5C9aq5awk6Lgwg,1360
|
|
12
|
+
neuroncli/session.py,sha256=SM6-CH3yzUDymHg5XHoXTtuMa3X6Bu3NlFA1IwClvo8,2522
|
|
13
|
+
neuroncli/tools.py,sha256=22cVKP4HTWFdRjKkA3PGfz5mtPDPvZKg4B8S4zCkEAU,15125
|
|
14
|
+
neuroncli/ui.py,sha256=fzZlDo7gr1ZPL-DKOYZqmKqddhVkPXqZrWMHpKwvC2w,4841
|
|
15
|
+
neuroncli-2.1.0.dist-info/METADATA,sha256=Fgp30SUQDQcl0XuB6Z14m9K4Z0beva6ElftycpYvo0o,5641
|
|
16
|
+
neuroncli-2.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
17
|
+
neuroncli-2.1.0.dist-info/entry_points.txt,sha256=2RW-tomVKomWpuskPYGQ2Y2be7kHzYQPHlkvaAYtcLY,46
|
|
18
|
+
neuroncli-2.1.0.dist-info/top_level.txt,sha256=g8s1HMMEb15Lqsh7mDEhca97w_asKRA5eJWV0rgKuHE,10
|
|
19
|
+
neuroncli-2.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
neuroncli
|