Skip to main content

The Henosis CLI: a multi-provider coding agent for your terminal, connected to Henosis Chat and Remote Control.

Project description

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

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

Project details


Release history Release notifications | RSS feed

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.48.tar.gz (2.4 MB 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.48-py3-none-win_amd64.whl (2.3 MB view details)

Uploaded Python 3Windows x86-64

File details

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

File metadata

  • Download URL: henosis_cli-0.6.48.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for henosis_cli-0.6.48.tar.gz
Algorithm Hash digest
SHA256 1b88930a6603ec54e4f8a09cc273e30c03d2a928e7c7d7b33fe5ab72747ec40e
MD5 853d5f6f1b74cb42c8a738a3d53b43e9
BLAKE2b-256 bb220f18cc2a5a76239d9b7beef01d062f168fe581b845787d60a9d94a46ccd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: henosis_cli-0.6.48-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for henosis_cli-0.6.48-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 af5e5e148bedcecd9fd1f7e1526f82401ac0c516c805a4dbc9607040055b3009
MD5 a058d83c38afdc88ded6d44ed451d257
BLAKE2b-256 a1a2d4dc70d4900d81ec5d2c590d23e69218d2a5734aa901b955c1e9608e9763

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page