Skip to main content

Bloom Launch

Connect your installed Claude Code, Codex, GitHub Copilot CLI, or OpenCode to the Bloom gateway for one invocation. Claude Code, Copilot CLI, and OpenCode retain their normal settings, permissions, plugins, and history. Codex uses a separate persistent Bloom-owned home at $HOME/.config/bloom/codex for its native state and project trust. Plain claude, codex, copilot, or opencode continues to use its normal connection.

Install

Requirements: Python 3.12 or later, plus Claude Code, Codex CLI 0.167.2, GitHub Copilot CLI 1.0.112, or OpenCode already installed and available on PATH. macOS is the primary platform. Bloom does not install or repair your Coding Harness. Codex and Copilot have structural adapter evidence only. Live Bloom, tool/history, and full interactive qualification remain unrecorded. The bundled Codex and Copilot commands do not establish a Qualified Harness Path or satisfy the release's native acceptance gate. Before launching, follow the Claude Code installation instructions, Codex CLI installation instructions, GitHub Copilot CLI installation instructions, or OpenCode installation instructions.

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

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

uv tool install 'bloom-launch==0.3.0'
# Or:
pipx install 'bloom-launch==0.3.0'

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

uv sync --locked --group dev
uv run --no-sync bloom launch claude
# Or:
uv run --no-sync bloom launch codex
# Or:
uv run --no-sync bloom launch copilot
# 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 copilot
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 Copilot CLI, or run with OpenCode:

bloom launch claude -p "say hi"
bloom launch copilot -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,codex,copilot,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 all four harnesses. Each harness has a separate model default. Copilot CLI 1.0.112 sends agent and session headers through COPILOT_PROVIDER_HEADERS. Older 1.0.x builds launch with a warning and without those headers.

--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 configures X-Bloom-Agent-ID for Claude Code, Codex, 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.3.0

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.3.0
File Size Uploaded Provenance Actions
bloom_launch-0.3.0.tar.gz 153.2 kB Without provenance Details for bloom_launch-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 184.6 kB

Release files / bloom_launch-0.3.0.tar.gz

Download URL bloom_launch-0.3.0.tar.gz
Size 153.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a3c81600352c5b1e01b0764b69154e2e9037785a4db85c01a23258de31461f3
BLAKE2b-256 checksum
How to use checksums
d77a381b19358879ee763c3a139149a4cd01980714e5f1442bb7a38adb18629e
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.3.0-py3-none-any.whl

Download URL bloom_launch-0.3.0-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c27d9ad4d4aa5826e003e4b94e0d512ea6b54606fe5957e61210f7d3a5045be
BLAKE2b-256 checksum
How to use checksums
a464c93469cfda484ac418f54e20e35303b3f3656f4a8cfc9f2c457f0eb71778
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.3.0

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