icebath

module
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: MIT

README

icebath icebath

icebath.app go 1.27 linux amd64



A tiling agentic harness and netrunner toolkit for a deep dive beyond the blackwall.



 INSTALL    USAGE    CONFIG 


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

▍ Install

curl -fsSL icebath.app | sh
irm icebath.app | iex
brew install nickheyer/tap/icebath
yay -S icebath-bin
winget install nickheyer.icebath
scoop bucket add nickheyer https://github.com/nickheyer/scoop-bucket && scoop install nickheyer/icebath
choco install icebath
pipx install icebath-cli
nix profile add github:nickheyer/nixpkg#icebath
mise use -g github:nickheyer/icebath
docker run -it --rm -v "$PWD:/work" ghcr.io/nickheyer/icebath
go install github.com/nickheyer/icebath/cmd/icebath@latest
# apt, dnf and apk https://icebath.app

▍ Usage

# Just run it and set things up in the TUI
icebath
# All the flags and modes of operation
icebath [flags] [prompt]
  -profile name      endpoint profile: anthropic, openai, openai-chat, google, mistral, openrouter, ollama, bedrock, nebu
  -model id          model the profile serves
  -mode name         default, acceptEdits, plan or bypassPermissions
  -resume id         continue a stored session
  -c, -continue      continue the latest session of this project
  -mission text      start a mission with an objective
  -kind name         kind the session runs as, from extensions or kind files
  -workflow name     run a workflow with the prompt as its argument
  -k setting=value   max_tokens, max_rounds, temperature, compact_threshold, prune_after, theme, motion, cascade, option_as_alt, terminal_shell, terminal_scrollback, extra.<field>
  -config path       extra configuration file
  -dir path          working directory of the shell
  -root path         project root for hooks, rules and servers
  -theme name        blackwall, light, contrast or plain
  -print             no terminal, every event as a JSON line
  -headless          no terminal, the answer as text
  -yes               approve every tool call without a terminal
  -sessions          list the stored sessions of this project
  -all               with -sessions, list the sessions of every project
# Use icebath as a cli tool if need be
export ANTHROPIC_API_KEY=...
icebath "check disk usage"
echo "summarize go.mod" | icebath -print -yes
icebath -mission "map the open ports on 10.0.0.0/24"
icebath -workflow loop "make every test pass"
icebath -kind critic "review pkg/agent"

▍ Configuration

Configuration Files
~/.config/icebath/config.json or .icebath/config.json
rules.json
hooks.json
kinds/*.json
~/.config/icebath/profiles.json
~/.config/icebath/keybinds.json

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

▍ Need a runtime manager and gateway? See nebu ▍

Directories

Path Synopsis
cmd
icebath command
pkg
agent
Turn loop that streams the model, gates and runs its tool calls and repeats until it stops
Turn loop that streams the model, gates and runs its tool calls and repeats until it stops
app
Terminal application that composes the harness, the window manager and the cards, with a headless runner for scripts
Terminal application that composes the harness, the window manager and the cards, with a headless runner for scripts
ext
Extension interface and loader, one registration per extension point linked into the binary
Extension interface and loader, one registration per extension point linked into the binary
ext/sprint
Sprint extension, a project manager, a planner, then a lead directing engineers as they build one request as a team
Sprint extension, a project manager, a planner, then a lead directing engineers as they build one request as a team
facts
Store of findings an agent records while it works, persisted as session records and exported as Markdown
Store of findings an agent records while it works, persisted as session records and exported as Markdown
harness
Bridge between the agent framework and a Bubble Tea program, turning callbacks into messages and prompts into answers
Bridge between the agent framework and a Bubble Tea program, turning callbacks into messages and prompts into answers
internal/proc
Process group control and process table queries shared by the shell and the MCP child processes
Process group control and process table queries shared by the shell and the MCP child processes
internal/sse
Server sent events reader following the WHATWG event stream parsing rules
Server sent events reader following the WHATWG event stream parsing rules
lockfile
Advisory file locks shared between icebath processes
Advisory file locks shared between icebath processes
mission
Missions an operator runs, each an objective with a plan the agent keeps current, persisted as session records
Missions an operator runs, each an objective with a plan the agent keeps current, persisted as session records
policy
Decides whether a tool call may run, asking a person when the rules do not settle it
Decides whether a tool call may run, asking a person when the rules do not settle it
profiles
Named endpoint configurations and the credentials that turn them into providers
Named endpoint configurations and the credentials that turn them into providers
protocol
Wire protocol abstraction shared by every agentic API, independent of any provider
Wire protocol abstraction shared by every agentic API, independent of any provider
protocol/anthropic-messages
Anthropic Messages API wire protocol with paths relative to the api.anthropic.com origin
Anthropic Messages API wire protocol with paths relative to the api.anthropic.com origin
protocol/bedrock-converse-stream
Amazon Bedrock Converse and ConverseStream wire protocol, paths relative to the regional bedrock-runtime host
Amazon Bedrock Converse and ConverseStream wire protocol, paths relative to the regional bedrock-runtime host
protocol/google-generative-ai
Gemini generateContent wire protocol with paths relative to the generativelanguage.googleapis.com origin
Gemini generateContent wire protocol with paths relative to the generativelanguage.googleapis.com origin
protocol/mistral-conversations
Mistral Conversations API, POST /v1/conversations under the api.mistral.ai base URL
Mistral Conversations API, POST /v1/conversations under the api.mistral.ai base URL
protocol/ollama-chat
Ollama native chat wire protocol, POST /api/chat relative to the Ollama host such as http://localhost:11434
Ollama native chat wire protocol, POST /api/chat relative to the Ollama host such as http://localhost:11434
protocol/openai-completions
OpenAI Chat Completions wire protocol with paths relative to a base URL ending in /v1
OpenAI Chat Completions wire protocol with paths relative to a base URL ending in /v1
protocol/openai-responses
OpenAI Responses API wire protocol with paths relative to the api.openai.com/v1 base URL
OpenAI Responses API wire protocol with paths relative to the api.openai.com/v1 base URL
provider
Binds a wire protocol to an endpoint, a credential and an HTTP retry policy
Binds a wire protocol to an endpoint, a credential and an HTTP retry policy
provider/sigv4
AWS Signature Version 4 credential carrier for Bedrock and other AWS endpoints
AWS Signature Version 4 credential carrier for Bedrock and other AWS endpoints
session
Transcript of one conversation with usage totals and pluggable persistence
Transcript of one conversation with usage totals and pluggable persistence
shell
Shell interpreting command lines inside the process, starting only the programs a line names
Shell interpreting command lines inside the process, starting only the programs a line names
term
Terminal emulator interpreting xterm control sequences into a cell grid with scrollback, driving a program on a pty
Terminal emulator interpreting xterm control sequences into a cell grid with scrollback, driving a program on a pty
tool
Callable tools the model may invoke, with a registry that runs them safely
Callable tools the model may invoke, with a registry that runs them safely
tool/files
File tools that read, write, edit, glob and grep inside an optional root
File tools that read, write, edit, glob and grep inside an optional root
tool/mcp
Model Context Protocol client that exposes the tools of a server as local tools
Model Context Protocol client that exposes the tools of a server as local tools
tool/web
Web tool that fetches a URL and returns its content as readable text
Web tool that fetches a URL and returns its content as readable text
ui/anim
Spring driven scalars and rectangles for terminal motion
Spring driven scalars and rectangles for terminal motion
ui/cards
Harness cards, each a window manager card fed by bridge messages and reading live state through a shared environment
Harness cards, each a window manager card fed by bridge messages and reading live state through a shared environment
ui/keys
Keybinds every legend, palette and menu derives its keys from, bound per context and kept in one host file
Keybinds every legend, palette and menu derives its keys from, bound per context and kept in one host file
ui/render
Text rendering shared by every card, markdown, code, diffs, tables and small formatters tuned to the theme
Text rendering shared by every card, markdown, code, diffs, tables and small formatters tuned to the theme
ui/theme
Colors and chrome shared by every icebath surface
Colors and chrome shared by every icebath surface
ui/wm
Tiling window manager for terminal cards with workspaces, floating dialogs, a command palette and spring motion
Tiling window manager for terminal cards with workspaces, floating dialogs, a command palette and spring motion

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL