@defai.digital/ax-cli 4.4.16 → 4.4.17
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.
- package/README.md +88 -0
- package/package.json +4 -3
package/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# AX-CLI - Local AI Coding Assistant
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@defai.digital/ax-cli)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
**Enterprise-grade AI coding assistant for local/offline models** - Terminal-based vibe coding with Ollama, LMStudio, vLLM, and DeepSeek Cloud support.
|
|
7
|
+
|
|
8
|
+
## Quick Start
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g @defai.digital/ax-cli
|
|
12
|
+
ax-cli setup
|
|
13
|
+
ax-cli
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
- **Local-First**: Run with Ollama, LMStudio, or vLLM
|
|
19
|
+
- **DeepSeek Cloud**: Optional cloud support for DeepSeek models
|
|
20
|
+
- **17 Built-in Tools**: File editing, bash execution, search, todos, and more
|
|
21
|
+
- **MCP Integration**: Model Context Protocol with 12+ production-ready templates
|
|
22
|
+
- **AutomatosX Agents**: 20+ specialized AI agents for complex tasks
|
|
23
|
+
- **No API Key Required**: Run completely offline with local models
|
|
24
|
+
|
|
25
|
+
## Recommended Local Models
|
|
26
|
+
|
|
27
|
+
| Tier | Model | Best For |
|
|
28
|
+
|------|-------|----------|
|
|
29
|
+
| **T1** | Qwen 3 (8B/14B/32B/72B) | Best overall - coding leader |
|
|
30
|
+
| **T2** | GLM-4.6 (9B/32B) | Best for refactor + docs |
|
|
31
|
+
| **T3** | DeepSeek-Coder V2 (7B/16B) | Best speed/value |
|
|
32
|
+
| **T4** | Codestral / Mistral | C/C++/Rust systems languages |
|
|
33
|
+
| **T5** | Llama 3.1 / CodeLlama | Best fallback - most compatible |
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
### Interactive Mode
|
|
38
|
+
```bash
|
|
39
|
+
ax-cli # Start interactive session
|
|
40
|
+
ax-cli --continue # Resume previous conversation
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Headless Mode
|
|
44
|
+
```bash
|
|
45
|
+
ax-cli -p "analyze this codebase"
|
|
46
|
+
ax-cli -p "fix TypeScript errors" -d /path/to/project
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Essential Commands
|
|
50
|
+
|
|
51
|
+
| Command | Description |
|
|
52
|
+
|---------|-------------|
|
|
53
|
+
| `/init` | Initialize project context |
|
|
54
|
+
| `/help` | Show all commands |
|
|
55
|
+
| `/models` | Switch AI model |
|
|
56
|
+
| `/doctor` | Run diagnostics |
|
|
57
|
+
|
|
58
|
+
## Configuration
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Config location
|
|
62
|
+
~/.ax-cli/config.json # User settings
|
|
63
|
+
.ax-cli/settings.json # Project overrides
|
|
64
|
+
.ax-cli/CUSTOM.md # Custom AI instructions
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Part of AX CLI Ecosystem
|
|
68
|
+
|
|
69
|
+
| Package | Description |
|
|
70
|
+
|---------|-------------|
|
|
71
|
+
| [@defai.digital/ax-cli](https://www.npmjs.com/package/@defai.digital/ax-cli) | Local-first CLI (this package) |
|
|
72
|
+
| [@defai.digital/ax-glm](https://www.npmjs.com/package/@defai.digital/ax-glm) | GLM-optimized CLI |
|
|
73
|
+
| [@defai.digital/ax-grok](https://www.npmjs.com/package/@defai.digital/ax-grok) | Grok-optimized CLI |
|
|
74
|
+
| [@defai.digital/ax-core](https://www.npmjs.com/package/@defai.digital/ax-core) | Shared core library |
|
|
75
|
+
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
- [Full Documentation](https://github.com/defai-digital/ax-cli#readme)
|
|
79
|
+
- [MCP Integration Guide](https://github.com/defai-digital/ax-cli/blob/main/docs/mcp.md)
|
|
80
|
+
- [AutomatosX Guide](https://github.com/defai-digital/ax-cli/blob/main/docs/AutomatosX-Integration.md)
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT License - see [LICENSE](https://github.com/defai-digital/ax-cli/blob/main/LICENSE)
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
Made with love by [DEFAI Digital](https://github.com/defai-digital)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defai.digital/ax-cli",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.17",
|
|
4
4
|
"description": "Enterprise-Class AI Command Line Interface with cool theme (blue, purple, green)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
|
-
"bin"
|
|
25
|
+
"bin",
|
|
26
|
+
"README.md"
|
|
26
27
|
],
|
|
27
28
|
"dependencies": {
|
|
28
29
|
"@inquirer/prompts": "^7.2.0",
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
"commander": "^13.0.0",
|
|
31
32
|
"ora": "^8.1.1",
|
|
32
33
|
"which": "^5.0.0",
|
|
33
|
-
"@defai.digital/ax-core": "4.4.
|
|
34
|
+
"@defai.digital/ax-core": "4.4.17"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@types/node": "^22.10.1",
|