@moreai/code 0.0.0-stage → 0.1.0-beta.6
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/LICENSE +28 -0
- package/README.md +400 -2
- package/dist/THIRD_PARTY_LICENSES.txt +7450 -0
- package/dist/daemon.mjs +3290 -0
- package/dist/locales.dat +0 -0
- package/dist/moreai.mjs +373 -0
- package/dist/resources/file-acl/macos/moreai-file-acl +0 -0
- package/media/approve.webp +0 -0
- package/media/connect.webp +0 -0
- package/media/desktop-code.webp +0 -0
- package/media/desktop-home.webp +0 -0
- package/media/desktop-scheduled.webp +0 -0
- package/media/download-linux.svg +8 -0
- package/media/download-macos.svg +8 -0
- package/media/download-windows.svg +8 -0
- package/media/helpers.webp +0 -0
- package/media/open-web-app.svg +8 -0
- package/media/session.webp +0 -0
- package/media/start.webp +0 -0
- package/media/web-app.webp +0 -0
- package/package.json +71 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
More AI Code
|
|
2
|
+
Copyright (c) 2026 More AI. All rights reserved.
|
|
3
|
+
|
|
4
|
+
This software is proprietary. It is licensed, not sold.
|
|
5
|
+
|
|
6
|
+
You may install the published package and use it to run More AI Code for your
|
|
7
|
+
own work, subject to the More AI Terms of Service (https://more-ai.net/terms).
|
|
8
|
+
|
|
9
|
+
You may not, except to the extent applicable law expressly permits it despite
|
|
10
|
+
this restriction:
|
|
11
|
+
- copy, modify, merge, publish, distribute, sublicense or sell the software
|
|
12
|
+
or any part of it;
|
|
13
|
+
- reverse engineer, decompile, disassemble or otherwise attempt to derive
|
|
14
|
+
its source code, or extract its prompts, policies or other components for
|
|
15
|
+
use outside More AI Code;
|
|
16
|
+
- remove or alter this notice.
|
|
17
|
+
|
|
18
|
+
Third-party components bundled with the software are distributed under their
|
|
19
|
+
own licenses, reproduced in THIRD_PARTY_LICENSES.txt; those licenses govern
|
|
20
|
+
those components only.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,401 @@
|
|
|
1
|
-
|
|
1
|
+
<h1 align="center">More AI Code</h1>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<b>An AI coding agent for your terminal — on any model you choose.</b><br>
|
|
5
|
+
Your own keys, an engine on your machine, a free desktop app and the cloud
|
|
6
|
+
when you want them.
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="https://www.npmjs.com/package/@moreai/code"><img alt="npm" src="https://img.shields.io/npm/v/@moreai/code/beta?label=npm%20beta&color=ff7a45"></a>
|
|
11
|
+
<img alt="Node.js 22+" src="https://img.shields.io/badge/node-%E2%89%A522-339933">
|
|
12
|
+
<img alt="macOS · Linux · Windows" src="https://img.shields.io/badge/macOS%20%C2%B7%20Linux%20%C2%B7%20Windows-555">
|
|
13
|
+
<a href="https://more-ai.net/cli"><img alt="more-ai.net" src="https://img.shields.io/badge/more--ai.net-website-111"></a>
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
<p align="center">
|
|
17
|
+
<img alt="More AI Code exploring a repository, editing a file, writing a test, running it and summarising the change" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/session.webp" width="860">
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
More AI Code is an assistant that works in your project from the terminal.
|
|
21
|
+
Describe a task in plain words — "fix the failing test", "add validation to
|
|
22
|
+
the signup form", "explain how billing works" — and it reads the code, edits
|
|
23
|
+
the files, runs the commands and tests, and tells you what it changed. You stay
|
|
24
|
+
in control: anything risky waits for your yes.
|
|
25
|
+
|
|
26
|
+
It works with the AI you already have: an API key from more than 30 providers,
|
|
27
|
+
a subscription sign-in where the provider offers one, or a model running on your
|
|
28
|
+
own computer. No account and no desktop app are needed.
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
npm install -g @moreai/code
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
<p align="center">
|
|
35
|
+
<a href="https://more-ai.net/cli">Website</a> ·
|
|
36
|
+
<a href="https://more-ai.net/docs#cli">Documentation</a> ·
|
|
37
|
+
<a href="#the-more-ai-desktop-app">Desktop app</a> ·
|
|
38
|
+
<a href="#how-it-compares">Compare</a> ·
|
|
39
|
+
<a href="mailto:support@more-ai.net">Support</a>
|
|
40
|
+
</p>
|
|
41
|
+
|
|
42
|
+
## Why More AI Code
|
|
43
|
+
|
|
44
|
+
- **Any model, one agent.** More than 30 providers, a subscription sign-in
|
|
45
|
+
where the provider offers one, models on your own computer through Ollama or
|
|
46
|
+
LM Studio, or any OpenAI- or Anthropic-compatible endpoint. Switch with
|
|
47
|
+
`/model` in the middle of a session; provider keys already in your
|
|
48
|
+
environment are offered on the first launch.
|
|
49
|
+
- **An `auto` mode that decides instead of nagging.** Clear rules plus an AI
|
|
50
|
+
check against what you actually asked for: safe steps run, and anything it
|
|
51
|
+
cannot show to be safe is declined with a reason — no wall of yes/no prompts,
|
|
52
|
+
no unasked `rm -rf`. On macOS and Linux, commands run in an OS sandbox.
|
|
53
|
+
- **A guard against poisoned packages.** Before the agent installs a
|
|
54
|
+
dependency, the exact version is checked against the OSV malware database —
|
|
55
|
+
a known-malicious version is refused in every mode. A version published less
|
|
56
|
+
than 72 hours ago waits for your OK, install scripts are switched off for
|
|
57
|
+
installs it runs on its own, and the lockfile is checked again afterwards.
|
|
58
|
+
- **Your secrets stay out of the model.** API keys and tokens in files, command
|
|
59
|
+
output, web pages and your own messages are masked before the model reads
|
|
60
|
+
them. When the agent writes a file back, the real values are put back, so
|
|
61
|
+
nothing breaks.
|
|
62
|
+
- **Prompt-injection aware.** Files, web pages and connector results reach the
|
|
63
|
+
model marked as data. If one of them tries to give the agent orders, the
|
|
64
|
+
agent is warned and stops approving its own actions for the rest of the run.
|
|
65
|
+
- **Checks its own work.** After changing code it runs your project's checks —
|
|
66
|
+
the typecheck in `package.json`, `cargo check`, `go vet`, or the `check:`
|
|
67
|
+
command in your `AGENTS.md` — and fixes what fails before it calls the job
|
|
68
|
+
done.
|
|
69
|
+
- **The cloud when you want it.** Move a task, uncommitted changes included,
|
|
70
|
+
into a cloud session, close the laptop, and get the work back as a new branch
|
|
71
|
+
or a pull request. It runs on a More AI model or on your own provider key.
|
|
72
|
+
- **One account, every screen.** The CLI shares its engine with the free
|
|
73
|
+
[More AI desktop app](#the-more-ai-desktop-app): a session you start in the
|
|
74
|
+
terminal is waiting in the app. Signed in, your work is also in the web app.
|
|
75
|
+
- **Helpers, voice and 35 languages.** Parallel helper agents for broad
|
|
76
|
+
questions, `Ctrl+T` dictation straight into the prompt, and an interface in
|
|
77
|
+
your language.
|
|
78
|
+
|
|
79
|
+
## How it compares
|
|
80
|
+
|
|
81
|
+
| | More AI Code | Claude Code | OpenCode | Codex CLI |
|
|
82
|
+
| --- | --- | --- | --- | --- |
|
|
83
|
+
| **Models** | 30+ providers, subscription sign-in where offered, local models, any compatible endpoint | Claude models — Anthropic API, Bedrock, Vertex AI, Foundry | Many providers and local models | OpenAI models; other providers and local models through `config.toml` |
|
|
84
|
+
| **Price** | Free; you pay your provider | Claude plan or API billing | Free and open source; you pay your provider | ChatGPT plan or API billing |
|
|
85
|
+
| **Cloud runs with your computer off** | A More AI model or your own provider key; back as a branch or PR | With a Claude plan | Through third-party hosts | Codex cloud, with ChatGPT sign-in |
|
|
86
|
+
| **Commands in an OS sandbox** | macOS, Linux | Yes | Permission rules, no OS sandbox | Yes |
|
|
87
|
+
| **Dependency installs** | Malware refused, versions under 72 h held, install scripts off | The sandbox limits what a package can reach | No built-in check | The sandbox limits what a package can reach |
|
|
88
|
+
|
|
89
|
+
<sub>Other products as described in their own documentation on 14 October
|
|
90
|
+
2026; they change quickly. Detailed comparisons with sources:
|
|
91
|
+
[Claude Code](https://more-ai.net/compare/claude-code) ·
|
|
92
|
+
[OpenCode](https://more-ai.net/compare/opencode) ·
|
|
93
|
+
[Codex CLI](https://more-ai.net/compare/codex-cli) ·
|
|
94
|
+
[Aider](https://more-ai.net/compare/aider) ·
|
|
95
|
+
[Cline](https://more-ai.net/compare/cline).
|
|
96
|
+
Spotted something out of date? [support@more-ai.net](mailto:support@more-ai.net).</sub>
|
|
97
|
+
|
|
98
|
+
## Install
|
|
99
|
+
|
|
100
|
+
```sh
|
|
101
|
+
npm install -g @moreai/code
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
> **Keep the `-g`.** The install box in npm's sidebar shows
|
|
105
|
+
> `npm i @moreai/code`, which only adds the package to the current folder — the
|
|
106
|
+
> `moreai` command appears only after a global install.
|
|
107
|
+
|
|
108
|
+
Requires **Node.js 22 or newer** (`node --version`) on macOS, Linux or Windows.
|
|
109
|
+
Check the install with `moreai --version`. On Linux, if npm answers `EACCES`,
|
|
110
|
+
install Node with a version manager (nvm or fnm) instead of using `sudo`.
|
|
111
|
+
|
|
112
|
+
Prefer a window to a terminal? The same agent comes as a
|
|
113
|
+
[free desktop app](#the-more-ai-desktop-app).
|
|
114
|
+
|
|
115
|
+
## Get started in three steps
|
|
116
|
+
|
|
117
|
+
### 1. Open your project and connect a model
|
|
118
|
+
|
|
119
|
+
```sh
|
|
120
|
+
cd your-project
|
|
121
|
+
moreai
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
The first launch asks how to reach a model. Pick a provider from the list (type
|
|
125
|
+
to search), then paste an API key, sign in with your subscription, or choose a
|
|
126
|
+
local model from Ollama or LM Studio. Keys stay on your machine.
|
|
127
|
+
|
|
128
|
+
<p align="center">
|
|
129
|
+
<img alt="The first launch: a searchable list of AI providers — Anthropic, OpenAI, ChatGPT, Google Gemini, GitHub Copilot, OpenRouter and more" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/connect.webp" width="760">
|
|
130
|
+
</p>
|
|
131
|
+
|
|
132
|
+
Already have `ANTHROPIC_API_KEY`, `OPENAI_API_KEY` or another provider key in
|
|
133
|
+
your environment? It is offered at the top of the list.
|
|
134
|
+
|
|
135
|
+
### 2. Say what you want done
|
|
136
|
+
|
|
137
|
+
Type the task as you would tell a colleague and press **Enter**. The line under
|
|
138
|
+
the prompt shows the access mode, the model and your branch.
|
|
139
|
+
|
|
140
|
+
<p align="center">
|
|
141
|
+
<img alt="A session in a project folder, with the task typed into the prompt" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/start.webp" width="760">
|
|
142
|
+
</p>
|
|
143
|
+
|
|
144
|
+
### 3. Follow along and approve what matters
|
|
145
|
+
|
|
146
|
+
The agent shows every step: files it reads, each edit as a diff, commands and
|
|
147
|
+
their output. You choose how much it may do on its own. In `accept-edits`,
|
|
148
|
+
shown here, it edits files freely and stops before every command — allow it
|
|
149
|
+
once, for the session, always, or deny it. In `auto`, the default, it runs
|
|
150
|
+
what it can show is safe and declines the rest.
|
|
151
|
+
|
|
152
|
+
<p align="center">
|
|
153
|
+
<img alt="A permission card asking to run npm test, with the choices Allow once, Allow for this session, Always allow and Deny" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/approve.webp" width="760">
|
|
154
|
+
</p>
|
|
155
|
+
|
|
156
|
+
While it works you can keep typing to steer it, **Esc** interrupts, and
|
|
157
|
+
**Shift+Tab** switches the access mode (see *Access modes* below). `/help`
|
|
158
|
+
lists every command.
|
|
159
|
+
|
|
160
|
+
## The More AI desktop app
|
|
161
|
+
|
|
162
|
+
The same agent with a window around it — **free for macOS, Windows and
|
|
163
|
+
Linux**. It shares this CLI's engine and your account, so a session you start
|
|
164
|
+
in the terminal is in the app's **Code** section, and the other way round.
|
|
165
|
+
|
|
166
|
+
<p align="center">
|
|
167
|
+
<a href="https://more-ai.net/download/mac"><img alt="Download for macOS" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/download-macos.svg" width="168"></a>
|
|
168
|
+
<a href="https://more-ai.net/download/windows"><img alt="Download for Windows" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/download-windows.svg" width="168"></a>
|
|
169
|
+
<a href="https://more-ai.net/download/linux"><img alt="Download for Linux" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/download-linux.svg" width="168"></a>
|
|
170
|
+
<a href="https://app.more-ai.net/"><img alt="Open the web app" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/open-web-app.svg" width="168"></a>
|
|
171
|
+
</p>
|
|
172
|
+
|
|
173
|
+
<p align="center">
|
|
174
|
+
<img alt="The desktop app's Code section: a session that added retries to an API client, with its plan, the files it changed and a diff panel" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/desktop-code.webp" width="860">
|
|
175
|
+
</p>
|
|
176
|
+
|
|
177
|
+
- **Code** — sessions grouped by folder, every edit as a diff, an embedded
|
|
178
|
+
terminal, isolated git worktrees, and a built-in browser to look at the page
|
|
179
|
+
you just changed.
|
|
180
|
+
- **Home** — the agent for everything that is not a repository: work through a
|
|
181
|
+
folder of notes, build a spreadsheet, a Word document, a slide deck or a PDF,
|
|
182
|
+
research a question on the web.
|
|
183
|
+
- **Scheduled tasks** — "every morning, summarise new files and list today's
|
|
184
|
+
priorities". Runs on your computer, or in the cloud with the computer off.
|
|
185
|
+
- **Connectors** — Gmail, Google Calendar and Drive, GitHub, Linear, Notion and
|
|
186
|
+
more than 180 other services the agent can read and act in.
|
|
187
|
+
- **Voice** — dictation with on-device models or cloud transcription, and a
|
|
188
|
+
global shortcut that opens a prompt from any app.
|
|
189
|
+
- **Web and phone** — sign in and your conversations and tasks are also at
|
|
190
|
+
[app.more-ai.net](https://app.more-ai.net/), on any computer or phone.
|
|
191
|
+
|
|
192
|
+
<p align="center">
|
|
193
|
+
<img alt="Home: the agent reading interview notes in a project folder and updating an outline, with its task list" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/desktop-home.webp" width="360">
|
|
194
|
+
<img alt="Scheduled tasks: a morning brief, a weekly competitor scan and a notes-to-outline task with their schedules and last results" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/desktop-scheduled.webp" width="360">
|
|
195
|
+
</p>
|
|
196
|
+
|
|
197
|
+
## Everyday commands
|
|
198
|
+
|
|
199
|
+
```sh
|
|
200
|
+
moreai # interactive session in this folder
|
|
201
|
+
moreai setup # guided setup: model, optional account and services
|
|
202
|
+
moreai auth # connect or change an AI provider
|
|
203
|
+
moreai auth env # connect every provider key found in your environment
|
|
204
|
+
moreai doctor # check that everything is ready
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
## Access modes
|
|
208
|
+
|
|
209
|
+
| Mode | What the agent may do |
|
|
210
|
+
| --- | --- |
|
|
211
|
+
| `plan` | Read the code and propose a plan for you to approve; then it builds |
|
|
212
|
+
| `read-only` | Read and answer; never change anything |
|
|
213
|
+
| `accept-edits` | Edit files on its own; ask before running commands |
|
|
214
|
+
| `auto` *(default)* | Work on its own; anything it cannot show to be safe is declined |
|
|
215
|
+
| `full` | Run everything except a small set of destructive commands |
|
|
216
|
+
|
|
217
|
+
Pick one with **Shift+Tab** in a session or `--mode <mode>` on the command line.
|
|
218
|
+
|
|
219
|
+
## Helper agents
|
|
220
|
+
|
|
221
|
+
<p align="center">
|
|
222
|
+
<img alt="Three parallel helper agents researching webhooks, each with its result, then the combined answer" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/helpers.webp" width="860">
|
|
223
|
+
</p>
|
|
224
|
+
|
|
225
|
+
For broad questions the agent can start several **helper agents** in
|
|
226
|
+
parallel. Each gets its own line — what it was asked, what it is doing now,
|
|
227
|
+
and when it finishes, its tool count, tokens and time with the first line of
|
|
228
|
+
its report. The run's token total shows how much of it went to helpers.
|
|
229
|
+
Helpers only read; the main agent makes the changes.
|
|
230
|
+
|
|
231
|
+
Start a task with `@explore`, `@scout` or `@general` to hand it to a helper
|
|
232
|
+
directly:
|
|
233
|
+
|
|
234
|
+
```sh
|
|
235
|
+
moreai "@explore how does the billing webhook verify signatures?"
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
## Cloud sessions
|
|
239
|
+
|
|
240
|
+
With a More AI account (`moreai login`), a task can run in the cloud instead
|
|
241
|
+
of on this computer — on a More AI model or on a provider key you allow for
|
|
242
|
+
cloud use. It keeps running with your laptop closed; follow it here, or open it
|
|
243
|
+
in the web app on any computer or your phone.
|
|
244
|
+
|
|
245
|
+
```sh
|
|
246
|
+
moreai cloud run "add tests for the parser" # move this folder into a cloud session
|
|
247
|
+
moreai --cloud "add tests for the parser" # the same
|
|
248
|
+
moreai cloud # your cloud sessions and their state
|
|
249
|
+
moreai cloud open <id> # the conversation and its link
|
|
250
|
+
moreai cloud finish <id> # bring the work back again
|
|
251
|
+
```
|
|
252
|
+
|
|
253
|
+
`moreai cloud run` uploads the folder as it is — your branch, commits and
|
|
254
|
+
uncommitted changes, never files that look like secrets or are over 25 MB —
|
|
255
|
+
and follows the task in the terminal. **Ctrl+C** stops following; the task
|
|
256
|
+
keeps running. When it finishes, the work comes back as a **new branch**
|
|
257
|
+
`more-ai/<topic>-<id>`, and your own branch and edits are never touched. In a
|
|
258
|
+
GitHub or GitLab repository it is pushed and a pull request is opened with
|
|
259
|
+
your own `gh` / `glab` login; `--finish push|branch|folder` chooses otherwise.
|
|
260
|
+
Inside a session, `/cloud` does the same.
|
|
261
|
+
|
|
262
|
+
<p align="center">
|
|
263
|
+
<img alt="The More AI web app at app.more-ai.net, with recent conversations and a scheduled task in the sidebar" src="https://unpkg.com/@moreai/code@0.1.0-beta.6/media/web-app.webp" width="760">
|
|
264
|
+
</p>
|
|
265
|
+
|
|
266
|
+
## Scripts and pipes
|
|
267
|
+
|
|
268
|
+
```sh
|
|
269
|
+
moreai -p "summarise the open TODOs" # run once, print the answer, exit
|
|
270
|
+
git diff | moreai -p "review this diff"
|
|
271
|
+
moreai -p --json "add types to utils.ts" # one JSON event per line
|
|
272
|
+
moreai -c # continue the newest session here
|
|
273
|
+
moreai sessions # this folder's sessions
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
| Option | Meaning |
|
|
277
|
+
| --- | --- |
|
|
278
|
+
| `-p, --print` | Run once without the interactive interface |
|
|
279
|
+
| `--json` | With `-p`: machine-readable events, one per line |
|
|
280
|
+
| `-c, --continue` | Continue this folder's newest session |
|
|
281
|
+
| `--session <id>` | Resume a specific session |
|
|
282
|
+
| `-m, --model <id>` | Choose the model for this run |
|
|
283
|
+
| `--provider <id>` | Say which provider serves `--model` |
|
|
284
|
+
| `--mode <mode>` | Access mode (see above) |
|
|
285
|
+
| `-C, --cwd <dir>` | Work in another folder |
|
|
286
|
+
| `--cloud` | Run the task in a cloud session |
|
|
287
|
+
| `--finish <how>` | With `--cloud`: `pr`, `push`, `branch` or `folder` |
|
|
288
|
+
| `--detach` | With `--cloud`: start it and return immediately |
|
|
289
|
+
| `--lang <id>` | Interface language for this run |
|
|
290
|
+
|
|
291
|
+
## In the session
|
|
292
|
+
|
|
293
|
+
| Key | Action |
|
|
294
|
+
| --- | --- |
|
|
295
|
+
| Enter | Send (or steer the running task) |
|
|
296
|
+
| Ctrl+J, or `\` at line end | New line |
|
|
297
|
+
| Esc | Interrupt the run; twice clears the draft |
|
|
298
|
+
| Shift+Tab | Change the access mode |
|
|
299
|
+
| Ctrl+T | Dictate (Enter or Ctrl+T to insert, Esc to discard) |
|
|
300
|
+
| ↑ ↓ | Move between lines, then through your history |
|
|
301
|
+
| Ctrl+O | Expand a large paste back into editable text |
|
|
302
|
+
| Ctrl+D, or Ctrl+C twice | Leave; the command to resume is printed |
|
|
303
|
+
|
|
304
|
+
Useful commands: `/model` (pick a model; **Ctrl+F** pins it), `/sessions`,
|
|
305
|
+
`/connectors` (Gmail, Calendar, Drive, GitHub and other services for the
|
|
306
|
+
agent), `/cloud`, `/language`, `/login`, `/status`, `/help`.
|
|
307
|
+
|
|
308
|
+
## Voice input
|
|
309
|
+
|
|
310
|
+
**Ctrl+T** (or `/voice`) records from the microphone and puts the text at the
|
|
311
|
+
cursor without sending it. Transcription uses More AI dictation once you sign
|
|
312
|
+
in, your own transcription service, or an on-device model set up in the More
|
|
313
|
+
AI desktop app. Recording uses the ffmpeg that comes with the desktop app, or
|
|
314
|
+
`ffmpeg`, `sox`, `parecord` or `arecord` from your `PATH`.
|
|
315
|
+
|
|
316
|
+
## Account and services
|
|
317
|
+
|
|
318
|
+
A More AI account is optional. It adds cloud sessions, sync of your sessions to
|
|
319
|
+
the web and phone apps, More AI dictation, and Google services (Gmail,
|
|
320
|
+
Calendar, Drive) for the agent.
|
|
321
|
+
|
|
322
|
+
```sh
|
|
323
|
+
moreai login # sign in with your email (a code or an approval on another device)
|
|
324
|
+
moreai account # the signed-in account and plan
|
|
325
|
+
moreai connectors # connect a service; `moreai connectors list` shows them
|
|
326
|
+
moreai logout # sign out; your own provider keys stay
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
From a script or an SSH session: `moreai login you@example.com`, then pipe the
|
|
330
|
+
emailed code to `moreai login you@example.com --code-stdin`. When a provider
|
|
331
|
+
signs in through the browser on a remote machine, the CLI prints the
|
|
332
|
+
`ssh -L` command that forwards the sign-in back to your terminal.
|
|
333
|
+
|
|
334
|
+
## How it runs
|
|
335
|
+
|
|
336
|
+
`moreai` starts a small background engine on your machine the first time it
|
|
337
|
+
needs one; later sessions and the More AI desktop app share it, so a session
|
|
338
|
+
started in one place continues in the other. If the desktop app is running with
|
|
339
|
+
**Settings → Agent tools → External clients** on, the CLI uses the app's engine
|
|
340
|
+
instead.
|
|
341
|
+
|
|
342
|
+
Provider keys are encrypted with a key kept in the system keyring (macOS
|
|
343
|
+
Keychain, Windows Credential Manager, or the Secret Service on Linux). A Linux
|
|
344
|
+
server without a keyring service stores them in a file only your user can read
|
|
345
|
+
(`~/.config/More AI/secrets.json`), the way most command-line tools keep tokens.
|
|
346
|
+
|
|
347
|
+
## Privacy
|
|
348
|
+
|
|
349
|
+
Your code and keys stay on your machine unless you move a task to the cloud.
|
|
350
|
+
More AI collects usage analytics to find bugs; with AI traces on (the default)
|
|
351
|
+
the content of runs is included so failed runs can be debugged. API keys are
|
|
352
|
+
never sent. The first interactive session asks once; change it any time:
|
|
353
|
+
|
|
354
|
+
```sh
|
|
355
|
+
moreai analytics off # nothing is sent
|
|
356
|
+
moreai analytics usage # usage only, no conversation content
|
|
357
|
+
moreai analytics on # usage and AI traces
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
`DO_NOT_TRACK=1` or `MOREAI_TELEMETRY=0` turns analytics off for any process
|
|
361
|
+
that sees it.
|
|
362
|
+
|
|
363
|
+
## Update and uninstall
|
|
364
|
+
|
|
365
|
+
```sh
|
|
366
|
+
moreai update # install the newest version now
|
|
367
|
+
moreai update --check # only check whether there is one
|
|
368
|
+
npm uninstall -g @moreai/code
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
A session says when a newer version is out, and `/update` installs it without
|
|
372
|
+
leaving. A version that is no longer supported stops at launch and asks to be
|
|
373
|
+
updated first. `MOREAI_NO_UPDATE_CHECK=1` turns these checks off.
|
|
374
|
+
|
|
375
|
+
The background engine notices an update or uninstall and stops by itself once
|
|
376
|
+
nothing is using it, so the next session runs the new version.
|
|
377
|
+
|
|
378
|
+
Version 0.1.0-beta.1 cannot see newer versions: update it once with
|
|
379
|
+
`npm install -g @moreai/code@latest`. Its engine predates the self-stop and
|
|
380
|
+
keeps running until you restart the computer or run
|
|
381
|
+
`pkill -f @moreai/code/dist/daemon.mjs` (macOS, Linux).
|
|
382
|
+
|
|
383
|
+
## Troubleshooting
|
|
384
|
+
|
|
385
|
+
- **`moreai doctor`** checks the engine, the connection and your setup, and says
|
|
386
|
+
what to fix.
|
|
387
|
+
- **"No AI provider is connected"**: run `moreai auth`, or `moreai auth env` if
|
|
388
|
+
your key is in an environment variable.
|
|
389
|
+
- **The desktop app is running but the CLI cannot attach**: turn on
|
|
390
|
+
**Settings → Agent tools → External clients** in the app, or close the app.
|
|
391
|
+
- **Commands are held on a Linux server**: in `auto` the agent runs commands
|
|
392
|
+
on its own only inside a sandbox (bubblewrap on Linux). Without one, switch to
|
|
393
|
+
`accept-edits` (**Shift+Tab**) to approve each command, or use `--mode full`
|
|
394
|
+
in an environment you trust.
|
|
395
|
+
|
|
396
|
+
Questions and bug reports: [support@more-ai.net](mailto:support@more-ai.net).
|
|
397
|
+
|
|
398
|
+
## License
|
|
399
|
+
|
|
400
|
+
© 2026 More AI. All rights reserved. Proprietary software — see `LICENSE`.
|
|
401
|
+
The open-source components it bundles are listed in `THIRD_PARTY_LICENSES.txt`.
|