Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Bloom Launch

Connect your installed Claude Code or OpenCode to the Bloom gateway for one invocation. Your Coding Harness retains its normal settings, permissions, plugins, and history. Plain claude or opencode continues to use its normal connection.

Install

Requirements: Python 3.12 or later, plus Claude Code or OpenCode already installed and available on PATH. macOS is the primary platform. Bloom does not install or repair your Coding Harness. Before launching, follow the Claude Code installation instructions or the OpenCode installation instructions.

These instructions describe 0.1.0a3; if not yet available on PyPI, collaborators can use a source checkout. The selected source version is 0.1.0a3.

When available on PyPI, install this exact version with either tool:

uv tool install --prerelease allow 'bloom-launch==0.1.0a3'
# Or:
pipx install --pip-args=--pre 'bloom-launch==0.1.0a3'

Collaborators need access to the private repository for a source checkout. Use a checkout whose project metadata and lockfile both specify 0.1.0a3 before running:

uv sync --locked --group dev
uv run --no-sync bloom launch claude
# Or:
uv run --no-sync bloom launch opencode

The commands below use bloom. In a source checkout, use uv run --no-sync bloom instead. Repository collaborators can read installation details.

Launch and arguments

This section describes cached vkeys and configurable agent IDs. The published 0.1.0a1 lacks this behavior. For its setup, use the historical PyPI instructions.

bloom --help
bloom --version
bloom launch --help
bloom launch claude
bloom launch opencode
bloom launch claude --model EXACT_GATEWAY_MODEL_ID
bloom launch opencode --config
bloom launch claude --config --model EXACT_GATEWAY_MODEL_ID
bloom launch opencode --base_url http://127.0.0.1:4000
bloom launch claude --agent-id Alex
bloom launch claude --session-id session-123
Argument Purpose
-h, --help Show global help or launch help.
--version Show the package version. Use before launch.
launch {claude,opencode} Select the installed Coding Harness.
--config Replace the gateway vkey and the current harness's default model.
--model EXACT_GATEWAY_MODEL_ID Select an exact, full gateway model ID.
--base_url BASE_URL Select the gateway for this invocation.
--agent-id VALUE Set an agent ID for this invocation without saving it.
--session-id VALUE Set a transient session ID for this invocation without saving it.

There are no profiles, model-list commands, or native argument forwarding. --url and --endpoint are not supported.

First setup and saved defaults

On first setup, enter your Bloom vkey at the hidden prompt, select a numbered connected model, then enter an optional agent ID. Use Alex or Platform as examples. Leave the prompt blank to clear the saved agent ID. After any required hidden vkey prompt, Fetching models... covers discovery and optional metadata lookup. It uses an animated ASCII spinner on a TTY and a plain line otherwise. The indicator stops before the picker, native handoff, or error output, including cancellation. Ordinary launches use the cached vkey and the harness's saved model for direct native handoff without launcher HTTP or progress output. First setup, --config, and explicit --model perform discovery and access checks before handoff. Each normalized gateway shares one vkey across both harnesses. Each harness has a separate model default.

--config prompts for a replacement vkey, displays model choices, and prompts for an agent ID. Bloom saves the vkey, agent ID, and current harness's model atomically after discovery, selection, and native preparation succeed. A failed or cancelled replacement preserves the previous settings. --model overrides a valid saved default temporarily. Without a usable default, a valid explicit model becomes the initial saved selection.

Picker labels remove one leading UUID prefix for readability only. Stored IDs and IDs sent to the gateway remain unchanged. For --model, replace EXACT_GATEWAY_MODEL_ID with the full gateway ID, including any UUID prefix. If you only know the shortened label, use the numbered picker instead.

Gateways and credentials

The default is always https://gateway.bloomfactory.ai. A custom invocation does not change that default. Use --base_url for an alternative HTTPS gateway or an explicitly specified http:// development gateway. Path prefixes and a terminal /v1 are supported without duplicating /v1. URLs must not contain credentials, queries, or fragments.

Bloom saves the vkey, agent ID, and harness defaults in the global $HOME/.config/bloom/launcher.json with owner-only permissions (0600). This file contains a secret. Do not paste or share its contents. Never put a vkey in command arguments, a URL, a project file, or an error report. When an agent ID exists, Bloom sends it as X-Bloom-Agent-ID through both Claude Code and OpenCode. Claude does not use a default bloom-launch-claude value. The saved agent ID is shared across gateways and harnesses. A direct --agent-id VALUE override applies only to that launch and is not saved. --session-id VALUE is also transient and is forgotten when the harness exits. Bloom sends it as X-Bloom-Session-ID; omitting the flag sends no session header. Session IDs use the same printable-ASCII validation as agent IDs. Blank or invalid values are rejected. Environment variables, credential helpers, and Keychain cannot supply the vkey. Setup requires an interactive terminal with hidden input.

Troubleshooting

  • If a cached vkey is rejected, use --config to replace it.
  • Discovery requires /v1/models, /key/info, and a concrete connected model ID. Wildcard entries are filtered, including in mixed grant lists.
  • Wildcard-only grants cannot supply a model choice. Discovery does not establish native model compatibility.
  • Complete native setup, trust, and permission prompts normally. Shell approvals follow native permissions and workspace instructions, not connection errors.
  • Claude may assume a fallback context window for unrecognized custom model IDs. See Claude's guidance.

Repository collaborators can read the detailed launch behavior.

License

Bloom Launch uses the Apache License, Version 2.0.

Metadata

Release files for bloom-launch 0.1.0a3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bloom-launch 0.1.0a3
File Size Uploaded Provenance Actions
bloom_launch-0.1.0a3.tar.gz 128.4 kB Without provenance Details for bloom_launch-0.1.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bloom-launch 0.1.0a3
File Interpreter ABI Platform Actions
bloom_launch-0.1.0a3-py3-none-any.whl Python 3 none any Details for bloom_launch-0.1.0a3-py3-none-any.whl

Total release size: 154.6 kB

Release files / bloom_launch-0.1.0a3.tar.gz

Download URL bloom_launch-0.1.0a3.tar.gz
Size 128.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c3d1b43c8f2ddccdac06d0d19e22d13e8c1dd06202d3a3619b465f8462ca3f6b
BLAKE2b-256 checksum
How to use checksums
7bbddccbf2675869dd0ebfe76deac95540ad9f7ec162845698680a9898fa9b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / bloom_launch-0.1.0a3-py3-none-any.whl

Download URL bloom_launch-0.1.0a3-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08d310f1bf522407b6a3f4ad374b0e954e74abd40b8a2336591d1a81c98319e0
BLAKE2b-256 checksum
How to use checksums
52ff74c843b21152146012e23dca529f6e9bb41edcf3820f44274868013d0d86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Security for bloom-launch 0.1.0a3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page