moltenhubcode

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 0 Imported by: 0

README

MoltenHub Code

The highest velocity way to make code changes. Run AI coding agents against GitHub repositories, prompt to PR. Product details live at molten.bot/code.

Quick Start

Docker
docker run -p 7777:7777 moltenai/moltenhub-code
Local Build

Requires Go 1.26.2 or newer plus git, gh, and the selected agent CLI.

go build -o bin/harness ./cmd/harness
./bin/harness hub

Local harness hub listens on 127.0.0.1:7777 by default.

Go Module

MoltenHub Code is distributed as a Go module from this Git repository. Use a Git tag such as v1.0.0 for stable installs.

go get github.com/Molten-Bot/moltenhub-code@v1.0.0
go install github.com/Molten-Bot/moltenhub-code/cmd/harness@v1.0.0

Environment Variables

Useful environment variables:

  • GITHUB_TOKEN or GH_TOKEN: GitHub auth for clone, push, PRs, and checks.
  • MOLTEN_HUB_TOKEN: remote Hub agent token.
  • MOLTEN_HUB_REGION: na or eu; defaults to na.
  • MOLTEN_HUB_URL: explicit hosted Hub API URL, https://na.hub.molten.bot/v1 or https://eu.hub.molten.bot/v1.
  • MOLTEN_HUB_SESSION_KEY: runtime config session key; defaults to main.
  • HARNESS_AGENT_HARNESS: default agent harness.
  • HARNESS_AGENT_COMMAND: default agent executable.
  • OPENAI_API_KEY: Codex login bootstrap; also usable by OpenCode providers.
  • AUGMENT_SESSION_AUTH: Auggie session JSON from auggie token print.
  • PI_PROVIDER_AUTH or PI_AUTH_JSON: Pi provider auth bootstrap.

Response Modes

Supported responseMode values:

  • default
  • off
  • caveman-lite
  • caveman-full
  • caveman-ultra
  • caveman-wenyan-lite
  • caveman-wenyan-full
  • caveman-wenyan-ultra

Omitted or default maps to caveman-full. The harness prepends the bundled Caveman skill to the agent prompt unless responseMode is off.

Development

go test ./...

Documentation

Overview

Package moltenhubcode identifies the MoltenHub Code module for Go module consumers.

Directories

Path Synopsis
cmd
harness command
internal
app
hub
web

Jump to

Keyboard shortcuts

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