Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

mh-local

A self-contained local Agent assistant powered by minimal-harness. It bundles a FastAPI backend with a built-in Vue 3 SPA frontend — no database, no external service dependencies.

Latest version: 0.1.0

Features

  • No cloud required — runs entirely on localhost, single-user
  • Built-in web UI — chat interface with agent, scene, tool, and LLM provider management
  • No database — file-based sessions and registries under ~/.config/mh-local/
  • Auto-discovery — automatically creates a workspace scene from the current directory
  • Custom tool scripts — drag-and-drop upload .py files; the gateway validates required metadata and the shebang interpreter, then runs execute() in a child process with streamed ToolProgress events

Quick start

uv add mh-local
uv run mh-local

Your browser will open automatically to http://127.0.0.1:<port>.

On first run, you'll be prompted to configure an LLM provider (API key, base URL) via the web UI's Provider management page.

Usage

After starting, mh-local serves a full-featured chat UI at the local URL with:

  • Chat — converse with AI agents with streaming responses
  • Manage Agents — view and configure built-in agents (General Assistant triage, Tool Maker tool-maker)
  • Manage Tools — inspect built-in tools (bash, handoff, discover_agents, local_file_operator) or upload custom tool scripts
  • Manage Scenes — workspace management for different projects (one auto-created per cwd on first launch)
  • Manage Providers — configure LLM providers (OpenAI, Anthropic, etc.)

How it works

mh-local
  ├── FastAPI app (mh_gateway-based) — serves API + static files
  ├── Vue 3 SPA — chat UI served at /
  ├── File-based stores:
  │   ├── sessions/ — conversation history
  │   ├── providers.json — LLM provider config
  │   └── registry.json — agents, tools, scenes
  └── Local auth — auto-grants admin access

Configuration

All configuration is done through the web UI. Persistent data lives at:

Path Contents
~/.config/mh-local/providers.json LLM provider credentials
~/.config/mh-local/registry.json Agent/tool/scene registrations
~/.config/mh-local/sessions/ Chat session files
~/.config/mh-local/logs/ Runtime logs

Development

# Build frontend (SPA + component UMD bundles)
powershell scripts/build-mh-local-frontend.ps1   # Windows
bash scripts/build-mh-local-frontend.sh           # Linux/macOS

# Run
uv run mh-local

Download files

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

Source Distribution

mh_local-0.1.1a10.tar.gz (191.8 kB view details)

Uploaded Source

Built Distribution

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

mh_local-0.1.1a10-py3-none-any.whl (207.6 kB view details)

Uploaded Python 3

File details

Details for the file mh_local-0.1.1a10.tar.gz.

File metadata

  • Download URL: mh_local-0.1.1a10.tar.gz
  • Upload date:
  • Size: 191.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mh_local-0.1.1a10.tar.gz
Algorithm Hash digest
SHA256 b8304dc8f9350157e22e4907a4572e01927c672d272cb3b6eab8e604f1b28dcf
MD5 b38c04becceab51eb940b2108cfe874a
BLAKE2b-256 acafffc8990bde7eb5c966f0f0e2fc74f5b4cacbccd2989b370854d60112435d

See more details on using hashes here.

File details

Details for the file mh_local-0.1.1a10-py3-none-any.whl.

File metadata

  • Download URL: mh_local-0.1.1a10-py3-none-any.whl
  • Upload date:
  • Size: 207.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mh_local-0.1.1a10-py3-none-any.whl
Algorithm Hash digest
SHA256 444b76913b3dd6aca2493aa186985a33397687d4356b94098f7e74aa2fcd455f
MD5 3e89f5e041f8d1a240f96f6bb145de42
BLAKE2b-256 34cce0fca10428777a558f8e91f6f4e69ff82f4bc986faeccaca3225855981a0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.1a10 This release

2 files

0.1.0

2 files

Supported by

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