Skip to main content

Henosis CLI

Henosis CLI is a multi-provider coding agent for your terminal.

Use frontier models from every major provider in one workflow, point them at your codebase, and keep work connected across the CLI, Henosis Chat, and Remote Control. Bring your own API keys, use your Codex subscription where supported, or run on Henosis credits.

Why Henosis CLI

  • Work across providers without vendor lock-in
  • Let agents read files, apply patches, and run commands with configurable controls
  • Continue the same threads between browser, terminal, and remote sessions
  • Monitor and steer active sessions from the web with Remote Control

What it does

Henosis CLI gives you a connected coding workflow across terminal and web.

With Henosis CLI, you can:

  • chat with leading models from OpenAI, Anthropic, Google, xAI, DeepSeek, Moonshot, and more
  • switch models as a task evolves instead of committing to a single provider
  • run long-lived coding sessions against your repository
  • review and approve sensitive actions before they execute
  • keep threads, context, and billing connected with the Henosis web app
  • monitor active CLI sessions remotely with --agent-mode

Core capabilities

  • Interactive chat over SSE with usage and cost summaries
  • Model picker and per-turn controls
  • Local tool execution with configurable approval levels
  • Workspace and host-scope filesystem controls
  • Optional web search controls for supported OpenAI models
  • Thread persistence and usage tracking through the Henosis backend
  • Remote Control support for monitoring and steering active terminal sessions

Install

  • pip:
    • pip install henosis-cli
  • pipx:
    • pipx install henosis-cli

Quick start

  • Run the CLI:
    • henosis-cli
  • Default server:
    • https://henosis.us/api_v2
  • Override server:
    • henosis-cli --server https://your-server
  • Dev server:
    • henosis-cli --dev

When prompted, sign in and choose a model. Tools are enabled by default.

Common commands

  • /menu or /settings — open settings
  • /model — open the model picker
  • /model <name> — set a model directly
  • /tools on|off|default — toggle tool availability
  • /fs workspace|host|default — choose filesystem scope
  • /hostbase <abs path> — set the host scope root
  • /level 1|2|3 — choose approval level
  • /map on|off — inject CODEBASE_MAP.md into the first message
  • /websearch on|off|domains|sources|location — configure web search options
  • /title <name> — rename the current thread
  • /clear — clear chat history
  • /login, /logout, /whoami — auth helpers

Gemini 3.6 Flash

The backend and CLI support gemini-3.6-flash with a 1,048,576-token context window and 65,536-token maximum output. Standard pricing per 1M tokens is $1.50 input, $0.15 cached input, and $7.50 output (including thinking tokens). Supported thinking levels are minimal, low, medium, and high. Gemini 3.6 requests omit the deprecated temperature, topP, and topK parameters.

Configuration

Server URL

  • Env:
    • HENOSIS_SERVER
  • Flag:
    • --server
  • Dev shortcut:
    • --dev uses HENOSIS_DEV_SERVER or http://127.0.0.1:8000

Agent Mode

  • Enable remote session connectivity with:
    • --agent-mode

Local tools and approvals

Henosis CLI can execute a controlled set of local tools when requested by the server.

Available tool categories include:

  • file reading and writing
  • directory listing
  • patch application
  • command execution
  • managed background processes
  • managed interactive terminals

Approval levels:

  • Level 1 — read-only
  • Level 2 — write and exec actions require approval
  • Level 3 — unrestricted local execution

Filesystem modes:

  • workspace — sandboxed to the current working directory by default
  • host — restricted to a chosen Agent scope directory

You can also override the workspace root with:

  • --workspace-dir /path/to/root
  • HENOSIS_WORKSPACE_DIR=/path/to/root

Remote Control

Henosis CLI supports a connected remote workflow through Agent Mode.

Start the CLI with:

  • henosis-cli --agent-mode

Then open Remote Control at:

  • https://henosis.us/agent

From there, you can:

  • monitor active sessions
  • review terminal state
  • send follow-up instructions
  • handle approvals from the web
  • reconnect without losing session continuity

Troubleshooting

If a provider streams deltas but never sends a final message.completed, the CLI prints a diagnostics block with:

  • stream stats
  • recent event tail
  • relevant response headers

It also writes the same information to:

  • logs/session-*.jsonl

Useful flags and environment variables:

  • --debug-sse
  • --debug-req
  • HENOSIS_CLI_SSE_TAIL=80

Minimal test harness:

  • python test_stream.py

Optional overrides:

  • HENOSIS_TEST_URL
  • HENOSIS_TEST_MODEL
  • HENOSIS_TEST_PROMPT

Requirements

  • Python 3.9+
  • Rich terminal support is included by default
  • The reusable local tools library is available as henosis_cli_tools

Support

  • Email:
    • henosis@henosis.us

Release files for henosis-cli 0.6.176

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-cli 0.6.176
File Size Uploaded
henosis_cli-0.6.176.tar.gz 967.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for henosis-cli 0.6.176
File Interpreter ABI Platform
henosis_cli-0.6.176-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details

Total release size: 3.5 MB

Release files / henosis_cli-0.6.176.tar.gz

Download URL henosis_cli-0.6.176.tar.gz
Size 967.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1c8dd96386d74597b808ce93adededb9d3b4c274c1c60f361fdf859cfc7b5a51
BLAKE2b-256 checksum
How to use checksums
7efdc33486b76483a353faf36476b9f5bd88762a6ce8b075a2cb5ee93b1bcf10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release files / henosis_cli-0.6.176-py3-none-win_amd64.whl

Download URL henosis_cli-0.6.176-py3-none-win_amd64.whl
Size 2.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
373559988a58810efb4600b88ad5a3e55272a6b397110a85a5e02b05dab7ab52
BLAKE2b-256 checksum
How to use checksums
2593d9a7c1bd1b83043d4978f44bfb94d5ec04bea448fa80c4ef7670114180a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.6.176 This release

2 release files

0.6.99

2 release files

0.6.98

2 release files

0.6.97

2 release files

0.6.96

2 release files

0.6.95

2 release files

0.6.94

2 release files

0.6.93

2 release files

0.6.92

2 release files

0.6.91

2 release files

0.6.90

2 release files

0.6.89

2 release files

0.6.88

2 release files

0.6.87

2 release files

0.6.82

2 release files

0.6.81

2 release files

0.6.80

2 release files

0.6.79

2 release files

0.6.78

2 release files

0.6.76

2 release files

0.6.75

2 release files

0.6.74

2 release files

0.6.73

2 release files

0.6.72

2 release files

0.6.71

2 release files

0.6.70

2 release files

0.6.69

2 release files

0.6.68

2 release files

0.6.67

2 release files

0.6.66

2 release files

0.6.65

2 release files

0.6.64

2 release files

0.6.62

2 release files

0.6.61

2 release files

0.6.60

2 release files

0.6.57

2 release files

0.6.56

2 release files

0.6.55

2 release files

0.6.54

2 release files

0.6.53

2 release files

0.6.52

2 release files

0.6.51

2 release files

0.6.50

2 release files

0.6.49

2 release files

0.6.48

2 release files

0.6.47

2 release files

0.6.46

2 release files

0.6.45

2 release files

0.6.44

2 release files

0.6.43

2 release files

0.6.42

2 release files

0.6.41

2 release files

0.6.40

2 release files

0.6.39

2 release files

0.6.38

2 release files

0.6.37

2 release files

0.6.36

2 release files

0.6.35

2 release files

0.6.30

2 release files

0.6.29

2 release files

0.6.28

2 release files

0.6.27

2 release files

0.6.26

2 release files

0.6.25

2 release files

0.6.24

2 release files

0.6.23

2 release files

0.6.22

2 release files

0.6.21

2 release files

0.6.19

2 release files

0.6.18

2 release files

0.6.17

2 release files

0.6.16

2 release files

0.6.14

1 release file

0.6.13

1 release file

0.6.12

1 release file

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.11

1 release file

0.5.10

2 release files

0.5.9

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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