Skip to content

Releases

Merry v0.1.4

Choose a tag to compare

@locez locez released this 03 Dec 18:49
v0.1.4
4d4f2ea

English · 简体中文 · Install


English

Browser Sandboxing & Permissions

  • Linux browser sandbox /proc fix — Allows /proc writes inside the Linux BrowserSandboxProfile so Chromium's CLONE_NEWUSER sandbox can write /proc/<pid>/{setgroups,uid_map,gid_map,oom_score_adj} under Landlock's PR_SET_NO_NEW_PRIVS, fixing headless browser_tab launch failures (exit code 82).
  • macOS Seatbelt browser sandbox fix — Adds validated Darwin user temp directories (/private/var/folders/.../T), scopes browser-only MachPortRendezvousServer Mach registration in Seatbelt, and passes --no-sandbox inside the outer Seatbelt browser confinement so Chrome launches reliably on macOS without nested sandbox_init rejections.
  • Clearer network permission labels — Updates permission review modals and /permissions labels to + Network (IP / loopback & outbound) to clarify that IP-level network grants cover loopback and outbound connections.

Anthropic Provider & Model Picker

  • Higher default max_output_tokens — Raises Anthropic's default max_output_tokens from 4096 to 32,000, preventing model_length truncation on extended thinking and long coding responses.
  • Anthropic-compatible /v1/models normalization — Defaults missing has_more, normalizes blank owned_by to None, deduplicates trailing /v1 and repeated slashes in Anthropic endpoint URLs (e.g., OpenRouter / OpenCode Zen), and improves 404/405 diagnostics.
  • ModelPicker inline 404 UX & cache seeding — Replaces stuck Refreshing... spinners after discovery errors with typed picker status and inline 404 guidance (No /v1/models — type a model ID, or use an OpenAI endpoint), and consistently seeds cached/current models across /model, Settings, ProviderForm (guarded by matching kind and base URL), and the setup wizard.

Dependencies

  • Updated dependencies & replaced yanked crates — Bumps pyo3 to 0.29.3 (#104) and updates yanked pin-project-lite (0.2.19) and clipboard-win (5.4.3) in Cargo.lock.

简体中文

浏览器沙箱与权限提示

  • 修复 Linux 浏览器沙箱 /proc 写入限制 — 在 Linux BrowserSandboxProfile 中允许写入 /proc,使 Chromium 的 CLONE_NEWUSER 沙箱在 Landlock PR_SET_NO_NEW_PRIVS 下可以正常写入 /proc/<pid>/{setgroups,uid_map,gid_map,oom_score_adj},修复无头 browser_tab 启动报错(exit code 82)。
  • 修复 macOS Seatbelt 浏览器沙箱启动 — 为 macOS 浏览器沙箱放行经校验的 Darwin 用户临时目录(/private/var/folders/.../T),在 Seatbelt 中仅对浏览器受限放行 MachPortRendezvousServer Mach 注册,并在外层 Seatbelt 沙箱内为 Chromium 传入 --no-sandbox,避免嵌套 sandbox_init 导致的启动失败。
  • 更清晰的网络权限标签 — 将审批弹窗与 /permissions 界面中的网络权限文案更新为 + Network (IP / loopback & outbound),明确标注 IP 级网络授权覆盖本地回环与出站连接。

Anthropic Provider 与模型选择器

  • 提高默认 max_output_tokens — 将 Anthropic Provider 默认的 max_output_tokens 从 4096 提高至 32,000,解决深度思考与长代码输出容易触发 model_length 截断的问题。
  • Anthropic 兼容接口 /v1/models 解析与 URL 规范化 — 兼容缺失 has_more 字段、将空白 owned_by 归一化为 None、自动去重 Anthropic 端点 URL 末尾的 /v1 与多余斜杠(兼容 OpenRouter / OpenCode Zen 等服务),并优化 404/405 错误诊断信息。
  • 改进 ModelPicker 404 引导与缓存回填 — 以强类型状态修复模型拉取失败后 Refreshing... 一直卡住的问题,遇到 404 时内联展示提示(No /v1/models — type a model ID, or use an OpenAI endpoint),并在 /model、设置页、Provider 表单(按类型与 Base URL 匹配)及首次配置向导中保持一致的模型缓存回填行为。

依赖更新

  • 升级依赖并替换已被 yank 的 crate — 升级 pyo3 至 0.29.3(#104),并在 Cargo.lock 中更新已被 yank 的 pin-project-lite(0.2.19)与 clipboard-win(5.4.3)。

Install / 安装

# Linux (static musl: x86_64 / arm64) & macOS (Apple Silicon / Intel) — includes Alt+G Web viewer
curl -fsSL https://github.com/locez/merry/releases/download/v0.1.4/install.sh | sh
# Windows (x86_64)
irm https://github.com/locez/merry/releases/download/v0.1.4/install.ps1 | iex
cargo install --locked merry-cli --features web   # crates.io CLI (Rust 1.95+) / cargo binstall merry-cli
cargo add merry --features anthropic              # Rust SDK
pip install merry-agent                           # Python SDK (imports as `merry`)
nix run github:locez/merry                        # Nix flake

Full Changelog: v0.1.3...v0.1.4

Merry v0.1.3

Choose a tag to compare

@locez locez released this 03 Dec 13:48
v0.1.3
6816f73

English · 简体中文 · Install


English

Unified Permission Model & Browser Sandboxing

  • Unified live policy engine & three-state capabilities — Consolidates filesystem, shell, MCP, and network access rules into a single live policy engine with explicit three-state capabilities (allow / ask / deny), pre-resolved static rules, and scoped review evaluation, fixing ProductReadOnly depth handling along the way.
  • Redesigned approval review modal — Overhauls the in-TUI permission review modal with explicit authorization scopes, clearer summaries, and optional user notes across tools.
  • Workspace persistence & /permissions UI — Persists workspace-scoped grants in the state directory with 0600 permissions, hot-reloads changes live, and adds an interactive /permissions view for inspecting and revoking grants.
  • Unified Web/Browser network admission & desktop browser sandbox — Routes headless browser launches through ProcessRunner, unifies web and browser host admission under the shared policy engine, and shares active_authorized_host between the CDP network guard and browser snapshots so same-host subrequests on once-authorized pages are handled accurately.

Embeddable TUI, App Layer, UniFFI & Swift 6 SDK

  • Standalone merry-tui & merry-app crates — Extracts shared configuration and host wiring into merry-app and decouples the interactive TUI into a clap-free merry-tui crate with a transport-agnostic virtual terminal driver, incremental VT/ANSI input parser, explicit TuiConfig / TuiProcessConfig, and concurrent TuiSession virtual handles.
  • Host-managed model selection — Enables embedded TUI hosts using in-memory TuiProviderConfig to discover models via ModelCatalogProvider, switch models live, and persist per-provider selections while keeping credential management in the host application.
  • merry-uniffi & Swift 6 SDK — Introduces merry-uniffi bindings and a native Swift 6 SDK with macros, Foundation.URL overloads, AsyncStream-based TuiSession.start, fat LTO staticlib builds, and macOS / iOS / Mac Catalyst / visionOS XCFramework packaging.

Runtime, Providers & Cross-Platform Stability

  • KV-cache prefix stability — Decouples turn-volatile context slots from the stable prompt prefix across the runtime and Anthropic/OpenAI providers to preserve KV-cache reuse across turns.
  • Runtime lifecycle, cancellation, Plan Mode & facade unification — Closes session lifecycle, retry-order, cancel-safety, and no-bash-ast Plan Mode gaps; unifies step-hook, wave, and final-output orchestration across loops; and backs CodingSession with the unified Agent facade.
  • Provider compatibility & transport diagnostics — Tolerates null deltas and arrays in OpenAI Chat Completions streams (#108) and expands bounded, redacted Error::source() cause chains for transport and catalog diagnostics across OpenAI and Anthropic providers.
  • TUI polish & Apple/Windows fixes — Preserves canvas background during mouse text selection, renames the ANSI theme preset to Terminal, and fixes Apple system sqlite3 linking, iOS deployment targets, Windows virtual terminal shutdown, and Windows clippy warnings.

简体中文

统一权限模型与浏览器沙箱

  • 统一实时策略引擎与三态能力模型 — 将文件系统、Shell、MCP 与网络访问规则收敛到统一的实时策略引擎中,支持明确的三态能力(allow / ask / deny)、静态规则预解析与作用域评估,并修复 ProductReadOnly 深度判断问题。
  • 重设计审批弹窗 UI — 重构 TUI 权限审批弹窗,提供更清晰的授权作用域选项、统一摘要展示以及可选的备注说明。
  • Workspace 权限持久化与 /permissions 界面 — 支持将工作区级别授权以 0600 权限持久化到状态目录并实时热重载,同时新增 /permissions 交互界面用于查看和撤销已有授权。
  • 统一 Web/Browser 网络准入与桌面浏览器沙箱 — 无头浏览器启动统一经由 ProcessRunner 托管,将 Web 与浏览器域名准入纳入统一策略引擎,并在 CDP 网络守卫与浏览器快照之间共享 active_authorized_host,准确处理单次授权页面内的同域子请求。

可嵌入 TUI、应用配置层、UniFFI 与 Swift 6 SDK

  • 独立 merry-tui 与 merry-app crate — 将共享应用配置与宿主装配抽离为 merry-app,将交互式 TUI 拆分为不依赖 clap 的独立 merry-tui crate,新增传输无关的虚拟终端驱动、增量 VT/ANSI 输入解析器、显式 TuiConfig / TuiProcessConfig 以及支持并发的 TuiSession 虚拟会话句柄。
  • 宿主托管模型选择 — 使用内存态 TuiProviderConfig 的嵌入式 TUI 宿主现可通过 ModelCatalogProvider 发现模型、实时切换并按 Provider 持久化模型选择,同时继续由宿主应用统一管理凭证。
  • merry-uniffi 与 Swift 6 SDK — 新增 merry-uniffi 绑定与原生 Swift 6 SDK,支持宏、Foundation.URL 重载、基于 AsyncStream 的 TuiSession.start、fat LTO 静态库构建,以及 macOS / iOS / Mac Catalyst / visionOS XCFramework 打包。

运行时、Provider 与跨平台稳定性

  • KV-Cache 前缀稳定性 — 将每轮易变的上下文槽位与稳定的提示词前缀解耦,提升运行时以及 Anthropic / OpenAI Provider 的跨轮 KV-Cache 复用率。
  • 运行时生命周期、取消安全、Plan Mode 与 Facade 统一 — 补齐会话生命周期、重试顺序、取消安全及关闭 bash-ast 时的 Plan Mode 边界缺口;统一各循环的 step-hook、wave 与最终输出编排,并将 CodingSession 底层统一至 Agent Facade。
  • Provider 流式兼容与传输诊断 — 兼容 OpenAI Chat Completions 流式响应中的 null delta 与数组字段(#108),并在 OpenAI 与 Anthropic Provider 的传输及模型目录诊断中展开有界、脱敏的 Error::source() 原因链。
  • TUI 细节与 Apple / Windows 修复 — 鼠标选中文本时保留画布背景,将 ANSI 主题预设更名为 Terminal,并修复 Apple 系统 sqlite3 链接、iOS 部署目标、Windows 虚拟终端关闭竞态与 Windows clippy 告警。

Install / 安装

# Linux (static musl: x86_64 / arm64) & macOS (Apple Silicon / Intel) — includes Alt+G Web viewer
curl -fsSL https://github.com/locez/merry/releases/download/v0.1.3/install.sh | sh
# Windows (x86_64)
irm https://github.com/locez/merry/releases/download/v0.1.3/install.ps1 | iex
cargo install --locked merry-cli --features web   # crates.io CLI (Rust 1.95+) / cargo binstall merry-cli
cargo add merry --features anthropic              # Rust SDK
pip install merry-agent                           # Python SDK (imports as `merry`)
nix run github:locez/merry                        # Nix flake

Contributors / 致谢

  • @serephus — Tolerate null delta and arrays in OpenAI Chat Completions streams (#108)

Full Changelog: v0.1.2...v0.1.3

Merry v0.1.2

Choose a tag to compare

@locez locez released this 30 Nov 09:25
v0.1.2
965d4f6

English · 简体中文 · Install


English

Anthropic Provider

  • Compaction & message-role normalization — Fixes HTTP 400 errors on Anthropic Messages after checkpoint compaction or during tool loops by ensuring messages[0] always uses the "user" role (prepending a lightweight user bridge when compacted history begins with an assistant turn) and merging adjacent same-role content blocks (assistant commentary + tool_use, consecutive assistant text, and tool_result + following user content such as append-mode compaction directives), while keeping tool_result blocks first and preserving stable prompt-cache blocks.

CLI & Terminal Integration

  • OSC 7501 Program Status Protocol — Emits spec-compliant OSC 7501 lifecycle updates (idle, working, done, blocked with permission/auth, error, and clear) under app=merry so terminals and workspace managers (such as Ghostty and RootShell's Agent Inbox) can track live status over local shells, SSH, and containers without screen scraping. Automatically deduplicated, suppressed under TERM=dumb, cleared on TUI exit, and emitted to stderr in headless merry run only when stderr is a TTY.

Build & Packaging

  • Additive optional Cargo features & release-small profile — Decouples heavy, C-linked, and OS-confinement subsystems behind five default-enabled additive features (pdf, syntax-highlight, sandbox, bundled-sqlite, bash-ast) while preserving default behavior and provider-visible tool schemas (disabled builds fail closed on explicit isolation or bash AST classification), and adds [profile.release-small] (opt-level = "z", lto = "fat", panic = "abort", strip = "symbols").

简体中文

Anthropic Provider

  • 压缩与消息角色规范化 — 修复 Anthropic Messages 在上下文压缩后或工具循环中返回 HTTP 400 的问题:当压缩后的历史以 assistant 开头时自动前置一条轻量的 user 衔接消息以满足首条必须为 user 的要求,并自动合并相邻同 role 内容块(assistant commentary + tool_use、连续 assistant 文本,以及 tool_result + 后续 user 内容如 Append 模式压缩指令),同时保持 tool_result 块置顶且不破坏 stable prefix 的 Prompt Cache。

CLI 与终端集成

  • OSC 7501 程序状态协议 — 新增符合规范的 OSC 7501 状态上报(idle、working、done、带 permission/auth 原因的 blocked、error、clear,app=merry),便于 Ghostty、RootShell Agent Inbox 等终端与工作区管理器在本地、SSH 和容器环境下实时感知 Merry 生命周期状态;支持去重、TERM=dumb 自动静默、TUI 退出时自动 clear,以及 headless merry run 仅在 stderr 为 TTY 时输出。

构建与打包

  • 可选加法 Cargo Features 与 release-small Profile — 将较重、含 C 依赖或 OS 隔离相关的子系统拆分为 5 个默认开启的加法 feature(pdf、syntax-highlight、sandbox、bundled-sqlite、bash-ast),完全保持默认行为和模型可见的工具 schema 不变(关闭对应 feature 时显式隔离与 shell AST 校验按 fail-closed 保守降级),并新增 [profile.release-small](opt-level = "z"、lto = "fat"、panic = "abort"、strip = "symbols")。

Install / 安装

# Linux (static musl: x86_64 / arm64) & macOS (Apple Silicon / Intel) — includes Alt+G Web viewer
curl -fsSL https://github.com/locez/merry/releases/download/v0.1.2/install.sh | sh
# Windows (x86_64)
irm https://github.com/locez/merry/releases/download/v0.1.2/install.ps1 | iex
cargo install --locked merry-cli --features web   # crates.io CLI (Rust 1.95+) / cargo binstall merry-cli
cargo add merry --features anthropic              # Rust SDK
pip install merry-agent                           # Python SDK (imports as `merry`)
nix run github:locez/merry                        # Nix flake

Full Changelog: v0.1.1...v0.1.2

Merry v0.1.1

Choose a tag to compare

@github-actions github-actions released this 29 Nov 16:37
v0.1.1
d6809f0

English · 简体中文 · Install


English

Sandbox & Security

  • Live settings hot-reload — Toggling sandbox mode, network, or host integrations (ssh_agent, gpg_agent, dbus) in TUI Settings now applies in-session without restarting, preserving background processes, clearing stale grants, and rolling back on error.
  • Unified HostPathPolicy — State and config directories are readable by default (non-writable) while [skills] and durable memory stay writable, and providers/ plus external api_key_file secrets remain denied (most-specific-prefix precedence).
  • Kernel confinement hardening — Rejects workspace-escaping cwd symlinks; streams policies via anonymous stdin pipe instead of /tmp; upgrades Linux Landlock to ABI V6 (AbstractUnixSocket + Signal), drops Execute on /, blocks io_uring_setup/AF_VSOCK offline, restricts gpg-agent to its native socket, narrows $XDG_CACHE_HOME to existing dev-tool subdirs, scopes Landlock required_paths to the current action (deleted grants no longer break later runs), and fixes macOS Seatbelt rule ordering/quoting.
  • Env isolation — Strips MERRY_* (and HERDR_* in CLI) from child processes in both host and sandboxed modes.

CLI, CI & Herdr

  • MERRY_* env provider — Named (MERRY_PROVIDER) and zero-disk inline (MERRY_API_KEY / MERRY_API_KEY_FILE, MERRY_BASE_URL, MERRY_MODEL, MERRY_REASONING_EFFORT, MERRY_SERVICE_TIER, MERRY_CONTEXT_WINDOW_TOKENS, etc.) config for CI, with MERRY_API_KEY_FILE denied in sandbox.
  • Headless merry run & merry cmd parity — Unified precedence (defaults < config.toml < tui-preferences.toml < MERRY_* < CLI), new -C/--cwd, --provider, --model, --reasoning-effort, --service-tier, --max-turns, --output-schema, --no-preferences, cooperative SIGINT/SIGTERM cancellation, and session_id + usage in JSONL output.
  • Herdr pane lifecycle — Non-blocking idle/working/blocked status reporting, direct merry resume [SESSION_ID], and pane release on exit.

TUI

  • Everforest theme (#74), reply anchor header with Alt+R jump-to-latest-response, configurable corner copy buttons ([tui] copy_button_position) & /copy, and lower cold-start idle memory (23.4 MiB RSS vs. ~27 MiB in v0.1.0).

SDKs & Runtime

  • Context window & lifecycle hooks — context_window_tokens (with bundled model catalog) and typed hooks (before/after model step & tool call: modify, deny, short-circuit, continue_with, stop_turn) across Rust (merry) and Python (merry-agent), preserving KV-cache prefixes.
  • Compaction customization — CompactionPrompt, trigger_threshold_percent, dedicated compaction_provider, and Agent.compact() / InteractiveSession.compact() policy overrides in Rust & Python.
  • Cross-process session locking — OS-level .session.lock enabled by default on AgentBuilder, plus explicit close() / is_closed() (and async with in Python).
  • Reliability & architecture — Reasoning replay across tool turns (#91, fixing DeepSeek HTTP 400 + compaction accounting & TUI replay), control-character sanitization in freeform text, merry-cli routed via merry facade (CodingSession), decoupled tool admission/dispatch, and Windows LiveProcessBackend build fix.

Packaging & Docs

  • Nix & Home Manager (#72) — nix run github:locez/merry and declarative homeManagerModules.default.
  • Added README.zh-CN.md, updated CI/headless docs & badges, pinned Zig 0.17.1 in release builds, and enabled grouped Dependabot (#73).

简体中文

沙箱与安全

  • 设置实时热重载 — 在 TUI 设置中切换沙箱、网络或宿主集成(ssh_agent、gpg_agent、dbus)现可会话内即时生效,保留后台进程、清理旧授权,失败自动回滚。
  • 统一 HostPathPolicy — 状态与配置目录默认只读防篡改,[skills] 与持久化记忆保持可写,providers/ 及外部 api_key_file 按最长前缀优先严格拒绝访问。
  • 内核隔离加固 — 拦截逃逸工作区的 cwd 软链;改用匿名 stdin 管道传策略(不写 /tmp);Linux Landlock 升级至 ABI V6(AbstractUnixSocket + Signal)、移除 / 执行权限、禁网时拦截 io_uring_setup/AF_VSOCK、gpg-agent 仅开放原生 socket、$XDG_CACHE_HOME 收窄至已存在的开发缓存子目录、required_paths 仅校验当前动作(历史已删文件不再影响后续命令);修复 macOS Seatbelt 规则顺序与引号转义。
  • 环境变量隔离 — 宿主与沙箱子进程均默认剥离 MERRY_*(CLI 同步剥离 HERDR_*)。

CLI、CI 与 Herdr

  • MERRY_* 环境变量 Provider — 支持命名模式(MERRY_PROVIDER)与零落盘内联模式(MERRY_API_KEY / MERRY_API_KEY_FILE、MERRY_BASE_URL、MERRY_MODEL、MERRY_REASONING_EFFORT、MERRY_SERVICE_TIER、MERRY_CONTEXT_WINDOW_TOKENS 等),并在沙箱中禁止访问 MERRY_API_KEY_FILE。
  • Headless merry run / merry cmd 能力对齐 — 统一优先级(defaults < config.toml < tui-preferences.toml < MERRY_* < CLI),新增 -C/--cwd、--provider、--model、--reasoning-effort、--service-tier、--max-turns、--output-schema、--no-preferences、SIGINT/SIGTERM 协作取消,JSONL 输出补充 session_id 与 usage。
  • Herdr Pane 集成 — 非阻塞上报 idle/working/blocked 状态、支持 merry resume [SESSION_ID] 直达恢复及退出时释放 pane。

TUI

  • 新增 Everforest 主题(#74)、回复锚点标题与 Alt+R 一键跳转最新回复、四角可配复制按钮([tui] copy_button_position)与 /copy 命令;冷启动空闲内存降至 23.4 MiB(v0.1.0 为 ~27 MiB)。

SDK 与运行时

  • 上下文窗口与生命周期 Hooks — Rust(merry)与 Python(merry-agent)开放 context_window_tokens(含内置模型目录)与强类型 Hooks(模型步/工具调用前后的修改、拒绝、短路、continue_with、stop_turn),保持 KV-Cache 前缀稳定。
  • Compaction 定制 — 跨 Rust/Python 开放 CompactionPrompt、trigger_threshold_percent、独立 compaction_provider 及 compact() 策略覆盖。
  • 跨进程会话锁 — AgentBuilder 默认启用 .session.lock 排他锁,新增 close() / is_closed()(Python 支持 async with)。
  • 可靠性与架构 — 跨工具轮次推理内容回放(#91,修复 DeepSeek HTTP 400 并完善预算统计与 TUI 恢复)、自由文本控制字符自动清洗、merry-cli 全面经由 merry facade(CodingSession)调用、解耦工具准入与内置分发、修复 Windows LiveProcessBackend 编译。

打包与文档

  • Nix & Home Manager(#72)— 支持 nix run github:locez/merry 与 homeManagerModules.default 声明式配置。
  • 新增 README.zh-CN.md、更新 CI/Headless 文档与徽章、发布流水线固定 Zig 0.17.1、启用分组 Dependabot(#73)。

Install / 安装

# Linux (static musl: x86_64 / arm64) & macOS (Apple Silicon / Intel) — includes Alt+G Web viewer
curl -fsSL https://github.com/locez/merry/releases/download/v0.1.1/install.sh | sh
# Windows (x86_64)
irm https://github.com/locez/merry/releases/download/v0.1.1/install.ps1 | iex
cargo install --locked merry-cli --features web   # crates.io CLI (Rust 1.95+) / cargo binstall merry-cli
cargo add merry --features anthropic              # Rust SDK
pip install merry-agent                           # Python SDK (imports as `merry`)
nix run github:locez/merry                        # Nix flake

Contributors / 致谢

  • @serephus — Nix package & Home Manager module (#72), Dependabot (#73), Everforest theme (#74), reasoning replay across tool turns (#91)

Full Changelog: v0.1.0...v0.1.1

Merry v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 11:06
v0.1.0
2005e68

🎉 Welcome to Merry v0.1.0 — our very first public release!

Merry is a lightweight terminal coding agent powered by a single unified Rust runtime that serves the interactive TUI, headless CLI, Rust crate, and Python SDK from the same core.


What You Can Do in v0.1.0

  • Run Light, Stay Fast — Single native Rust binary with no JS runtime or background daemon, idling at ~27 MiB RSS in the full interactive TUI. Prebuilt binaries ship with the local Web trajectory viewer (Alt+G) bundled in.
  • Interactive TUI & Headless CLI
    • Streaming Markdown and syntax-highlighted diffs, built-in themes (Sakura, Tokyo Night, Catppuccin Mocha, Nord, Paper Light, ANSI) with optional transparency.
    • Plan Mode (Alt+P), inline timeline quoting & review comments (Alt+C), full command output inspection (Alt+T), clipboard image paste (Ctrl+V), and customizable keymaps.
    • Headless & scripting workflows via merry run, merry resume, merry cmd, and shell completions (bash, zsh, fish, powershell, elvish).
  • Parallel Subagents — Built-in explore, coder, and review roles plus custom roles, Git worktree isolation, and live status monitoring in the Tasks dock.
  • Sandboxed by Default — Confines process execution with Linux Landlock + seccomp or macOS Seatbelt, backed by workspace trust and AI/human permission review (auto, ask, always-approve, deny). Windows runs in host mode with Job Object process-tree cleanup.
  • Structured Runtime — Automatic turn-preserving context compaction, on-demand SKILL.md skills, durable memory, HTTP MCP server support, resumable sessions, and multi-provider support (OpenAI Responses & Chat Completions, Anthropic Messages, plus per-role model overrides).
  • Rust & Python SDKs — Build custom agents on the exact same runtime with merry (#[merry::tool], AgentBuilder) or merry-agent (@merry.tool, async event streams, interactive sessions).

Install

Prebuilt Binaries (includes Alt+G Web viewer, no Rust or Node.js required)

# Linux (static musl: x86_64 / arm64) & macOS (Apple Silicon / Intel)
curl -fsSL https://github.com/locez/merry/releases/download/v0.1.0/install.sh | sh
# Windows (x86_64)
irm https://github.com/locez/merry/releases/download/v0.1.0/install.ps1 | iex

Archives and SHA256SUMS.txt are attached below, and cargo binstall merry-cli is also supported.

Package Registries

cargo install --locked merry-cli --features web   # CLI from crates.io (Rust 1.95+)
cargo add merry --features anthropic              # Rust SDK
pip install merry-agent                           # Python SDK (imports as `merry`)

Thanks to Our Early Contributors

A huge thank you to everyone who helped shape Merry before v0.1.0:

  • @olicesx — slash commands & shared workspace input history (#2), TUI tool-row & slash stop fixes (#1, #3), runtime abandoned tool-call event commit fix (#36), and evaluation record protocol (#30)
  • @tsunheimat — headless session resume (#34), OpenAI service_tier support (#41), transient OpenAI Responses stream retries (#50), bubblewrap nesting setup guidance (#51), and [cli] sandbox / approval_policy config defaults (#52)
  • @27Aaron — reproducible Nix development shell (#42)
  • @vizv — /exit slash command (#69)

Thanks for trying Merry v0.1.0 — feedback, bug reports, and contributions are very welcome!