Skip to main content

Bleu.js

UW students: UW Student Projects: Start Here. Claim one listed issue. GPU tasks stay closed until access is confirmed.

Open-source SDK, CLI, and API contract, with an optional self-hosted app. bleujs.org — Get your first API call in under two minutes.

Python 3.11–3.13 License: MIT Status: Beta CI/CD

Bleu.js Demo

pip install bleu-js installs the Python SDK and CLI. They call the public hosted API at https://api.bleujs.org. Machine learning, quantum computing, and deep learning are optional extras ([ml], [quantum], [deep]), not the default install. [server] runs the optional self-hosted app.

Bleu OS was removed from this project. Older PyPI release pages that describe Bleu OS, including “the world’s first OS” and speed claims, are historical.

Who it's for ML engineers, researchers, and developers building cloud APIs or CLI tools
Status Beta — Changelog · Roadmap
Security No secrets in repo — SECURITY.md
API Hosted API at https://api.bleujs.org — contract

Get started in 60 seconds

1. Install (Python 3.11, 3.12, or 3.13):

pip install bleu-js

2. Get an API key at bleujs.org, then set it:

export BLEUJS_API_KEY="bleujs_sk_your_key_here"
# for CLI-only use, you can also run:
# bleu config set api-key bleujs_sk_your_key_here

3. Run:

bleu chat "Say hello in one word."

Or in Python:

from bleujs.api_client import BleuAPIClient
print(BleuAPIClient().chat([{"role": "user", "content": "Say hello."}]).content)

BleuAPIClient() reads BLEUJS_API_KEY; the bleu config file is used by the CLI. To avoid an environment variable in Python, pass BleuAPIClient(api_key="bleujs_sk_...").

4. Verify (optional): bleu version or bleujs version · bleu health or bleujs health

Walkthrough: Get started · Quickstart · API Client Guide


For developers (clone & contribute)

git clone https://github.com/HelloblueAI/Bleu.js.git && cd Bleu.js
python -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\activate
# Python 3.11, 3.12, or 3.13
pip install -e .
cp .env.example .env   # set BLEUJS_API_KEY
bleu chat "Hello"
Need Install
SDK + CLI (daily dev) pip install -e .
Tests / CI parity pip install -e ".[ci]"
Self-host FastAPI app pip install -e ".[server]"
Full ML + quantum + server pip install -e ".[all]"

Setup: Contributing → Development setup · Install from source


Optional extras

Extra Install Use case
Default pip install bleu-js API client + CLI
ML pip install "bleu-js[ml]" XGBoost, scikit-learn
Quantum pip install "bleu-js[quantum]" Qiskit, PennyLane
Deep pip install "bleu-js[deep]" PyTorch, TensorFlow
Server pip install -e ".[server]" Self-host product app
Full pip install "bleu-js[all]" Everything

Self-host: copy .env.example → .env, then python main.py. See INSTALLATION.md and SECURITY.md.


SDK & CLI (quick reference)

Hosted API: https://api.bleujs.org — get a key at bleujs.org.

from bleujs.api_client import BleuAPIClient

client = BleuAPIClient()  # reads BLEUJS_API_KEY
print(client.chat([{"role": "user", "content": "What is quantum computing?"}]).content)
print(client.generate("Write a haiku about AI:").text)
print(client.embed(["text1", "text2"]).embeddings)
export BLEUJS_API_KEY=bleujs_sk_...
bleu chat "Explain quantum computing"
bleu generate "Once upon a time" --max-tokens 500
bleu embed "hello" "world"
bleu models list
bleu health

Both bleu and bleujs command names work. Full CLI/SDK docs: API Client Guide · Examples


Documentation map

I want to… Start here
Install or upgrade INSTALLATION.md
Which package to install PACKAGE_MAP.md
First API call GET_STARTED.md
SDK, CLI, API contract API_CLIENT_GUIDE.md
API reference API_REFERENCE.md
Architecture & features PRODUCT_ARCHITECTURE.md · Platform overview
Quantum / ML examples examples/ · Quantum teleportation
Older published claims ACHIEVEMENTS.md · PERFORMANCE.md — not current benchmarks
Change the API CHANGING_THE_API.md
Contribute CONTRIBUTING.md · Contributor guide
Security & deployment SECURITY.md · DEPLOYMENT_PRACTICES.md
FAQ USER_CONCERNS_AND_FAQ.md
Evaluation / awards EVALUATION_AND_AWARDS.md

Architecture (at a glance)

flowchart LR
    A["pip install bleu-js"] --> B{Use case?}
    B -->|Cloud API & CLI| C[API key → bleu chat / SDK]
    B -->|Quantum| D["bleu-js[quantum]"]
    B -->|ML| E["bleu-js[ml]"]
    C --> F[api.bleujs.org]

The SDK and CLI call the hosted API at https://api.bleujs.org. Contract: openapi.yaml · API client notes · Product philosophy.


Contributing

We welcome contributions — good first issues, docs, and tests.

Contributing guide · Maintainers · Code of Conduct · Discussions

Support: support@helloblue.ai · Security: security@helloblue.ai (use SECURITY.md, not public issues)


License

Bleu.js is licensed under the MIT License. Maintained by Helloblue Inc. — see MAINTAINERS.md.

Metadata

Release files for bleu-js 1.5.179

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

Source distribution (sdist)

Source distribution for bleu-js 1.5.179
File Size Uploaded Provenance Actions
bleu_js-1.5.179.tar.gz 44.3 kB Without provenance Details for bleu_js-1.5.179.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bleu-js 1.5.179
File Interpreter ABI Platform Actions
bleu_js-1.5.179-py3-none-any.whl Python 3 none any Details for bleu_js-1.5.179-py3-none-any.whl

Total release size: 94.6 kB

Release files / bleu_js-1.5.179.tar.gz

Download URL bleu_js-1.5.179.tar.gz
Size 44.3 kB
Tags Source
SHA-256 checksum
How to use checksums
deaad5a8b2bef766f37aaee5ce2436fa4340cc63ee1cb463f27aac2b6a02d6c5
BLAKE2b-256 checksum
How to use checksums
bcbc40725707ffe26e15f62f1ea8cc50d56148c2ad05bc1e6b61278f0cb6ed34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / bleu_js-1.5.179-py3-none-any.whl

Download URL bleu_js-1.5.179-py3-none-any.whl
Size 50.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7da55bfdae46181ff7b83151413b0a492403d76ae3a39579775813469ae27ae5
BLAKE2b-256 checksum
How to use checksums
a3f683559536aa0294232e5c7a492146d491674b6f8ba32b2c7f64d7e7c4f107
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for bleu-js 1.5.179

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.

Release history Release notifications | RSS feed

This release

1.5.179 This release

2 release files No provenance

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