Ryder Sun a97afa9b5b feat: deliver attachments and knowledge bases to group Agents; one prompt module per mode
Group chats with several Agents run on the V4 path, which never forwarded the
user's attached files to the Agents (the send was validated against what each
Agent can read, then the files were dropped), and its prompts omitted the
knowledge-base hints, the answer language and the deliverable folder contract.

- attachments are now staged for manual group replies and for every turn of
  an automatic discussion; frozen prompts only gain the staged-file section
- manual group replies no longer use the phased 'proposal' template (asking
  for capabilities, work items and a receipt). prompts/manual-reply-prompt
  tells each Agent that everyone answers on their own, whether it may change
  files, and to answer in the user's language
- natural discussion prompts move to prompts/natural-discussion-prompt with
  named sections (brief, writer, owner, routing, receipt), now including the
  group name and topic, knowledge bases, the answer language and, for the
  writer, the .meldwork-output contract
- shared language and delivery contracts live in prompts/prompt-contracts

Also made the hanging-ACP-initialize test independent of spawn counting: under
load the 300 ms timeout killed the first process before it recorded itself, so
the next spawn counted as the first one and hung (16 of 32 stressed runs).

Checked with: new tests for each prompt module and for attachment delivery
(both fail on the previous commit); the V4, context-pack and delivery test
files pass.
2026-10-16 10:49:44 +08:00
2026-08-07 10:49:43 +08:00
2026-10-15 16:32:53 +08:00
2026-10-15 16:32:53 +08:00

Meldwork README banner

English · 简体中文

Meldwork — A local-first workspace for General Agents

Turn several General Agents into a reviewable working group. Meldwork gives every task a shared context, lets selected Agents investigate independently or discuss across rounds, and keeps the evidence and human decision visible before anything is adopted.

Meldwork is a local-first Electron workspace for using the Agent tools you already have on your Mac. It supports focused conversations, independent concurrent responses, and Auto Discussion V4 for proposal, challenge, negotiated work, synthesis, and verification. Agents can work with text, files, images, media, Skills, and selected knowledge sources, so the same workspace can support research, analysis, writing, planning, review, and implementation.

The product is organized around a durable review record: Case → Finding → Evidence → Decision → Disposition. Meldwork keeps the task snapshot, Agent contributions, run state, artifacts, Human Gates, and adoption decision together in one local work cell. Workspace writes are opt-in and remain under the user's control.

Download Meldwork V1.0.5 for Apple silicon macOS · Architecture · License

What Meldwork is for

Meldwork is useful when a decision benefits from more than one perspective and a clear record of why a result was adopted. Typical work includes:

  • research and information synthesis across local Agent tools and selected knowledge sources;
  • product, market, operational, and technical analysis;
  • writing, planning, review, and structured document work;
  • multimodal work with local documents, images, audio, video, PDFs, and code or configuration files;
  • implementation and review tasks where findings, evidence, permissions, and the final adoption decision should remain inspectable.

How a task moves through Meldwork

  1. Select the Agents and participants for this Case.
  2. Scope the goal, working directory, context, attachments, Skills, knowledge sources, and permissions.
  3. Run a direct conversation, Concurrent Responses, or Auto Discussion V4.
  4. Review the findings, evidence, artifacts, trace, and any Human Gate.
  5. Adopt the approved result or leave the Case unresolved for further work.

Collaboration modes

Mode What happens Best for
Direct One selected Agent keeps its conversation and native session when supported. Focused research, writing, analysis, or execution.
Concurrent Responses Selected Agents receive the same frozen task snapshot and return independent responses in stable order. Comparing perspectives before choosing a path.
Auto Discussion V4 Agents propose, challenge, negotiate responsibilities, execute agreed work, synthesize a candidate result, and verify it across bounded rounds. Native Agent sessions continue when supported. Multi-step work that needs discussion, division of responsibility, and review.

Participants are selected by the user. Automatic selection from a larger roster is outside the current preview.

The review record

Meldwork treats collaboration as a decision process rather than a stream of chat messages:

  • Case defines the question, scope, context, and permissions.
  • Finding records an Agent's claim, observation, or proposed action.
  • Evidence links the finding to a response, artifact, file, knowledge result, or other bounded reference.
  • Decision records what the evidence supports, what remains uncertain, and which path is selected.
  • Disposition records whether the result was accepted, revised, rejected, superseded, or left unresolved.

The Run Ledger preserves phase, participant, attempt, receipt, artifact, recovery, and Human Gate state. Diagnostic tool output and sensitive runtime details stay behind the Electron main-process boundary.

General Agent catalog

Meldwork detects and invokes compatible locally installed Agent commands. The catalog currently includes:

Codex logo
Codex
Hermes logo
Hermes
OpenClaw logo
OpenClaw
WorkBuddy logo
WorkBuddy
Pi Agent logo
Pi Agent
Kimi Code logo
Kimi Code
MiMo Code logo
MiMo Code
Claude Code logo
Claude Code
Gemini CLI logo
Gemini CLI
OpenCode logo
OpenCode
Qwen Code logo
Qwen Code
OpenCodeReview logo
OpenCodeReview

Approved Agent Connectors and custom executable Agents use the desktop connector paths. The desktop guide contains the current adapter, installation, provider, and capability matrix.

Context and local boundaries

Meldwork runs as a local Electron application. Conversations, group configuration, run records, and app-owned attachments stay in the local user data directory. The renderer receives only validated snapshots through a narrow preload API; executable paths, credentials, native session references, Skill paths, and unrestricted shell access remain in the main process.

Selected Agents may send prompts, attachments, or Skills to the model provider configured in their own CLI. Knowledge access is explicit and bounded: the current implementation supports local Obsidian retrieval and CLI-owned Feishu or DingTalk access modes. Local-first describes where Meldwork stores and coordinates work; it does not promise that an Agent's model provider is offline.

Download V1.0.5

For Apple silicon macOS, download the Meldwork V1.0.5 prerelease and choose Meldwork-0.1.5-arm64.dmg. The release also includes a ZIP archive and SHA-256 manifest. Install at least one supported local Agent CLI before opening the app.

The preview artifacts are ad-hoc signed and not notarized with an Apple Developer ID. macOS may require Open Anyway under System Settings → Privacy & Security on first launch.

Run from source

Prerequisites: Node.js 22.12+ and npm.

npm --prefix frontend ci
npm --prefix desktop ci
npm --prefix desktop run dev

Before distributing a build:

npm --prefix frontend test
npm --prefix frontend run build
npm --prefix frontend run build:desktop
npm --prefix desktop test

V1.0.5

V1.0.5 improves local Agent readiness and recovery, preserves healthy participants when another Agent fails, keeps completed and stopped work visible after restart, and tightens group execution and output handling. It also updates the workspace preference flow, sidebar and titlebar details, and the Pi capability probe contract.

Verification for this prerelease includes 343/343 frontend tests, 1,562/1,562 desktop tests, six deterministic evaluation cases with 18 results, web and desktop builds, packaging, ZIP integrity, deep code-signature verification, and packaged macOS acceptance for group execution, cancellation, and restart recovery. The artifacts remain ad-hoc signed and unnotarized; live behavior still depends on the installed Agent CLI version, authentication, Provider, and capabilities.

Documentation

License

Meldwork is source-available under the Meldwork Non-Commercial Source License 1.0. You may inspect, run, modify, and share it for non-commercial purposes. Commercial use requires prior written permission; see COMMERCIAL_USE.md.

S
Description
Local-first AI agent workspace for multi-agent collaboration, agent orchestration, scoped permissions, evidence-aware runs, and human-in-the-loop decisions.
Readme Apache-2.0
71 MiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 91.4%
Vue 4.1%
CSS 3.6%
HTML 0.9%