Skip to main content

Henosis CLI

the BEST terminal agent designed for uncompromising performance

Henosis CLI is a streamlined, professional terminal client for the Henosis multi-provider streaming chat backend. It supports OpenAI, Gemini, Anthropic, xAI (Grok), DeepSeek, and Moonshot Kimi via the Henosis server, and includes optional client-executed file/shell tools with approvals and sandboxing.

Key features

  • Interactive chat over SSE with usage/cost summaries
  • Model picker and per-turn controls (tools on/off, control level, reasoning effort)
  • Client approvals at Level 2 for write/exec operations (approve once/session/always)
  • Agent scope (safe host directory) when enabling tools in host mode
  • Optional web search controls for OpenAI models (domain allow-list, include sources, location hints)
  • Saves conversations to server threads and commits usage for billing where enabled

Install

  • pip: pip install henosis-cli
  • pipx (recommended): pipx install henosis-cli

Quick start

  • Run the CLI: henosis-cli
  • Default server: https://henosis.us/api_v2 (override with HENOSIS_SERVER or --server)
  • Dev server: henosis-cli --dev (uses HENOSIS_DEV_SERVER or http://127.0.0.1:8000)
  • Authenticate when prompted. Use /model to pick a model and /tools on to enable tools.

Common commands

  • /menu or /settings: Open settings menu
  • /model: Select a model (gpt-5, gemini-2.5-pro, grok-4-fast-reasoning, deepseek-chat, etc.)
  • /tools on|off|default: Toggle per-request tool availability
  • /fs workspace|host|default: Set filesystem scope (workspace = sandbox; host = Agent scope)
  • /hostbase
  • /level 1|2|3: Control level (1 read-only; 2 write/exec with approval; 3 no approvals)
  • /map on|off: Inject CODEBASE_MAP.md into your first message
  • /websearch on|off|domains|sources|location: Configure OpenAI web search options
  • /title : Name the current chat thread
  • /clear: Reset chat history
  • /login, /logout, /whoami: Auth helpers

Configuration

  • Server base URL
  • Optional Agent Mode (developer WebSocket bridge): --agent-mode

Local tools and sandboxing (optional)

  • The CLI can execute a safe subset of tools locally when the server requests client-side execution.
  • Tools include read_file, write_file, append_file, list_dir, apply_patch, run_command.
  • At Level 2, destructive tools and command executions prompt for approval (once/session/always).
  • Workspace root: by default, the workspace scope is the current working directory at the moment you launch the CLI. No dedicated per-terminal sandbox is created unless you override it.
  • Override root: set --workspace-dir /path/to/root (or HENOSIS_WORKSPACE_DIR) to operate in a different directory for the session.
  • Host scope can be constrained to an Agent scope directory (set via /hostbase) when fs=host.

Notes

  • Requires Python 3.9+
  • The CLI ships with rich and prompt_toolkit for a nicer UI by default.
  • The reusable local tools library is available as a module (henosis_cli_tools).

Support

Build and publish (maintainers)

  • Bump version in pyproject.toml
  • Build: python -m pip install build twine && python -m build
  • Upload to PyPI: python -m twine upload dist/*
  • Or to TestPyPI: python -m twine upload --repository testpypi dist/*

Metadata

Release files for henosis-tools 0.5.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 henosis-tools 0.5.0
File Size Uploaded Provenance
henosis_tools-0.5.0.tar.gz 21.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for henosis-tools 0.5.0
File Interpreter ABI Platform
henosis_tools-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 38.8 kB

Release files / henosis_tools-0.5.0.tar.gz

Download URL henosis_tools-0.5.0.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7840bd1a6761b1b510e5aca46b0c5740722f3a1c80c1c769a44c162d47f6cb64
BLAKE2b-256 checksum
How to use checksums
9e23a3d0848beb909f1bd8bd04708d155eb463bdb40969f9ff57f217ef472d76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Release files / henosis_tools-0.5.0-py3-none-any.whl

Download URL henosis_tools-0.5.0-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff1fe4661cd82760287fe2a2eba442b4cc1b82723d5ab09361213176edeb92d9
BLAKE2b-256 checksum
How to use checksums
d7d18aabb4c3a2f92a43455b3d2eba88d76bb64b7bcb8925b2d61e313299d76e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.4

Security for henosis-tools 0.5.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.

Release history Release notifications | RSS feed

This release

0.5.0 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