Skip to main content

HexaLLM

AI coding assistant for the terminal — like Claude Code or Codex, but runs on your own local models via Ollama or a HexaLLM instance.

hexallm › explain the auth flow in this repo
hexallm › add input validation to src/api/users.py
hexallm › write tests for the payment module and run them

Install

pip install hexallm

Or from a downloaded wheel:

pip install hexallm-0.13.3-py3-none-any.whl

Requirements

  • Python 3.10+
  • Ollama running locally (ollama serve)
  • A model: ollama pull llama3.2 or ollama pull codellama

Quick start

hexallm                   # start interactive session
hexallm -m codellama:7b   # use a specific model
hexallm models            # list available models
hexallm set model codellama:7b   # save default model

Session commands

Command Description
/clear Clear conversation and screen
/context Show conversation history
/model NAME Switch model
/set KEY VALUE Change max_steps or temperature
/tools List available tools
/help Show help
/exit Quit

Tools

Tool What it does
read_file Read any file
write_file Create or overwrite a file
patch_file Targeted string replacement
list_files List a directory
run_command Run shell commands (tests, linters, builds)
search_files Grep across files

Remote daemon mode

Connect to a HexaLLM server and let the web UI dispatch tasks to your machine:

hexallm login https://your-hexallm-server   # authenticate
hexallm daemon                              # start listening

The HexaLLM Chat UI will show a "CLI" badge — select your connected machine and the AI will execute tasks locally and stream results back.

Configuration

Stored at ~/.hexallm/config.json.

hexallm config                            # show config
hexallm set model codellama:13b           # default model
hexallm set max_steps 30                  # allow longer runs
hexallm set ollama_url http://host:11434  # remote Ollama

Download files

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

Source Distribution

hexallm-14.0.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

hexallm-14.0.1-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file hexallm-14.0.1.tar.gz.

File metadata

  • Download URL: hexallm-14.0.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hexallm-14.0.1.tar.gz
Algorithm Hash digest
SHA256 244c53ef024e1bb0ae5f30b25ff4921fa2877a335f05a8db74f98e7a6aa4689b
MD5 4d03d2a15f2cfdf87963d7d43603889f
BLAKE2b-256 133d879028ecc930dc7faabfb8351bbde88b5a894d1c0ae35b10533ccf955c1c

See more details on using hashes here.

File details

Details for the file hexallm-14.0.1-py3-none-any.whl.

File metadata

  • Download URL: hexallm-14.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hexallm-14.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0419c8840a1f28d01b8b9f425ad000e8025fdaefca8aaaf655d60b6ceb54da4f
MD5 eb0ede430f5accdc50c58f7a47b209a0
BLAKE2b-256 93d1a94df25b423b5471ba53bd262fddc7e0db37c8f3d92f434c70925b45d50c

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 Sentry Error logging StatusPage Status page