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.0a4; if not yet available on PyPI, collaborators can use a source checkout. The selected source version is 0.1.0a4.

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

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

Collaborators need access to the private repository for a source checkout. Use a checkout whose project metadata and lockfile both specify 0.1.0a4 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

Bloom sends extra arguments to the selected Coding Harness. For example, use -p with Claude Code or run with OpenCode:

bloom launch claude -p "say hi"
bloom launch opencode run "say hi"

Use -- when you want to mark the start of native arguments clearly. Bloom sends every argument after it unchanged:

bloom launch claude -- --verbose

Bloom keeps --model for its own gateway model selection. Bloom also keeps Claude Code's --settings option for its private settings file.

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 or model-list commands. --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.0a4

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.0a4
File Size Uploaded Provenance Actions
bloom_launch-0.1.0a4.tar.gz 129.8 kB Without provenance Details for bloom_launch-0.1.0a4.tar.gz

Built distribution (wheel)

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

Total release size: 156.8 kB

Release files / bloom_launch-0.1.0a4.tar.gz

Download URL bloom_launch-0.1.0a4.tar.gz
Size 129.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cce509361b16960f632608c702e5645d6afd5de0a7ee89200822dfe30c13ab16
BLAKE2b-256 checksum
How to use checksums
eccf22852ef3d15a77c9bb392810f205a1e94dce1ff78cb29318326030da4ee3
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.0a4-py3-none-any.whl

Download URL bloom_launch-0.1.0a4-py3-none-any.whl
Size 26.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c932c3d769d84ea0a54d8d04bdb594e151ee29bea076d78ffe6102bf7429435c
BLAKE2b-256 checksum
How to use checksums
6a908aa674c5c0dc56b641527381931ce77e7c67f351d85211e25d67ea40fcb6
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.0a4

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