gpu4agents 0.9.0__tar.gz → 0.9.2__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.
Files changed (140) hide show
  1. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.claude-plugin/plugin.json +1 -1
  2. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.cursor-plugin/plugin.json +1 -1
  3. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.env.example +1 -1
  4. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/ISSUE_TEMPLATE/bug_report.yml +1 -1
  5. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/CHANGELOG.md +20 -0
  6. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/INSTALL.md +11 -8
  7. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/JOBS.md +1 -1
  8. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/PKG-INFO +7 -7
  9. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/PROVIDERS.md +3 -3
  10. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/README.md +6 -6
  11. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/SERVING.md +2 -2
  12. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/ACCEPTANCE.md +2 -2
  13. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/ADDING_A_PROVIDER.md +2 -2
  14. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/AGENTS.md +10 -4
  15. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/CHOOSING_A_MODEL.md +8 -8
  16. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/CONFIG.md +11 -9
  17. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/INTEGRATION.md +6 -6
  18. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/LIFECYCLE.md +1 -1
  19. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/USAGE.md +9 -9
  20. gpu4agents-0.9.0/examples/jambu.yaml → gpu4agents-0.9.2/examples/gpu.yaml +2 -2
  21. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/README.md +4 -4
  22. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/typescript-client/README.md +2 -2
  23. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/typescript-client/src/gpu.ts +2 -2
  24. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/typescript-client/src/index.ts +1 -1
  25. gpu4agents-0.9.0/jambu.example.yaml → gpu4agents-0.9.2/gpu.example.yaml +3 -3
  26. gpu4agents-0.9.0/jambu.models.yaml → gpu4agents-0.9.2/gpu.models.yaml +4 -4
  27. gpu4agents-0.9.0/jambu.yaml → gpu4agents-0.9.2/gpu.yaml +2 -2
  28. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/__init__.py +1 -1
  29. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/agent/mcp.py +13 -13
  30. {gpu4agents-0.9.0/skills/gpu4agents → gpu4agents-0.9.2/gpu4agents/agent/skill}/SKILL.md +13 -11
  31. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/account.py +84 -14
  32. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/inspect.py +9 -9
  33. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/main.py +2 -2
  34. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/providers.py +4 -4
  35. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/setup.py +18 -5
  36. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/validate.py +1 -1
  37. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/config.py +21 -19
  38. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/credentials.py +2 -2
  39. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/engine.py +2 -2
  40. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/errors.py +1 -1
  41. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/model_inspect.py +3 -3
  42. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/state.py +1 -1
  43. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/base.py +6 -0
  44. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/registry.py +1 -1
  45. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/scaffold.py +1 -1
  46. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/vast/config.py +8 -1
  47. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/vast/provider.py +18 -1
  48. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/hf/server.py +1 -1
  49. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/install.sh +63 -9
  50. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/pyproject.toml +3 -1
  51. {gpu4agents-0.9.0/gpu4agents/agent/skill → gpu4agents-0.9.2/skills/gpu4agents}/SKILL.md +13 -11
  52. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/conftest.py +2 -2
  53. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_agent.py +1 -1
  54. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_cli.py +64 -12
  55. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_config.py +46 -28
  56. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_jobs.py +1 -1
  57. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_model_inspect.py +1 -1
  58. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_serve.py +5 -5
  59. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_sweep.py +6 -6
  60. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.claude-plugin/marketplace.json +0 -0
  61. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  62. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  63. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/dependabot.yml +0 -0
  64. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/pull_request_template.md +0 -0
  65. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/workflows/ci.yml +0 -0
  66. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.github/workflows/release.yml +0 -0
  67. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/.gitignore +0 -0
  68. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/CODE_OF_CONDUCT.md +0 -0
  69. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/CONTRIBUTING.md +0 -0
  70. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/LICENSE +0 -0
  71. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/SECURITY.md +0 -0
  72. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/assets/banner.png +0 -0
  73. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/docs/assets/jambu-logo.jpg +0 -0
  74. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/experiment.py +0 -0
  75. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/package-lock.json +0 -0
  76. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/package.json +0 -0
  77. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/src/agent.ts +0 -0
  78. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/src/index.ts +0 -0
  79. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/src/tools/weather-tool.ts +0 -0
  80. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/mastra-agent/tsconfig.json +0 -0
  81. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/typescript-client/package-lock.json +0 -0
  82. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/typescript-client/package.json +0 -0
  83. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/examples/typescript-client/tsconfig.json +0 -0
  84. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/__main__.py +0 -0
  85. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/agent/__init__.py +0 -0
  86. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/agent/install.py +0 -0
  87. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/agent/jobs.py +0 -0
  88. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/__init__.py +0 -0
  89. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/_common.py +0 -0
  90. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/agent.py +0 -0
  91. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/job.py +0 -0
  92. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/lifecycle.py +0 -0
  93. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/run.py +0 -0
  94. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/status.py +0 -0
  95. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/cli/timer.py +0 -0
  96. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/__init__.py +0 -0
  97. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/beacon.py +0 -0
  98. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/durations.py +0 -0
  99. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/events.py +0 -0
  100. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/execution.py +0 -0
  101. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/health.py +0 -0
  102. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/hosts.py +0 -0
  103. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/job.py +0 -0
  104. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/models.py +0 -0
  105. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/paths.py +0 -0
  106. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/policy.py +0 -0
  107. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/sweep.py +0 -0
  108. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/core/tool_parsers.py +0 -0
  109. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/__init__.py +0 -0
  110. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/vast/__init__.py +0 -0
  111. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/vast/client.py +0 -0
  112. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/providers/vast/mapper.py +0 -0
  113. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/runtime/__init__.py +0 -0
  114. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/runtime/base.py +0 -0
  115. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/runtime/service.py +0 -0
  116. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/runtime/vllm.py +0 -0
  117. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/__init__.py +0 -0
  118. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/hf/__init__.py +0 -0
  119. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/hf/install.sh +0 -0
  120. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/template/__init__.py +0 -0
  121. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/template/gpujob.yaml +0 -0
  122. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/serve/template/server.py +0 -0
  123. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/watchdog/__init__.py +0 -0
  124. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/watchdog/agent_body.py +0 -0
  125. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/watchdog/builder.py +0 -0
  126. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/gpu4agents/watchdog/jobs_ext.py +0 -0
  127. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/jambu_gpu/__init__.py +0 -0
  128. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/jambu_gpu/__main__.py +0 -0
  129. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/skills/gpu4agents/agents/openai.yaml +0 -0
  130. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/fakes.py +0 -0
  131. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_engine.py +0 -0
  132. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_engine_sessions.py +0 -0
  133. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_integration.py +0 -0
  134. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_paths.py +0 -0
  135. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_policy.py +0 -0
  136. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_runtime_vllm.py +0 -0
  137. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_state.py +0 -0
  138. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_vast_mapper.py +0 -0
  139. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_vast_provider.py +0 -0
  140. {gpu4agents-0.9.0 → gpu4agents-0.9.2}/tests/test_watchdog.py +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gpu4agents",
3
3
  "description": "Your agent rents the GPU it needs, serves a model on it and runs the experiment. You pay only while it works.",
4
- "version": "0.9.0",
4
+ "version": "0.9.2",
5
5
  "author": {
6
6
  "name": "João Gabriel Lima",
7
7
  "url": "https://www.linkedin.com/in/joaogabriellima"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gpu4agents",
3
3
  "description": "Your agent rents the GPU it needs, serves a model on it and runs the experiment. You pay only while it works.",
4
- "version": "0.9.0",
4
+ "version": "0.9.2",
5
5
  "author": {
6
6
  "name": "João Gabriel Lima"
7
7
  },
@@ -1,5 +1,5 @@
1
1
  # Credentials are resolved from the environment, this file, or
2
- # ~/.jambu/credentials - never from jambu.yaml.
2
+ # ~/.jambu/credentials - never from gpu.yaml.
3
3
 
4
4
  # Required by the vast provider.
5
5
  VAST_API_KEY=
@@ -16,7 +16,7 @@ body:
16
16
  id: repro
17
17
  attributes:
18
18
  label: How to reproduce
19
- description: The command or MCP tool call, and the relevant part of `jambu.yaml`.
19
+ description: The command or MCP tool call, and the relevant part of `gpu.yaml`.
20
20
  render: shell
21
21
  - type: textarea
22
22
  id: output
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes to this project. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses [Semantic Versioning](https://semver.org/).
4
4
 
5
+ ## [0.9.2] - 2026-11-06
6
+
7
+ ### Changed
8
+ - `gpu login` starts by showing the providers you can use: Vast.ai, ready out of the box, or "another provider I already use", which hands the job to your agent (it writes the adapter). For Vast.ai it then lists the steps in plain words, from creating the account and adding credit to copying the key, before the hidden prompt. `--provider`, `--stdin` and a project's `gpu.yaml` skip the menu, as before.
9
+ - The messages a user sees when no account is connected, from `gpu login --check`, the installer, the skill and `install.md`, no longer assume a technical reader.
10
+
11
+ ### Fixed
12
+ - Oh My Zsh's git plugin, on by default, defines `gpu` as an alias for `git push upstream`, and an alias wins over the command, in a terminal and in an agent's shell. The installer now detects a `gpu` alias in zsh and bash and removes it for new shells, in a marked block at the end of `~/.zshrc` or `~/.bashrc` (`--keep-gpu-alias` leaves it). The command is also installed as `gpu4agents`, which no alias takes, and the skill tells the agent to check `type gpu` first and use `command gpu` when it is an alias.
13
+
14
+ ### Added
15
+ - Provider adapters can describe their own first-time walk-through for `gpu login`: `tagline`, `signup_url` and `setup_steps`.
16
+
17
+ ## [0.9.1] - 2026-11-04
18
+
19
+ ### Changed
20
+ - The config file is `gpu.yaml`, and the model catalog is `gpu.models.yaml`. `gpu init` writes `gpu.yaml`, and the docs, the skill and the website use the new names.
21
+
22
+ ### Upgrading
23
+ - A project with a `jambu.yaml` or `jambu.models.yaml` keeps working: both names are still read, after the new ones. Renaming the file is enough to move over. In a directory that has a `jambu.yaml`, `gpu init` stops and asks you to rename it, or writes a `gpu.yaml` beside it with `--force`.
24
+
5
25
  ## [0.9.0] - 2026-11-04
6
26
 
7
27
  ### Added
@@ -20,21 +20,24 @@ curl -fsSL https://raw.githubusercontent.com/jambuai/gpu4agents/main/install.sh
20
20
 
21
21
  The script needs only `curl` (Linux or macOS; on Windows, run it inside WSL). It installs [uv](https://docs.astral.sh/uv/) if missing, uses it to install the `gpu4agents` package with a Python it downloads by itself, and then installs the skill and registers the `gpu` MCP server for your runtime. It does not ask for or read any key.
22
22
 
23
- Check: `~/.local/bin/gpu --version` prints 0.9.0 or later. Use `~/.local/bin/gpu` for the rest of this session if plain `gpu` is not found.
23
+ Check: `~/.local/bin/gpu --version` prints 0.9.2 or later.
24
+
25
+ For the rest of this session, call the command by its full path, `~/.local/bin/gpu`. Your shell may define `gpu` as an alias: Oh My Zsh's git plugin, on by default, makes `gpu` mean `git push upstream`, and an alias wins over the command, so plain `gpu setup` could run git instead. The installer removes that alias for new shells and says so; tell the user if it did. The same command is also installed as `gpu4agents`.
24
26
 
25
27
  ## 2. Connect a GPU provider account
26
28
 
27
- Run `gpu login --check`.
29
+ Run `~/.local/bin/gpu login --check`.
28
30
 
29
31
  - Exit code 0: an account is connected. Go to step 3.
30
- - Exit code 5: no working key yet. Ask the user which GPU provider they want to use.
31
- - Vast.ai, or no preference: tell the user, in these words or close:
32
+ - Exit code 5: no account is connected yet. Tell the user, in plain words and without technical terms, something close to this:
33
+
34
+ > One last step, about two minutes: connect the account that pays for the GPUs. Open your terminal app (not this chat) and type `gpu login`. It shows the providers you can use and walks you through it: Vast.ai works right away, and if you already use another one (RunPod, Lambda, your company's servers), pick "Another provider" and I'll add it. Your key stays on your computer; I never see it.
32
35
 
33
- > Create an API key at https://cloud.vast.ai/manage-keys/ and add a few dollars of credit. Then open your own terminal, run `gpu login`, and paste the key into the hidden prompt.
36
+ If the installer said it kept a `gpu` alias, tell them to type `gpu4agents login` instead.
34
37
 
35
- - Another provider (RunPod, Lambda, their company's cluster, ...): `gpu` needs an adapter for it first. Tell the user you can write one, and do it after this installation by following https://gpu4agents.jambu.ai/providers.md. The user then runs `gpu login --provider <name>`.
38
+ If the user picks another provider, write its adapter after this installation by following https://gpu4agents.jambu.ai/providers.md. The user then runs `gpu login --provider <name>`.
36
39
 
37
- Wait until the user says it is done, then run `gpu login --check` again. If the user wants to connect later, go on to step 3.
40
+ Wait until the user says it is done, then run `~/.local/bin/gpu login --check` again. If the user wants to connect later, go on to step 3.
38
41
 
39
42
  Never ask the user to paste a key into this conversation, never read `~/.gpu/credentials` or `.env` files, and never print a key.
40
43
 
@@ -49,7 +52,7 @@ The MCP tools (`gpu_setup`, `gpu_status`, ...) appear after the user restarts th
49
52
  Summarize in a few lines:
50
53
 
51
54
  - what was installed (the `gpu` command, the skill, the MCP server for this runtime);
52
- - whether a provider account is connected, or what they still need to do (`gpu login`, or an adapter for their provider);
55
+ - whether a provider account is connected, or what they still need to do (`gpu login` in their terminal, or an adapter for their provider), in plain words;
53
56
  - that they should restart the agent to get the tools;
54
57
  - an example request: "Compare Qwen 7B and Llama 8B on 50 prompts", and that you will show the price and ask before renting anything.
55
58
 
@@ -4,7 +4,7 @@ You are a coding agent and the work needs a GPU: training or fine-tuning, an ima
4
4
 
5
5
  ## 1. The machine
6
6
 
7
- The job runs on the project's machine, described by `jambu.yaml`. For a machine that only runs jobs:
7
+ The job runs on the project's machine, described by `gpu.yaml`. For a machine that only runs jobs:
8
8
 
9
9
  ```bash
10
10
  gpu init --jobs --min-vram-gb 24 # runtime.engine: none, image pytorch/pytorch:2.8.0-cuda12.8-cudnn9-runtime
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: gpu4agents
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: GPU for Agents: your coding agent rents the GPU it needs, on its own. You pay only while it works.
5
5
  Project-URL: Homepage, https://gpu4agents.jambu.ai
6
6
  Project-URL: Documentation, https://github.com/jambuai/gpu4agents/tree/main/docs
@@ -122,12 +122,12 @@ uv tool install gpu4agents && gpu agent install -t auto --global # the same,
122
122
  Run this in your own terminal, so the agent never sees the key:
123
123
 
124
124
  ```bash
125
- gpu login # Vast.ai: paste a key from https://cloud.vast.ai/manage-keys/
125
+ gpu login # pick a provider; for Vast.ai it walks you through the account and the key
126
126
  gpu login --provider runpod # a provider you added an adapter for
127
127
  gpu login --check # which account gpu finds, and its balance
128
128
  ```
129
129
 
130
- `gpu login` checks the key with the provider, then saves it in `~/.gpu/credentials` (mode 600). Keys in the environment or a project `.env` work too. They never go in `jambu.yaml`.
130
+ `gpu login` checks the key with the provider, then saves it in `~/.gpu/credentials` (mode 600). Keys in the environment or a project `.env` work too. They never go in `gpu.yaml`.
131
131
 
132
132
  Restart the agent and ask for an experiment. See [Letting a coding agent rent GPUs](docs/AGENTS.md).
133
133
 
@@ -170,7 +170,7 @@ Requests count as activity, so the machine stays up while clients call it and st
170
170
  Add <provider> to GPU for Agents. Fetch https://gpu4agents.jambu.ai/providers.md with curl and follow its steps.
171
171
  ```
172
172
 
173
- The agent runs `gpu providers new <name>`, fills in the adapter from the provider's API docs, checks it with `gpu validate` and `gpu offers`, and asks you before a test rental. The adapter is one file in your project, selected in `jambu.yaml`:
173
+ The agent runs `gpu providers new <name>`, fills in the adapter from the provider's API docs, checks it with `gpu validate` and `gpu offers`, and asks you before a test rental. The adapter is one file in your project, selected in `gpu.yaml`:
174
174
 
175
175
  ```yaml
176
176
  gpu_runtime:
@@ -197,7 +197,7 @@ From an application in any language, `gpu --json setup` prints the endpoint as J
197
197
  ## Declare the limits
198
198
 
199
199
  ```yaml
200
- # jambu.yaml (only the gpu_runtime key is read, so other Jambu tools can share the file)
200
+ # gpu.yaml (only the gpu_runtime key is read, so other Jambu tools can share the file)
201
201
  gpu_runtime:
202
202
  provider: {name: vast}
203
203
  model_profile: qwythos-9b
@@ -211,7 +211,7 @@ gpu_runtime:
211
211
  pull_stall_timeout: 10m # a host whose image pull stalls is replaced
212
212
  ```
213
213
 
214
- A full example is [`jambu.example.yaml`](jambu.example.yaml). `gpu ls` shows every machine billing in the account, and `gpu sweep --install-timer` guards every project on the machine and cleans up orphans. See [Keeping the account clean](docs/USAGE.md#keeping-the-account-clean).
214
+ A full example is [`gpu.example.yaml`](gpu.example.yaml). `gpu ls` shows every machine billing in the account, and `gpu sweep --install-timer` guards every project on the machine and cleans up orphans. See [Keeping the account clean](docs/USAGE.md#keeping-the-account-clean).
215
215
 
216
216
  ## Docs
217
217
 
@@ -226,7 +226,7 @@ A full example is [`jambu.example.yaml`](jambu.example.yaml). `gpu ls` shows eve
226
226
 
227
227
  ## Coming from `jambu-gpu`
228
228
 
229
- The package was called `jambu-gpu` until 0.4.1. The code, the `gpu` command, `jambu.yaml` and the machines are the same:
229
+ The package was called `jambu-gpu` until 0.4.1. The code, the `gpu` command, the config file (`jambu.yaml` then, `gpu.yaml` now; both load) and the machines are the same:
230
230
 
231
231
  ```bash
232
232
  pipx uninstall jambu-gpu && pipx install gpu4agents
@@ -12,10 +12,10 @@ Follow these steps in the user's project directory. Do not rent anything until s
12
12
 
13
13
  ```bash
14
14
  gpu providers new <name> --display-name "<Provider name>"
15
- gpu init --provider <name> --model <org/model> # skip if jambu.yaml exists
15
+ gpu init --provider <name> --model <org/model> # skip if gpu.yaml exists
16
16
  ```
17
17
 
18
- The first command writes `gpu_providers/<name>.py`. The second writes a `jambu.yaml` that selects it:
18
+ The first command writes `gpu_providers/<name>.py`. The second writes a `gpu.yaml` that selects it:
19
19
 
20
20
  ```yaml
21
21
  gpu_runtime:
@@ -24,7 +24,7 @@ gpu_runtime:
24
24
  plugin: ./gpu_providers/<name>.py:<Name>Provider
25
25
  ```
26
26
 
27
- In an existing `jambu.yaml`, add those two lines under `gpu_runtime.provider` yourself.
27
+ In an existing `gpu.yaml`, add those two lines under `gpu_runtime.provider` yourself.
28
28
 
29
29
  ## 3. Read the provider's API docs, then fill in the file
30
30
 
@@ -81,12 +81,12 @@ uv tool install gpu4agents && gpu agent install -t auto --global # the same,
81
81
  Run this in your own terminal, so the agent never sees the key:
82
82
 
83
83
  ```bash
84
- gpu login # Vast.ai: paste a key from https://cloud.vast.ai/manage-keys/
84
+ gpu login # pick a provider; for Vast.ai it walks you through the account and the key
85
85
  gpu login --provider runpod # a provider you added an adapter for
86
86
  gpu login --check # which account gpu finds, and its balance
87
87
  ```
88
88
 
89
- `gpu login` checks the key with the provider, then saves it in `~/.gpu/credentials` (mode 600). Keys in the environment or a project `.env` work too. They never go in `jambu.yaml`.
89
+ `gpu login` checks the key with the provider, then saves it in `~/.gpu/credentials` (mode 600). Keys in the environment or a project `.env` work too. They never go in `gpu.yaml`.
90
90
 
91
91
  Restart the agent and ask for an experiment. See [Letting a coding agent rent GPUs](docs/AGENTS.md).
92
92
 
@@ -129,7 +129,7 @@ Requests count as activity, so the machine stays up while clients call it and st
129
129
  Add <provider> to GPU for Agents. Fetch https://gpu4agents.jambu.ai/providers.md with curl and follow its steps.
130
130
  ```
131
131
 
132
- The agent runs `gpu providers new <name>`, fills in the adapter from the provider's API docs, checks it with `gpu validate` and `gpu offers`, and asks you before a test rental. The adapter is one file in your project, selected in `jambu.yaml`:
132
+ The agent runs `gpu providers new <name>`, fills in the adapter from the provider's API docs, checks it with `gpu validate` and `gpu offers`, and asks you before a test rental. The adapter is one file in your project, selected in `gpu.yaml`:
133
133
 
134
134
  ```yaml
135
135
  gpu_runtime:
@@ -156,7 +156,7 @@ From an application in any language, `gpu --json setup` prints the endpoint as J
156
156
  ## Declare the limits
157
157
 
158
158
  ```yaml
159
- # jambu.yaml (only the gpu_runtime key is read, so other Jambu tools can share the file)
159
+ # gpu.yaml (only the gpu_runtime key is read, so other Jambu tools can share the file)
160
160
  gpu_runtime:
161
161
  provider: {name: vast}
162
162
  model_profile: qwythos-9b
@@ -170,7 +170,7 @@ gpu_runtime:
170
170
  pull_stall_timeout: 10m # a host whose image pull stalls is replaced
171
171
  ```
172
172
 
173
- A full example is [`jambu.example.yaml`](jambu.example.yaml). `gpu ls` shows every machine billing in the account, and `gpu sweep --install-timer` guards every project on the machine and cleans up orphans. See [Keeping the account clean](docs/USAGE.md#keeping-the-account-clean).
173
+ A full example is [`gpu.example.yaml`](gpu.example.yaml). `gpu ls` shows every machine billing in the account, and `gpu sweep --install-timer` guards every project on the machine and cleans up orphans. See [Keeping the account clean](docs/USAGE.md#keeping-the-account-clean).
174
174
 
175
175
  ## Docs
176
176
 
@@ -185,7 +185,7 @@ A full example is [`jambu.example.yaml`](jambu.example.yaml). `gpu ls` shows eve
185
185
 
186
186
  ## Coming from `jambu-gpu`
187
187
 
188
- The package was called `jambu-gpu` until 0.4.1. The code, the `gpu` command, `jambu.yaml` and the machines are the same:
188
+ The package was called `jambu-gpu` until 0.4.1. The code, the `gpu` command, the config file (`jambu.yaml` then, `gpu.yaml` now; both load) and the machines are the same:
189
189
 
190
190
  ```bash
191
191
  pipx uninstall jambu-gpu && pipx install gpu4agents
@@ -5,7 +5,7 @@ You are a coding agent and the work needs a model that is not a chat model, or a
5
5
  ## 1. Choosing the model and its server
6
6
 
7
7
  ```bash
8
- gpu init --model stabilityai/sd-turbo # reads the model card, writes jambu.yaml
8
+ gpu init --model stabilityai/sd-turbo # reads the model card, writes gpu.yaml
9
9
  gpu offers # prices; ask the user before renting
10
10
  gpu setup # rents, deploys, waits until the model answers
11
11
  eval "$(gpu env)" # OPENAI_BASE_URL, OPENAI_API_KEY, JAMBU_MODEL_ID
@@ -84,7 +84,7 @@ Image extras go in the body (`extra_body` in the SDK): `num_inference_steps`, `g
84
84
  When no built-in server loads the model (a library of its own, a pipeline of several models, video, a custom API), write the server. gpu runs it on the GPU and treats it exactly like the built-in one.
85
85
 
86
86
  ```bash
87
- gpu init --engine custom --min-vram-gb 24 # writes jambu.yaml and server/ (server.py, gpujob.yaml)
87
+ gpu init --engine custom --min-vram-gb 24 # writes gpu.yaml and server/ (server.py, gpujob.yaml)
88
88
  ```
89
89
 
90
90
  `server/gpujob.yaml` says how to start it:
@@ -6,7 +6,7 @@ Eighteen guarantees, mapped to the code and the test that holds each one.
6
6
  | --- | --- | --- | --- |
7
7
  | 1 | Repeated `setup` does not duplicate infrastructure | `core/engine.py::Engine.setup` reconciles first, compares `config.fingerprint()`, and holds an exclusive `.gpu/runtime.lock` | `test_engine.py::test_setup_twice_does_not_create_two_instances`, `::test_setup_refuses_to_reuse_an_incompatible_instance` |
8
8
  | 2 | Provider APIs do not leak into core orchestration | `providers/base.py` contract; all Vast wire format confined to `providers/vast/{client,mapper}.py` | `test_engine.py::test_the_core_never_branches_on_a_provider_name` (greps `core/`) |
9
- | 3 | Missing credentials fail before provisioning | `VastProvider.validate` returns before any API call; `CredentialResolver` never reads jambu.yaml | `test_vast_provider.py::test_validate_fails_before_provisioning_without_a_key` (asserts zero HTTP calls) |
9
+ | 3 | Missing credentials fail before provisioning | `VastProvider.validate` returns before any API call; `CredentialResolver` never reads gpu.yaml | `test_vast_provider.py::test_validate_fails_before_provisioning_without_a_key` (asserts zero HTTP calls) |
10
10
  | 4 | Failed provisioning cleans up | `Engine.setup` persists state *before* the long wait, then destroys on failure when `cleanup_on_setup_failure` | `test_engine.py::test_failed_setup_cleans_up_partially_created_resources` |
11
11
  | 5 | Active workloads are never stopped by the idle guard | `core/policy.py::evaluate` returns `workload_active` before any idle check | `test_policy.py::test_active_workload_is_never_stopped_by_the_idle_guard`, `test_watchdog.py::test_a_heartbeating_workload_is_never_stopped` |
12
12
  | 6 | An idle unlocked instance stops within `idle_timeout + watchdog_interval` | remote watchdog loop, `watchdog/agent_body.py::guard_loop` | `test_watchdog.py::test_idle_instance_is_stopped_with_a_recorded_reason` (real subprocess) |
@@ -77,7 +77,7 @@ The first attempt found problems the unit tests had missed. Each is fixed and te
77
77
 
78
78
  ## The MVP command surface
79
79
 
80
- `jambu.yaml` schema, CLI, provider contract, provider registry, Vast.ai adapter,
80
+ `gpu.yaml` schema, CLI, provider contract, provider registry, Vast.ai adapter,
81
81
  vLLM runtime, `setup`, `run`, `status`, `stop`, `destroy`, `lock`/`unlock`, idle
82
82
  timeout, max lifetime, remote watchdog and structured logs are all present. On top
83
83
  of that, `ls` and `sweep` handle orphan control across the account.
@@ -8,13 +8,13 @@ An adapter reaches `gpu` in one of three ways:
8
8
 
9
9
  | Where it lives | How `gpu` finds it | Use it for |
10
10
  | --- | --- | --- |
11
- | A file in the project | `provider.plugin: ./gpu_providers/acme.py:AcmeProvider` in jambu.yaml | one project, or an agent writing an adapter on the spot |
11
+ | A file in the project | `provider.plugin: ./gpu_providers/acme.py:AcmeProvider` in gpu.yaml | one project, or an agent writing an adapter on the spot |
12
12
  | An installed package | an entry point in the `gpu4agents.providers` group | sharing an adapter across projects or publishing it |
13
13
  | This repository | `providers/<name>/` plus a line in `providers/registry.py` | a provider that ships with gpu4agents |
14
14
 
15
15
  `gpu providers new acme` writes the skeleton for the first route, with every
16
16
  method that needs the provider's API marked. `gpu init --provider acme` writes a
17
- jambu.yaml that selects it. Agents can follow [PROVIDERS.md](../PROVIDERS.md),
17
+ gpu.yaml that selects it. Agents can follow [PROVIDERS.md](../PROVIDERS.md),
18
18
  which walks through the same steps.
19
19
 
20
20
  An installed package declares its adapter like this:
@@ -34,13 +34,19 @@ The repository is a Claude Code plugin marketplace (`.claude-plugin/`) and a Cur
34
34
  The user, in their own terminal:
35
35
 
36
36
  ```bash
37
- gpu login # hidden prompt; checks the key with the provider, then saves it
37
+ gpu login # the first time: pick a provider, follow the steps, paste the key (hidden)
38
38
  gpu login --provider runpod # a provider added with an adapter
39
39
  gpu login --check # exit 0, the provider and where the key was found; or exit 5
40
40
  echo "$KEY" | gpu login --stdin
41
41
  ```
42
42
 
43
- The provider is the one `--provider` names, else the project's `jambu.yaml`, else `GPU_PROVIDER`, else Vast.ai. `gpu login --provider NAME` also saves `GPU_PROVIDER=NAME`, so `gpu ls` and `gpu sweep` outside a project use that provider. The key goes to `~/.gpu/credentials` (mode 600, directory 700); other lines in the file are kept. A key in the environment or a project `.env` still works and wins over the file. The skill tells the agent never to ask for the key in chat, read those files, or print it.
43
+ Run with no project and no saved provider, `gpu login` first lists the providers it can use: Vast.ai, ready out of the box, and "another provider I already use", which tells the user to ask their agent to add it ([`PROVIDERS.md`](../PROVIDERS.md)). For Vast.ai it then shows the steps in plain words (create the account, add some credit, copy the key) before the hidden prompt. An adapter supplies its own steps with `tagline`, `signup_url` and `setup_steps`.
44
+
45
+ Otherwise the provider is the one `--provider` names, else the project's `gpu.yaml`, else `GPU_PROVIDER`, else Vast.ai. `gpu login --provider NAME` also saves `GPU_PROVIDER=NAME`, so `gpu ls` and `gpu sweep` outside a project use that provider. The key goes to `~/.gpu/credentials` (mode 600, directory 700); other lines in the file are kept. A key in the environment or a project `.env` still works and wins over the file. The skill tells the agent never to ask for the key in chat, read those files, or print it.
46
+
47
+ ## When `gpu` is a shell alias
48
+
49
+ Oh My Zsh's git plugin, on by default, defines `gpu` as `git push upstream`. An alias wins over the command, in a terminal and in the agent's shell, so `gpu login` runs git instead (and in a repository with an `upstream` remote, it pushes). The installer looks for a `gpu` alias in zsh and bash and adds a marked block at the end of `~/.zshrc` or `~/.bashrc` that removes it for new shells; `--keep-gpu-alias` leaves it. The same command is always installed as `gpu4agents` too, and the skill tells the agent to run `type gpu` first and use `command gpu` when it is an alias. The MCP server is unaffected: clients start it without a shell.
44
50
 
45
51
  ## Install by hand
46
52
 
@@ -69,7 +75,7 @@ Another agent that reads `SKILL.md` files: `gpu agent skill > path/to/skills/gpu
69
75
 
70
76
  | Tool | Does | Costs money |
71
77
  | --- | --- | --- |
72
- | `gpu_init` | write `jambu.yaml` for a model, with an optional price cap and VRAM | no |
78
+ | `gpu_init` | write `gpu.yaml` for a model, with an optional price cap and VRAM | no |
73
79
  | `gpu_validate` | check the config and credentials | no |
74
80
  | `gpu_offers` | cheapest matching machines and their price | no |
75
81
  | `gpu_setup` | rent / restart and wait for the model; returns `base_url`, `api_key`, `model` | yes |
@@ -90,5 +96,5 @@ Each tool runs the `gpu` CLI with `--json` in the project directory, so errors c
90
96
 
91
97
  - The skill tells the agent to show the price and ask before renting, wait out a slow setup instead of starting over, never touch the provider key, and offer stop or destroy (and check `gpu_ls`) when done.
92
98
  - The server's tool annotations mark `gpu_destroy` destructive and the read-only tools read-only, so a client can let `gpu_status` run freely and ask for every `gpu_setup` and `gpu_destroy`. In Claude Code that is the `permissions` list in `.claude/settings.json`, e.g. `"allow": ["mcp__gpu__gpu_status", "mcp__gpu__gpu_offers", "mcp__gpu__gpu_ls"]`.
93
- - `jambu.yaml` holds the hard limits the agent cannot exceed without editing the file: `budget.max_hourly_cost_usd`, `budget.max_session_cost_usd`, `lifecycle.max_lifetime`.
99
+ - `gpu.yaml` holds the hard limits the agent cannot exceed without editing the file: `budget.max_hourly_cost_usd`, `budget.max_session_cost_usd`, `lifecycle.max_lifetime`.
94
100
  - The watchdog stops the machine after `idle_timeout` whatever the agent does, and `gpu sweep --install-timer` catches anything left behind.
@@ -1,4 +1,4 @@
1
- # Where jambu.yaml's model-specific values come from
1
+ # Where gpu.yaml's model-specific values come from
2
2
 
3
3
  Every value in `model:`/`compute.gpu:`/`runtime:` that depends on the model
4
4
  you deploy (VRAM, dtype, context length, tool-call parser, `trust_remote_code`)
@@ -38,7 +38,7 @@ gpu_runtime:
38
38
  tool_calling: auto # resolves to hermes automatically
39
39
  ```
40
40
 
41
- Paste the snippet under `gpu_runtime:` in your `jambu.yaml` and adjust
41
+ Paste the snippet under `gpu_runtime:` in your `gpu.yaml` and adjust
42
42
  `lifecycle`/`health`/`budget` to get a starting config. Add `--json` for
43
43
  machine-readable output, `--revision` for a non-`main` branch/tag, and
44
44
  `--hf-token-env` if the repo is gated and your token lives under a different
@@ -110,7 +110,7 @@ Consequences:
110
110
  `gpu4agents/core/tool_parsers.py` (a one-line PR) so `tool_calling: auto`
111
111
  picks it up for everyone next time, the same way the Qwen3.5+ finding did.
112
112
 
113
- ## Don't write a new jambu.yaml per model - use the catalog
113
+ ## Don't write a new gpu.yaml per model - use the catalog
114
114
 
115
115
  For each new model it is tempting to copy the whole file, since the provider,
116
116
  lifecycle and budget stay the same and only `model:`/`compute.gpu:` differ.
@@ -119,11 +119,11 @@ After a few models a repo has `jambu.qwythos.yaml`, `jambu.model-b.yaml`,
119
119
  wants one. Changing a lifecycle default then means editing all of them.
120
120
 
121
121
  Instead, keep what varies by model in the catalog and what varies by project
122
- in the active `jambu.yaml`, and reference the catalog entry by name.
122
+ in the active `gpu.yaml`, and reference the catalog entry by name.
123
123
 
124
124
  ```yaml
125
- # jambu.models.yaml - one entry per model, shared by every project in the
126
- # repo (found by walking up from a project's jambu.yaml, same as jambu.yaml
125
+ # gpu.models.yaml - one entry per model, shared by every project in the
126
+ # repo (found by walking up from a project's gpu.yaml, same as gpu.yaml
127
127
  # itself is found - one catalog can sit at the repo root and serve every
128
128
  # sub-project under it).
129
129
  qwythos-9b:
@@ -137,7 +137,7 @@ qwen3.8-27b-uncensored:
137
137
  ```
138
138
 
139
139
  ```yaml
140
- # jambu.yaml - just this project's policy + which model
140
+ # gpu.yaml - just this project's policy + which model
141
141
  gpu_runtime:
142
142
  version: 1
143
143
  model_profile: qwythos-9b # the only thing that changes to switch models
@@ -163,7 +163,7 @@ repo's catalog. Trying a new model is usually a catalog case.
163
163
 
164
164
  ## Dynamic / un-modeled vLLM flags
165
165
 
166
- `jambu.yaml`'s schema models the fields that affect lifecycle, cost, and
166
+ `gpu.yaml`'s schema models the fields that affect lifecycle, cost, and
167
167
  provider portability. It does not try to cover every vLLM flag, since vLLM adds
168
168
  flags faster than a fixed contract could track. For everything else, `runtime:`
169
169
  has two escape hatches, applied in this order. The later one wins on conflict,
@@ -1,15 +1,15 @@
1
- # jambu.yaml reference
1
+ # gpu.yaml reference
2
2
 
3
- `jambu.yaml` is the source of truth for the desired state. It describes what should
3
+ `gpu.yaml` is the source of truth for the desired state. It describes what should
4
4
  run and how long it may live. It must never contain credentials, and it never contains
5
5
  provider API details.
6
6
 
7
- `jambu.yaml` is a manifest shared across Jambu.ai Lab sub-projects. `gpu` reads only
7
+ `gpu.yaml` is a manifest shared across Jambu.ai Lab sub-projects. `gpu` reads only
8
8
  its own `gpu_runtime:` top-level key and ignores every other key in the document, so
9
9
  other Jambu tools can keep their own config in the same file:
10
10
 
11
11
  ```yaml
12
- # jambu.yaml
12
+ # gpu.yaml
13
13
  gpu_runtime:
14
14
  version: 1
15
15
  model: {id: ...}
@@ -22,11 +22,13 @@ some_other_jambu_tool:
22
22
  If the file does not need to be shared, `gpu init --flat` writes a `config.yml` where
23
23
  the whole document is the gpu-runtime config, with no `gpu_runtime:` wrapper. This
24
24
  format is still supported. A bare document with no `gpu_runtime:` key is also accepted
25
- under the `jambu.yaml` filename, for a solo project that prefers that name.
25
+ under the `gpu.yaml` filename, for a solo project that prefers that name.
26
26
 
27
27
  Resolution order (first match wins, searched from the working directory upward):
28
- `--config PATH`, else `jambu.yaml`, `jambu.yml`, `config.yml`, `config.yaml` in that
29
- order. When a directory has both shapes, the shared, namespaced one is preferred over
28
+ `--config PATH`, else `gpu.yaml`, `gpu.yml`, `jambu.yaml`, `jambu.yml`, `config.yml`,
29
+ `config.yaml` in that order. `jambu.yaml` is the name used before 0.9.1; projects that
30
+ still have one keep working, and renaming it to `gpu.yaml` changes nothing else. The same
31
+ goes for `jambu.models.yaml`, now `gpu.models.yaml`. When a directory has both shapes, the shared, namespaced one is preferred over
30
32
  the legacy flat one.
31
33
 
32
34
  `${VAR}` references in string values are expanded from the environment.
@@ -38,8 +40,8 @@ check keys that other tools own elsewhere in the document.
38
40
  ### `model_profile`: share model config across files
39
41
 
40
42
  Set `model_profile: <name>` instead of declaring `model:`/`compute:`/`runtime:`
41
- directly, and gpu merges in that named entry from `jambu.models.yaml`. The catalog is
42
- searched the same way as `jambu.yaml` (this directory, then parents), so one catalog
43
+ directly, and gpu merges in that named entry from `gpu.models.yaml`. The catalog is
44
+ searched the same way as `gpu.yaml` (this directory, then parents), so one catalog
43
45
  serves every sub-project in a repo. Fields you declare locally still win over the
44
46
  profile's. See
45
47
  [`docs/CHOOSING_A_MODEL.md`](CHOOSING_A_MODEL.md#dont-write-a-new-jambuyaml-per-model---use-the-catalog)
@@ -23,11 +23,11 @@ gpu sweep --install-timer # optional safety net, see USAGE.md
23
23
  Requirements:
24
24
 
25
25
  - `gpu4agents` (or `jambu-gpu` 0.3.0 or later), on Python 3.10+. The app can be in any language.
26
- - The directory holding `jambu.yaml` must be persistent. `gpu` keeps what it rented in `.gpu/state.json` next to it. In a container, mount it as a volume: a container that loses `.gpu/` forgets its instance, rents a second one, and leaves the first to the watchdog and the sweep.
26
+ - The directory holding `gpu.yaml` must be persistent. `gpu` keeps what it rented in `.gpu/state.json` next to it. In a container, mount it as a volume: a container that loses `.gpu/` forgets its instance, rents a second one, and leaves the first to the watchdog and the sweep.
27
27
  - Before 0.3.0 these directories were `.jambu/` and `~/.jambu`. The first command after an upgrade renames them, so an instance already rented is kept and is not rented again.
28
28
  - `.gpu/state.json` holds the endpoint key and the watchdog token. It is written `0600`. Add `.gpu/` and `.env` to `.gitignore` and keep them out of images.
29
29
 
30
- Tune the lifecycle in `jambu.yaml` for the app. For a service with bursty traffic, a longer idle timeout avoids paying a restart on every burst:
30
+ Tune the lifecycle in `gpu.yaml` for the app. For a service with bursty traffic, a longer idle timeout avoids paying a restart on every burst:
31
31
 
32
32
  ```yaml
33
33
  gpu_runtime:
@@ -45,7 +45,7 @@ All fields are in [CONFIG.md](CONFIG.md).
45
45
 
46
46
  ### Commands an app calls
47
47
 
48
- Always pass `--json` (before the command name). Run them from the project directory, or pass `--config /path/to/jambu.yaml`.
48
+ Always pass `--json` (before the command name). Run them from the project directory, or pass `--config /path/to/gpu.yaml`.
49
49
 
50
50
  | Command | Use it to | Blocks | Starts billing |
51
51
  | --- | --- | --- | --- |
@@ -101,7 +101,7 @@ gpu env --format dotenv > .env.gpu
101
101
  | --- | --- | --- |
102
102
  | 0 | success | |
103
103
  | 1 | unexpected error | log stderr, retry later |
104
- | 2 | config error (`jambu.yaml` invalid, or changed since setup) | fix the config; `setup --recreate` replaces a machine built from the old one |
104
+ | 2 | config error (`gpu.yaml` invalid, or changed since setup) | fix the config; `setup --recreate` replaces a machine built from the old one |
105
105
  | 3 | no instance / no endpoint (from `env`, `endpoint`) | call `setup` |
106
106
  | 4 | provider API error | retry with backoff |
107
107
  | 5 | provider authentication failed | fix `VAST_API_KEY` |
@@ -161,7 +161,7 @@ The TypeScript helper below does this.
161
161
  import OpenAI from "openai";
162
162
  import { Gpu } from "./gpu.ts";
163
163
 
164
- const gpu = new Gpu({ cwd: "/srv/my-app" }); // where jambu.yaml lives
164
+ const gpu = new Gpu({ cwd: "/srv/my-app" }); // where gpu.yaml lives
165
165
 
166
166
  const reply = await gpu.call((c) =>
167
167
  new OpenAI({ baseURL: c.baseURL, apiKey: c.apiKey, maxRetries: 0, timeout: 120_000 })
@@ -220,7 +220,7 @@ Run `gpu --json setup` as a subprocess, parse the JSON, and point the language's
220
220
  - The endpoint requires a key. Unless `runtime.api_key` is set, `setup` generates one per machine (43 random URL-safe characters) and starts vLLM with it. Requests without it get `401`. `/health` and `/metrics` stay open: they reveal no data and the watchdog reads `/metrics`. Instances provisioned before this existed run without a key until they are recreated.
221
221
  - The endpoint is plain HTTP on a public IP and port. The key and the prompts travel unencrypted. For sensitive data, put the app and the GPU on a private network or a tunnel, or front the endpoint with a TLS proxy.
222
222
  - The watchdog holds the provider key on the instance so it can stop its own machine. A restricted key is the safer choice; see [LIFECYCLE.md](LIFECYCLE.md).
223
- - `jambu.yaml` never holds credentials. `.env` and `.gpu/` do not belong in version control.
223
+ - `gpu.yaml` never holds credentials. `.env` and `.gpu/` do not belong in version control.
224
224
 
225
225
  ## 6. Troubleshooting
226
226
 
@@ -98,7 +98,7 @@ Use a dedicated, restricted Vast.ai key for this, not a personal key. Set `lifec
98
98
  ## Architecture
99
99
 
100
100
  ```
101
- jambu.yaml (gpu_runtime:)
101
+ gpu.yaml (gpu_runtime:)
102
102
  │
103
103
  ▼
104
104
  gpu
@@ -6,9 +6,9 @@ Operator reference. The project front page is the [README](../README.md). Field-
6
6
 
7
7
  | Command | What it does |
8
8
  | --- | --- |
9
- | `gpu init` | Write a starter `jambu.yaml` and `.env.example` (`--flat` for a legacy `config.yml`) |
9
+ | `gpu init` | Write a starter `gpu.yaml` and `.env.example` (`--flat` for a legacy `config.yml`) |
10
10
  | `gpu inspect-model <repo>` | Suggest `min_vram_gb`, `dtype`, and `tool_calling` for a HuggingFace model, with sources cited. `--add-profile <name>` writes it into the model catalog |
11
- | `gpu profiles` | List the model profiles in `jambu.models.yaml` |
11
+ | `gpu profiles` | List the model profiles in `gpu.models.yaml` |
12
12
  | `gpu providers` | Provider capability matrix and credential status |
13
13
  | `gpu validate` | Schema, policy, credentials, capabilities, real capacity. Fails before provisioning |
14
14
  | `gpu offers` | Matching GPU offers and their hourly price |
@@ -35,13 +35,13 @@ Every command accepts `--json` and `--config PATH`. To call `gpu` from an applic
35
35
 
36
36
  ## The manifest
37
37
 
38
- `gpu` reads only the `gpu_runtime:` key. Everything else in `jambu.yaml` belongs to another tool. Credentials never go in the file.
38
+ `gpu` reads only the `gpu_runtime:` key. Everything else in `gpu.yaml` belongs to another tool. Credentials never go in the file.
39
39
 
40
- A project that does not share the file can run `gpu init --flat`. That writes a `config.yml` with the same fields at the top level, without the `gpu_runtime:` wrapper. When both files exist, `jambu.yaml` wins.
40
+ A project that does not share the file can run `gpu init --flat`. That writes a `config.yml` with the same fields at the top level, without the `gpu_runtime:` wrapper. When both files exist, `gpu.yaml` wins.
41
41
 
42
- More than one model: do not copy the whole file per model. Set `model_profile: <name>` and keep the definitions in [`jambu.models.yaml`](../jambu.models.yaml). `gpu inspect-model <repo> --add-profile <name>` writes a profile. `gpu profiles` lists them. See [CHOOSING_A_MODEL.md](CHOOSING_A_MODEL.md).
42
+ More than one model: do not copy the whole file per model. Set `model_profile: <name>` and keep the definitions in [`gpu.models.yaml`](../gpu.models.yaml). `gpu inspect-model <repo> --add-profile <name>` writes a profile. `gpu profiles` lists them. See [CHOOSING_A_MODEL.md](CHOOSING_A_MODEL.md).
43
43
 
44
- The full field list is [CONFIG.md](CONFIG.md). A filled example is [`jambu.example.yaml`](../jambu.example.yaml).
44
+ The full field list is [CONFIG.md](CONFIG.md). A filled example is [`gpu.example.yaml`](../gpu.example.yaml).
45
45
 
46
46
  ## Running a workload
47
47
 
@@ -108,7 +108,7 @@ gpu ls
108
108
  ```
109
109
  Vast.ai instances
110
110
  ID LABEL STATE GPU $/H AGE PROJECT
111
- 31337001 jambu-Qwythos-9B-v2-3fa2c1 READY 1x RTX 4090 $0.350 7h30m /home/me/agent/jambu.yaml
111
+ 31337001 jambu-Qwythos-9B-v2-3fa2c1 READY 1x RTX 4090 $0.350 7h30m /home/me/agent/gpu.yaml
112
112
  31337002 jambu-Llama-3.1-8B-9b01de STOPPED 1x RTX 4090 $0.350 1d6h orphan
113
113
  ```
114
114
 
@@ -116,7 +116,7 @@ Vast.ai instances
116
116
 
117
117
  `gpu setup` (and `gpu run`, which can provision) registers the project's absolute config path in `~/.gpu/projects.json` (`$GPU_HOME` overrides `~/.gpu`; a `~/.jambu` from before 0.3.0 is renamed to `~/.gpu` on first use, and `$JAMBU_HOME` is still read). `gpu sweep` then works in two steps:
118
118
 
119
- 1. Tracked instances. For every registered project whose config still loads, it runs that project's own `gpu guard`: its own `jambu.yaml` and `.gpu/state.json`, so its own `max_lifetime`, lock, session start, `stopped_ttl` and budget. The project's events land in its own log. A registered project whose config file is gone is dropped from the registry. The project in the current directory, or the one given with `--config`, is guarded too for that run.
119
+ 1. Tracked instances. For every registered project whose config still loads, it runs that project's own `gpu guard`: its own `gpu.yaml` and `.gpu/state.json`, so its own `max_lifetime`, lock, session start, `stopped_ttl` and budget. The project's events land in its own log. A registered project whose config file is gone is dropped from the registry. The project in the current directory, or the one given with `--config`, is guarded too for that run.
120
120
  2. Orphans. An instance no project tracks has no known policy, and nobody knows whether it is in use. The rules for it are simple, and they never destroy a running machine:
121
121
 
122
122
  | Orphan | Rule | Action |
@@ -131,7 +131,7 @@ It is a dry run until you pass `--apply`:
131
131
  ```
132
132
  $ gpu sweep
133
133
  > guarding 1 project(s) (dry run)
134
- = /home/me/agent/jambu.yaml: 31337001 ok (within_policy)
134
+ = /home/me/agent/gpu.yaml: 31337001 ok (within_policy)
135
135
  > sweeping Vast.ai for orphans: running > 1d is stopped, stopped > 1d is destroyed (dry run)
136
136
  - would destroy orphan 31337002 (jambu-Llama-3.1-8B-9b01de): stopped_ttl, stopped for 1d2h
137
137
  ! 1 action(s) pending; re-run with --apply
@@ -1,7 +1,7 @@
1
- # jambu.yaml - shared manifest across Jambu.ai Lab sub-projects. This tool
1
+ # gpu.yaml - shared manifest across Jambu.ai Lab sub-projects. This tool
2
2
  # only reads the gpu_runtime: key below.
3
3
  #
4
- # model/compute/runtime come from ../jambu.models.yaml (the shared catalog,
4
+ # model/compute/runtime come from ../gpu.models.yaml (the shared catalog,
5
5
  # found by walking up from this directory) - this file only holds this
6
6
  # project's policy: lifecycle, health, budget. See
7
7
  # docs/CHOOSING_A_MODEL.md for why the split, and `gpu profiles` to
@@ -18,7 +18,7 @@ pointed at a self-hosted endpoint instead of the real OpenAI API.
18
18
 
19
19
  That's the entire integration surface. No gpu SDK, no wrapper client.
20
20
 
21
- ## Requirements on the jambu.yaml side
21
+ ## Requirements on the gpu.yaml side
22
22
 
23
23
  Mastra calls `weatherTool` through vLLM's regular OpenAI tool-calling — which only
24
24
  fires if vLLM was started with a matching `--tool-call-parser`. gpu picks one
@@ -26,7 +26,7 @@ automatically for recognized model families (`runtime.tool_calling: auto`, the
26
26
  default); for anything it doesn't recognize, set it explicitly:
27
27
 
28
28
  ```yaml
29
- # jambu.yaml
29
+ # gpu.yaml
30
30
  gpu_runtime:
31
31
  model:
32
32
  id: Qwen/Qwen2.5-7B-Instruct # gpu resolves "hermes" for this one
@@ -45,7 +45,7 @@ actually be able to call `weatherTool`.
45
45
  ```bash
46
46
  cd examples/mastra-agent
47
47
  npm install
48
- cd ../.. # back to wherever jambu.yaml lives
48
+ cd ../.. # back to wherever gpu.yaml lives
49
49
 
50
50
  gpu setup
51
51
  gpu run npm --prefix examples/mastra-agent start
@@ -65,6 +65,6 @@ It's currently 18°C and partly cloudy in Lisbon.
65
65
  `src/agent.ts` uses `api: "chat"` (vLLM's `/v1/chat/completions`) because it works
66
66
  on every vLLM version. vLLM also serves the OpenAI **Responses API** at
67
67
  `/v1/responses`, including MCP tool routing done server-side — set
68
- `api: "responses"` in the model config and `runtime.tool_server` in `jambu.yaml`
68
+ `api: "responses"` in the model config and `runtime.tool_server` in `gpu.yaml`
69
69
  (see [`docs/CONFIG.md`](../../docs/CONFIG.md#agentic-flows-nothing-to-build)) to
70
70
  use that instead.