← Back to home@SssoGin

MALTS

Multi-Agent Long-Task Scheduling and Growth System for AI coding agents, with file-based state, verification, handoff, and reusable learning.

Stars
1
Language
Python
Created
Jun 7, 2026
Updated
Oct 14, 2026

Introduction

MALTS

Multi-Agent Long-Task Scheduling and Growth System

English · 简体中文 · Getting Started · Usage

MALTS is an operating framework for AI Agent project work. It connects goal clarification, planning, execution, verification, handoff and learning into a continuous process. Use it when work exceeds one prompt, one context window or one uninterrupted run, so an Agent can continue from project records after a new conversation, a change of executor or a failure.

One Agent is the default executor. When independent investigation, implementation or verification helps, explicitly authorized Agents can share the work. The main Agent remains responsible for integration, acceptance and delivery. The same goals, stages, verification and recovery methods apply to both modes.

The current version is 2.1.0. This page describes MALTS as a complete system; version-specific changes and upgrade implications are in the Changelog.

Problems it addresses

Agents can complete useful local work, but long projects need continuity. Goals must remain visible, completed work must stay distinct from pending work, interrupted effects must not be repeated blindly, and separate contributions must be integrated and checked.

ProblemMALTS response
Goals and constraints fade in a long conversationPreserve goals, exclusions, decisions and acceptance; revisit material changes
A new window cannot identify where to continueKeep stage progress, task results, checkpoints and recovery materials
Files exist without proving the user requirementDefine completion and check actual outputs with evidence
Agents duplicate work, conflict or leave integration unownedSeparate responsibilities/resources and retain one integration/acceptance owner
Lessons are lost or an accident becomes a permanent ruleSelect sourced experience, trial it later and retain ineffective/harmful outcomes
Agent tools have different configuration and entrypointsProvide shared workflows with tool-specific adapters and native permission boundaries

The complete MALTS workflow

1. Establish goals and completion

Define the output, permitted changes, protected material and acceptance. Resolve material uncertainty before implementation. Continue ordinary work already covered by user permission without repeated approval for routine details.

2. Organize projects, stages and tasks

A long project has stages with goals, scope and deliverables. Tasks represent executable, acceptable work and retain dependencies. This keeps the overall goal and the current work visible and gives each iteration a finite ending.

3. Execute with recoverable progress

Start from the current task and relevant inputs instead of rereading history. Preserve decisions, results and necessary checkpoints. After failure or interruption, establish what occurred and what is uncertain before repairing or continuing.

4. Use multiple Agents when appropriate

Delegate separable investigation, implementation or verification with explicit goals, inputs, edit scope, outputs and verification responsibilities. Consider invocation budgets, shared resources and integration costs. Continue with one Agent when there is no useful separation.

5. Verify, deliver and hand off

Completion follows actual outputs and applicable checks. Create durable reports when useful/requested and on-demand handoff views for a new window or executor. Preserve manual notes, unresolved issues and exact next steps. Reading views do not replace current project facts.

6. Select and validate reusable experience

Corrections, failed verification, recovery or a useful method can trigger a review. Lightweight review first decides whether anything merits recording; material/repeated issues can justify deeper retrospectives. A scoped candidate is tried in later work before promotion, and ineffective/harmful or unsupported experience can be withdrawn. Ordinary success needs no Growth report.

Choose a workflow

Workflows are delivered as Skills: method packages an Agent can discover and use. Name the workflow and your goal in a normal conversation.

NeedWorkflowResult
Establish basic records for work spanning turnsProject Init · malts-project-initProject entry, goals, acceptance and current state
Resolve material goals/tradeoffs before implementationPreflight · malts-grill-me-preflightEvidence-based clarification and remaining decisions
Establish long work or review real stage/structure changesLong Workspace · malts-long-project-workspace-initStage/task structure and recovery entry
Continue, verify or recover current workTask Workflow · malts-v2-task-workflowCurrent task and relevant operational methods
Continue in a new window or with another AgentHandoff · malts-session-handoffAccurate facts, preserved notes and continuation guidance
Review a stage, rework or important experienceRetrospective · malts-project-retrospective-growthSourced advice or an authorized trial
Check for a lesson after ordinary workLightweight Growth · malts-single-agent-lightweight-growthBrief advice or no output without a signal
Carry out approved multi-Agent workScheduling · malts-multi-agent-long-task-schedulingRoles, resources, budgets, checkpoints and integration responsibility

Core and optional capabilities: defaults

CapabilityDefaultWhen useful
MCP toolsInstalled and enabled with each selected HostQuery current progress, workflows and verification
Single AgentNormal execution pathOrdinary work and strongly dependent tasks
Project and long-work recordsSelected according to needWork spans turns/stages/windows and needs persistent goals/progress
Multi-Agent schedulingRequires explicit delegation scopeResponsibilities/resources/results can be separated with useful value
Reports and handoffsOn demandDurable reporting or continuation by another window/executor
Lightweight Growth and reviewActual signal or explicit requestCorrection, failed checks, recovery or a method worth testing
Background/unattended executionRequires corresponding explicit scopeRuntime behavior and stopping conditions are agreed

Typical scenarios

Code migrations over several rounds. Preserve the target and compatibility requirements, organize modules into stages/tasks, verify each result and continue from accepted work after interruption.

Ongoing investigation. Retain observed facts, rejected hypotheses and next experiments to avoid repeated research after changing windows; use reproduction and validation to assess a repair.

Team or multi-Agent execution. Separate modules, alternatives or independent verification while protecting shared edits; the main Agent integrates dependencies and accepts the final result.

Documentation and research delivery. Preserve sources, decisions, chapter ownership and acceptance, then check factual support, links and coherence across the complete deliverable.

Recovery-sensitive engineering. Keep exact project state/backups and identify what occurred, what remains uncertain and what the next executor can do.

One formal installation for four Hosts

Codex, Claude Code, OpenCode and DeepSeek Harness share one formal MALTS installation under ~/.agent-system/lifecycle by default. They use one version and exact content identity, with one plan for installation updates, diagnosis and recovery.

Host configuration roots remain ~/.codex, ~/.claude, ~/.config/opencode and ~/.dsh. Accounts, model settings, sessions and native tools remain owned by each Host; sharing MALTS does not merge them or automatically change project state. AllIncluded selects all four; provide actual paths when Host roots differ from the defaults.

Start using MALTS

The verified installation path uses Windows and Python3.11+; PowerShell7 is recommended. Supported Agent tools are Codex, Claude Code, OpenCode and DeepSeek Harness, which should already be usable.

Obtain the selected version from the public repository. From its root, create an installation plan:

.\scripts\Install-MALTS.ps1 -RepositoryRoot (Get-Location).Path -UseDefaultRoots -Tool AllIncluded

Review source, destinations, existing content and recovery, then apply the reported plan hash per Installation. AllIncluded selects Codex, Claude Code, OpenCode and DeepSeek Harness through one installation entry. See Update for an existing installation.

Once installation and actual Host loading are verified, start naturally:

Use MALTS for this module migration. Inspect the project, define scope and acceptance, implement and verify in stages, and preserve recoverable progress after interruption. Decide commit/publication separately.

Or continue existing work:

Continue this MALTS project's current task. Check progress, accepted results and unresolved issues, then proceed from the correct next step without reinitializing.

See Getting Started for a runnable first example and exact setup/verification.

Updating an existing installation

Create an update plan from the repository version you intend to use:

.\scripts\Update-MALTS.ps1 -RepositoryRoot (Get-Location).Path -UseDefaultRoots -Tool AllIncluded

Review it, then use the actual reported path/hash:

.\scripts\Update-MALTS.ps1 -Apply -PlanPath '<reviewed-plan-path>' -ExpectedPlanHash '<reviewed-plan-sha256>'

See Update for tool selection and treatment of user content. Installation updates do not automatically migrate projects.

How the current version improves the system

2.0.0 retains MALTS's overall process while strengthening state, execution and verification:

  • Clear current progress. Shared services preserve/check projects, stages and tasks, bind task/plan revisions and separate reading reports from current state.
  • Reliable interruption handling. Separate preparation, actual execution and observed results. Investigate uncertainty instead of repeating effects or resetting consumed budgets.
  • Stronger completion. Check requirements, outputs, dependencies and evidence instead of trusting historical completion labels.
  • Explicit collaboration and reuse. Bind work, resources and budgets; preserve provenance and current eligibility for artifacts, handoffs and experience.
  • More complete tool integration and guidance. Add DeepSeek Harness and organize English/Chinese installation, usage, design and upgrade documentation.

Continue using the goal–execution–verification–recovery–review process. Project adoption, compatibility and recovery implications are explained in Update.

Support and boundaries

MALTS organizes project work; reasoning, tools, repositories, editors and user decisions remain with their respective systems. Selecting a workflow does not automatically enable delegation, background work, paid calls or publication.

Code, installation and representative native-task/recovery evidence exist, without a guarantee that every task succeeds or universal speed/money savings. Recorded DeepSeek Harness Desktop evidence uses Windows0.2.0-rc.2; see its adapter guide. See Security for protected restoration and external-tool boundaries.

Workspace records and deliverables

Record or outputPurpose
Project, stage and task recordsGoals, scope, plans, dependencies, progress and acceptance
Business deliverablesCode, documents, data or tool results the user actually needs
Verification and recovery materialChecks, checkpoints and necessary backups supporting acceptance/recovery
Reports and handoffsOn-demand outputs, unresolved work, next steps and preserved manual notes
Sourced experience candidates/trialsApplicability, observed benefit and withdrawal conditions

Corresponding workflows maintain these records. Current workspace state remains distinct from reading reports, while business files/user data stay in their actual project. See Usage.

Documentation map

TopicReading
The complete system and its applicabilitySystem Overview
Installation and first workGetting Started, Install
Daily work, long projects, collaboration and learningUsage
Interruption, handoff, upgrades and recoveryHandoff, Update, Lifecycle
Mechanisms and design tradeoffsCore Design
Skills, capabilities and experience reuseGovernance
Controller commands and exact protocolsOperations, State Contract
Safety, offline package and languagesSecurity, Archive, Languages
Agent-assisted setup and checksAgent Installation
Current and historical version changesChangelog

Repository contents

skills/       Project, long-task, collaboration, handoff and Growth workflows
runtime/      Runtime contracts, English/Chinese templates and checklists
adapters/     Tool integration and native entrypoints
tools/        State, execution, verification and recovery tools
scripts/      Installation, updates and installation lifecycle
docs/         System, usage, design and technical references

MALTS provides reviewed legacy-workspace adoption and long-project readiness queries. Ordinary new workspaces keep management data inside the project; existing external stores can relocate through a reviewed workflow. The four tools continue to share one core and task state. See workspace management and migration.

Version

Current release: 2.1.0. See the MALTS 2.1.0 Release for notes/optional offline ZIP and Changelog for history.

Documentation languages

English and Simplified Chinese guides describe the same system. Project records/manual notes retain their language without a second state copy. See Languages.

Acknowledgements

Some Agent methods draw on andrej-karpathy-skills and mattpocock/skills; they are not runtime dependencies and their authors do not endorse this project. See THIRD_PARTY_NOTICES.md.

License

MALTS uses the MIT License.

MCP Installation And Use

Installation and updates include the malts MCP entry for every selected Host. The installer provisions a private dependency environment, preserves unrelated settings, and tests a real stdio connection. MCP provides installed-version checks, packaged workflows, workspace readiness, Task context and current-evidence verification. Supply the current opted-in workspace for project queries; installation creates no global Project or execution rights. Restart or reconnect a Host that has not reloaded its configuration. See MCP configuration.

Ordinary read-only projects inherit global MCP; dedicated projects can use a stable entry retaining binding and permissions. Version 2.1.0 completes preserving project configuration management and original-operation recovery for all four Hosts, with protected plans and native layer rules. Selected-reference checks protect updates and generation retirement. See MCP configuration.

Version 2.1.0 distinguishes native MCP scopes and installer-owned entries, reports actual same-name shadowing, and offers inheritance only when its read-only preview is applicable. See MCP configuration.