oioxo-mcp 0.1.7 → 0.3.1
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 +32 -8
- package/bundle/cli.js +121 -56
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
# OIOXO — Context Engine
|
|
1
|
+
# OIOXO — Context Engine + On-Device Coding Agent
|
|
2
2
|
|
|
3
3
|
**Your AI agents read 10× more code than they need. You pay for every token of it.**
|
|
4
4
|
|
|
5
|
-
OIOXO
|
|
5
|
+
OIOXO does two things from one CLI:
|
|
6
|
+
1. **Context engine** — sits between your codebase and your AI agents (GitHub Copilot, Claude Code, Cursor, Windsurf, Gemini CLI, Codex) and hands them the *minimal relevant slice* of your project instead of letting them read whole files.
|
|
7
|
+
2. **Coding agent** — `oioxo code "<task>"` plans, edits, and verifies in your repo, using your own key **or a private on-device model** (`--local`). See [Code in your terminal](#code-in-your-terminal--oioxo-code).
|
|
6
8
|
|
|
7
9
|
**Measured on a real production codebase: 90–92% fewer context tokens per question.** A question that costs an agent ~50,000 tokens of file reading comes back as a ~5,000-token capsule — same answer, a fraction of the cost.
|
|
8
10
|
|
|
@@ -19,19 +21,37 @@ Restart your agent. From the next prompt on, it calls OIOXO before reading files
|
|
|
19
21
|
|
|
20
22
|
Prefer zero terminal? Install the [OIOXO VS Code extension](https://marketplace.visualstudio.com/items?itemName=oioxo.oioxo-vscode) — it wires every workspace automatically and shows your live savings in the status bar.
|
|
21
23
|
|
|
24
|
+
## Code in your terminal — `oioxo code`
|
|
25
|
+
|
|
26
|
+
OIOXO isn't only a context engine for *other* agents — it's a coding agent in its own right. `oioxo code` plans, edits, and **verifies on your machine** (runs your tests / typecheck), then shows the diff and asks before writing any file.
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# with your own key (BYOK) — the capsule means even a frontier model reads ~10× fewer tokens
|
|
30
|
+
OPENAI_API_KEY=… oioxo code "add a --json flag to the status command"
|
|
31
|
+
ANTHROPIC_API_KEY=… oioxo code "fix the failing test" --verify "npm test"
|
|
32
|
+
|
|
33
|
+
# 100% on-device — private, zero API tokens, nothing leaves your machine
|
|
34
|
+
oioxo code "add input validation to the signup form" --local
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
- **Verified, not vibes** — every change is run through your tests/typecheck on a shadow copy; a red result is fed back and repaired. Your real files are only touched after you approve the diff.
|
|
38
|
+
- **Bring any model** — OpenAI, Anthropic, Groq, Mistral, Together, local Ollama, or any OpenAI-compatible base (`OIOXO_PROVIDER` / `OIOXO_BASE_URL` / `OIOXO_MODEL` / `OIOXO_API_KEY`).
|
|
39
|
+
- **Or none** — `--local` runs an open coder model on-device via llama.cpp (auto-downloaded once to `~/.oioxo/models`). Private and free; the OIOXO model is the same engine.
|
|
40
|
+
|
|
41
|
+
Flags: `--verify "<cmd>"` (override the test command) · `--yes` (apply without the prompt) · `--local` (on-device) · `--max-iters N`.
|
|
42
|
+
|
|
22
43
|
## Why developers use it
|
|
23
44
|
|
|
24
45
|
- 💸 **Subscriptions go further** — Copilot premium requests, Claude limits, API keys all burn down slower.
|
|
25
|
-
- ⚡ **Better answers** — focused context beats 75k tokens of noise;
|
|
46
|
+
- ⚡ **Better answers** — focused context beats 75k tokens of noise; your agent gets the exact code in play and the parts of the project it actually depends on.
|
|
26
47
|
- 🔒 **100% on-device** — your code is indexed and queried locally, never uploaded. Only the saved-token *count* is metered.
|
|
27
48
|
- 🪄 **One command** — `init` detects Claude Code, VS Code/Copilot, Cursor, Windsurf, Gemini CLI and Codex, and merges their configs without touching your other MCP servers.
|
|
28
49
|
|
|
29
|
-
## How it works
|
|
50
|
+
## How it works (for you)
|
|
30
51
|
|
|
31
|
-
1. **
|
|
32
|
-
2. **
|
|
33
|
-
3. **
|
|
34
|
-
4. **Compress** — anchors ship as full code; neighbors ship as signatures only.
|
|
52
|
+
1. **Point it at your project** — `oioxo-mcp init` wires your agents in one command.
|
|
53
|
+
2. **Ask your agent normally** — it calls OIOXO first, gets just the relevant slice, and answers.
|
|
54
|
+
3. **Watch the savings add up** — `oioxo-mcp status` shows tokens saved; nothing about your code leaves your machine.
|
|
35
55
|
|
|
36
56
|
## Tools your agent gets
|
|
37
57
|
|
|
@@ -45,6 +65,8 @@ Prefer zero terminal? Install the [OIOXO VS Code extension](https://marketplace.
|
|
|
45
65
|
## Commands
|
|
46
66
|
|
|
47
67
|
```
|
|
68
|
+
oioxo-mcp code "<task>" code in this repo: capsule-grounded, verified, then asks
|
|
69
|
+
before writing (--verify "<cmd>" · --yes · --local · --max-iters)
|
|
48
70
|
oioxo-mcp login connect your OIOXO account
|
|
49
71
|
oioxo-mcp init [--all] write agent MCP configs + instruction files
|
|
50
72
|
oioxo-mcp serve run the MCP server (agent configs call this)
|
|
@@ -52,6 +74,8 @@ oioxo-mcp status plan, savings and index stats
|
|
|
52
74
|
oioxo-mcp logout remove the stored credential
|
|
53
75
|
```
|
|
54
76
|
|
|
77
|
+
> The binary is published as `oioxo-mcp`; `oioxo code …` and `oioxo-mcp code …` are the same.
|
|
78
|
+
|
|
55
79
|
## Pricing
|
|
56
80
|
|
|
57
81
|
- **Free** — a generous monthly saved-tokens allowance with any OIOXO account.
|