cheaplane 0.2.0__tar.gz → 0.2.1__tar.gz
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.
- {cheaplane-0.2.0 → cheaplane-0.2.1}/PKG-INFO +28 -3
- {cheaplane-0.2.0 → cheaplane-0.2.1}/README.md +27 -2
- {cheaplane-0.2.0 → cheaplane-0.2.1}/pyproject.toml +1 -1
- {cheaplane-0.2.0 → cheaplane-0.2.1}/.gitignore +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/LICENSE +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/SKILL.md +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/hooks/delegate-reminder.sh +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/install-hook.sh +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/litellm.yaml.example +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/probe.py +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/server.py +0 -0
- {cheaplane-0.2.0 → cheaplane-0.2.1}/setup.sh +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: cheaplane
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Offload grunt work from your subscription LLM to cheap models via MCP — auto-routing, a savings ledger, and billing isolation.
|
|
5
5
|
Project-URL: Homepage, https://github.com/millennialdreamer/cheaplane
|
|
6
6
|
Project-URL: Repository, https://github.com/millennialdreamer/cheaplane
|
|
@@ -33,12 +33,15 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
|
|
34
34
|
> **Keep your premium subscription on the main thread. Offload the grunt work to cheap models — Cheaplane even picks the right one for you. Stop burning premium tokens on boilerplate.**
|
|
35
35
|
|
|
36
|
+
[](https://pypi.org/project/cheaplane/)
|
|
36
37
|

|
|
37
38
|

|
|
38
39
|

|
|
39
40
|

|
|
40
41
|

|
|
41
42
|
|
|
43
|
+
<!-- mcp-name: io.github.millennialdreamer/cheaplane -->
|
|
44
|
+
|
|
42
45
|
Cheaplane is a tiny single-file MCP server (~250 lines, stdlib + `mcp` only) that gives your main agent — e.g. **Claude Code on a Max subscription** — one extra tool: **`delegate`**. Your agent keeps doing the thinking (planning, architecture, final review) and hands *replaceable grunt work* — boilerplate code, formatting, translation, summarizing long docs — to cheap models behind a local [LiteLLM](https://github.com/BerriAI/litellm) proxy (DeepSeek, Kimi, Qwen, …). Think of it as **a cheap intern for your premium agent** — it churns out the boring parts while you keep thinking.
|
|
43
46
|
|
|
44
47
|
The trick that makes it *safe*: **the delegated calls and your subscription live in physically separate processes and never share credentials.** ([why that matters ⬇️](#billing-isolation-the-whole-point))
|
|
@@ -132,6 +135,15 @@ bash setup.sh # deps + register MCP + reminder h
|
|
|
132
135
|
|
|
133
136
|
<p align="center"><img src="assets/setup.png" alt="bash setup.sh — installs deps, registers the MCP server with Claude Code, installs the reminder hook, and verifies the chain end-to-end" width="760"></p>
|
|
134
137
|
|
|
138
|
+
**Prefer a package?** Cheaplane is on PyPI — no clone, no path to hard-code:
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
pip install cheaplane # or: uvx cheaplane / pipx install cheaplane
|
|
142
|
+
claude mcp add delegate cheaplane
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
You still want the proxy from step 1 below, and the [reminder hook](#make-your-agent-actually-use-it) is worth it — that part needs the repo.
|
|
146
|
+
|
|
135
147
|
<details>
|
|
136
148
|
<summary><b>Manual setup / what <code>setup.sh</code> does under the hood</b></summary>
|
|
137
149
|
|
|
@@ -155,14 +167,27 @@ litellm --config litellm.yaml # serves http://localhost:4000
|
|
|
155
167
|
|
|
156
168
|
That `model_name: deepseek` lines up with Cheaplane's default alias, so it works out of the box. (`deepseek` is a built-in LiteLLM provider — no `api_base` needed; you'd add one only for a custom or self-hosted endpoint.) Already have an OpenAI-compatible endpoint (LiteLLM, OpenRouter, Ollama, vLLM…)? Skip this and just point `DELEGATE_BASE_URL` at it.
|
|
157
169
|
|
|
158
|
-
**2. Install Cheaplane
|
|
170
|
+
**2. Install Cheaplane** — from PyPI, or from a clone if you also want the reminder hook and `probe.py`:
|
|
159
171
|
|
|
172
|
+
```bash
|
|
173
|
+
pip install cheaplane # installs a `cheaplane` command; that's the whole install
|
|
174
|
+
```
|
|
160
175
|
```bash
|
|
161
176
|
git clone https://github.com/millennialdreamer/cheaplane && cd cheaplane
|
|
162
177
|
uv sync # or: python -m venv .venv && .venv/bin/pip install mcp
|
|
163
178
|
```
|
|
164
179
|
|
|
165
|
-
**3. Register it with your MCP client
|
|
180
|
+
**3. Register it with your MCP client.** Installed from PyPI — the command is already on your `PATH`:
|
|
181
|
+
|
|
182
|
+
```json
|
|
183
|
+
{
|
|
184
|
+
"mcpServers": {
|
|
185
|
+
"delegate": { "command": "cheaplane" }
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
From a clone — copy `.mcp.json.example` to `.mcp.json` in the repo root and fix the path (or use `claude mcp add`):
|
|
166
191
|
|
|
167
192
|
```json
|
|
168
193
|
{
|
|
@@ -6,12 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
> **Keep your premium subscription on the main thread. Offload the grunt work to cheap models — Cheaplane even picks the right one for you. Stop burning premium tokens on boilerplate.**
|
|
8
8
|
|
|
9
|
+
[](https://pypi.org/project/cheaplane/)
|
|
9
10
|

|
|
10
11
|

|
|
11
12
|

|
|
12
13
|

|
|
13
14
|

|
|
14
15
|
|
|
16
|
+
<!-- mcp-name: io.github.millennialdreamer/cheaplane -->
|
|
17
|
+
|
|
15
18
|
Cheaplane is a tiny single-file MCP server (~250 lines, stdlib + `mcp` only) that gives your main agent — e.g. **Claude Code on a Max subscription** — one extra tool: **`delegate`**. Your agent keeps doing the thinking (planning, architecture, final review) and hands *replaceable grunt work* — boilerplate code, formatting, translation, summarizing long docs — to cheap models behind a local [LiteLLM](https://github.com/BerriAI/litellm) proxy (DeepSeek, Kimi, Qwen, …). Think of it as **a cheap intern for your premium agent** — it churns out the boring parts while you keep thinking.
|
|
16
19
|
|
|
17
20
|
The trick that makes it *safe*: **the delegated calls and your subscription live in physically separate processes and never share credentials.** ([why that matters ⬇️](#billing-isolation-the-whole-point))
|
|
@@ -105,6 +108,15 @@ bash setup.sh # deps + register MCP + reminder h
|
|
|
105
108
|
|
|
106
109
|
<p align="center"><img src="assets/setup.png" alt="bash setup.sh — installs deps, registers the MCP server with Claude Code, installs the reminder hook, and verifies the chain end-to-end" width="760"></p>
|
|
107
110
|
|
|
111
|
+
**Prefer a package?** Cheaplane is on PyPI — no clone, no path to hard-code:
|
|
112
|
+
|
|
113
|
+
```bash
|
|
114
|
+
pip install cheaplane # or: uvx cheaplane / pipx install cheaplane
|
|
115
|
+
claude mcp add delegate cheaplane
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
You still want the proxy from step 1 below, and the [reminder hook](#make-your-agent-actually-use-it) is worth it — that part needs the repo.
|
|
119
|
+
|
|
108
120
|
<details>
|
|
109
121
|
<summary><b>Manual setup / what <code>setup.sh</code> does under the hood</b></summary>
|
|
110
122
|
|
|
@@ -128,14 +140,27 @@ litellm --config litellm.yaml # serves http://localhost:4000
|
|
|
128
140
|
|
|
129
141
|
That `model_name: deepseek` lines up with Cheaplane's default alias, so it works out of the box. (`deepseek` is a built-in LiteLLM provider — no `api_base` needed; you'd add one only for a custom or self-hosted endpoint.) Already have an OpenAI-compatible endpoint (LiteLLM, OpenRouter, Ollama, vLLM…)? Skip this and just point `DELEGATE_BASE_URL` at it.
|
|
130
142
|
|
|
131
|
-
**2. Install Cheaplane
|
|
143
|
+
**2. Install Cheaplane** — from PyPI, or from a clone if you also want the reminder hook and `probe.py`:
|
|
132
144
|
|
|
145
|
+
```bash
|
|
146
|
+
pip install cheaplane # installs a `cheaplane` command; that's the whole install
|
|
147
|
+
```
|
|
133
148
|
```bash
|
|
134
149
|
git clone https://github.com/millennialdreamer/cheaplane && cd cheaplane
|
|
135
150
|
uv sync # or: python -m venv .venv && .venv/bin/pip install mcp
|
|
136
151
|
```
|
|
137
152
|
|
|
138
|
-
**3. Register it with your MCP client
|
|
153
|
+
**3. Register it with your MCP client.** Installed from PyPI — the command is already on your `PATH`:
|
|
154
|
+
|
|
155
|
+
```json
|
|
156
|
+
{
|
|
157
|
+
"mcpServers": {
|
|
158
|
+
"delegate": { "command": "cheaplane" }
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
From a clone — copy `.mcp.json.example` to `.mcp.json` in the repo root and fix the path (or use `claude mcp add`):
|
|
139
164
|
|
|
140
165
|
```json
|
|
141
166
|
{
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|