Skip to content
snonuxPublic

About

hexai is a LSP language server for the Helix editor (could be used for other editors, too) for interacting with AI.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Hexai

Hexai logo

Hexai adds AI completions, code actions, and inline chat to the Helix editor. It also includes a command line LLM client, a tmux action menu, and ask, a project task CLI built on Taskwarrior. Other LSP editors may work, but Helix is the tested integration.

Read the Hexai guide — set up Helix, choose your providers, and work through every feature with animated terminal recordings.

AI completions in Helix Chat and inline edits in Helix
Requesting and accepting an AI completion in Helix Asking follow-up questions and applying an inline edit in Helix
  • Complete code with one model or compare suggestions from several.
  • Ask questions inside a file, or use inline instructions to change code.
  • Rewrite, document, fix diagnostics, and generate Go tests from a selection.
  • Define your own actions and run them through Helix or a tmux popup.
  • Send text through hexai, compare model responses, and reuse cached answers.
  • Track project work with ask, stable task aliases, dependencies, and Fish completion.

Providers: Ollama (local or cloud), OpenAI, OpenRouter, and Anthropic. The built-in default is Ollama Cloud; the guide also covers local setup.

Install

With Go 1.26 or newer:

go install github.com/snonux/hexai/cmd/hexai-lsp-server@latest
go install github.com/snonux/hexai/cmd/hexai-tmux-action@latest
go install github.com/snonux/hexai/cmd/hexai@latest
go install github.com/snonux/hexai/cmd/ask@latest
go install github.com/snonux/hexai/cmd/nask@latest

nask runs ask na: for example, nask list lists project tasks without the agent tag, and nask add 'Read the guide' creates one.

About

hexai is a LSP language server for the Helix editor (could be used for other editors, too) for interacting with AI.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages