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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

henosis_cli-0.6.171.tar.gz (944.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

henosis_cli-0.6.171-py3-none-win_amd64.whl (2.6 MB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file henosis_cli-0.6.171.tar.gz.

File metadata

  • Download URL: henosis_cli-0.6.171.tar.gz
  • Upload date:
  • Size: 944.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.4

File hashes

Hashes for henosis_cli-0.6.171.tar.gz
Algorithm Hash digest
SHA256 02ff75acda3e7e4e34fcd207e520400b2868ecafd44dba8a5bd8dfb69fdda6c6
MD5 e2b1c6964a40fb93786f2d0b0ccfeddc
BLAKE2b-256 825843a1a086e9a0755f8c16c752da42973667eb72a2ea79a002986201a6fb31

See more details on using hashes here.

File details

Details for the file henosis_cli-0.6.171-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for henosis_cli-0.6.171-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e7200d141c1057a5cd181fa222df3c4554168fb3bf6d3f0e59f831fe600e6d5a
MD5 6f1085a81614ad1c1ad422696943159b
BLAKE2b-256 eea33e15aae82345c06417c00873163743bee71cd75181f2e37ca6b768b95a62

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.173

2 files

0.6.172

2 files

This release

0.6.171 This release

2 files

0.6.170

2 files

0.6.169

2 files

0.6.168

2 files

0.6.167

2 files

0.6.166

2 files

0.6.165

2 files

0.6.164

2 files

0.6.163

2 files

0.6.162

2 files

0.6.161

2 files

0.6.160

2 files

0.6.159

2 files

0.6.158

2 files

0.6.157

2 files

0.6.156

2 files

0.6.155

2 files

0.6.154

2 files

0.6.153

2 files

0.6.152

2 files

0.6.151

2 files

0.6.150

2 files

0.6.149

2 files

0.6.148

2 files

0.6.147

2 files

0.6.146

2 files

0.6.145

2 files

0.6.144

2 files

0.6.143

2 files

0.6.142

2 files

0.6.141

2 files

0.6.140

2 files

0.6.138

2 files

0.6.137

2 files

0.6.136

2 files

0.6.135

2 files

0.6.134

2 files

0.6.133

2 files

0.6.132

2 files

0.6.131

2 files

0.6.130

2 files

0.6.129

2 files

0.6.128

2 files

0.6.127

2 files

0.6.126

2 files

0.6.124

2 files

0.6.123

2 files

0.6.122

2 files

0.6.119

2 files

0.6.117

2 files

0.6.116

2 files

0.6.115

2 files

0.6.113

2 files

0.6.112

2 files

0.6.111

2 files

0.6.110

2 files

0.6.109

2 files

0.6.108

2 files

0.6.107

2 files

0.6.106

2 files

0.6.105

2 files

0.6.104

2 files

0.6.103

2 files

0.6.102

2 files

0.6.101

2 files

0.6.100

2 files

0.6.99

2 files

0.6.98

2 files

0.6.97

2 files

0.6.96

2 files

0.6.95

2 files

0.6.94

2 files

0.6.93

2 files

0.6.92

2 files

0.6.91

2 files

0.6.90

2 files

0.6.89

2 files

0.6.88

2 files

0.6.87

2 files

0.6.86

2 files

0.6.85

2 files

0.6.84

2 files

0.6.83

2 files

0.6.82

2 files

0.6.81

2 files

0.6.80

2 files

0.6.79

2 files

0.6.78

2 files

0.6.76

2 files

0.6.75

2 files

0.6.74

2 files

0.6.73

2 files

0.6.72

2 files

0.6.71

2 files

0.6.70

2 files

0.6.69

2 files

0.6.68

2 files

0.6.67

2 files

0.6.66

2 files

0.6.65

2 files

0.6.64

2 files

0.6.63

2 files

0.6.62

2 files

0.6.61

2 files

0.6.60

2 files

0.6.57

2 files

0.6.56

2 files

0.6.55

2 files

0.6.54

2 files

0.6.53

2 files

0.6.52

2 files

0.6.51

2 files

0.6.50

2 files

0.6.49

2 files

0.6.48

2 files

0.6.47

2 files

0.6.46

2 files

0.6.45

2 files

0.6.44

2 files

0.6.43

2 files

0.6.42

2 files

0.6.41

2 files

0.6.40

2 files

0.6.39

2 files

0.6.38

2 files

0.6.37

2 files

0.6.36

2 files

0.6.35

2 files

0.6.34

2 files

0.6.33

2 files

0.6.32

2 files

0.6.31

2 files

0.6.30

2 files

0.6.29

2 files

0.6.28

2 files

0.6.27

2 files

0.6.26

2 files

0.6.25

2 files

0.6.24

2 files

0.6.23

2 files

0.6.22

2 files

0.6.21

2 files

0.6.19

2 files

0.6.18

2 files

0.6.17

2 files

0.6.16

2 files

0.6.14

1 file

0.6.13

1 file

0.6.12

1 file

0.6.11

2 files

0.6.10

2 files

0.6.9

2 files

0.6.8

2 files

0.6.7

2 files

0.6.6

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.12

2 files

0.5.11

1 file

0.5.10

2 files

0.5.9

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.0

2 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