# Durable Task Orchestration

> Supervise local background jobs, verify outputs, and resume exact agent sessions using a separately installed MIT runtime.

Durable Task Orchestration is a paid AI agent skill on Agensi by Wen Liu, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $9 (one-time purchase)
- Creator: [Wen Liu](https://www.agensi.io/creators/wen-liu)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/durable-task-orchestration
- Tags: automation, llm-ops, node-js, posix-shell

## About this skill

### Plan, supervise, verify
Turn an approved local task into bounded background work with clear output ownership, explicit acceptance checks and durable result records. This product is a workflow instruction layer, not a hosted model or bundled runtime.

### What the workflow covers
- Split independent tasks without concurrent edits to shared files.
- Use explicit time and log limits, inspect status and bounded output, and stop only owned work.
- Reconcile partial effects before exact-session follow-up; never blindly rerun an unknown job.
- Verify the requested artifact before acknowledging its result record.

Pinned native workers are read-only by default: they return findings or patch proposals, and the parent writes approved reports. This does not silently enable worker write tools or bypass a sandbox.

### Required software and costs
Separately install and review the MIT durable-agent-runtime (Node22+, local POSIX shell): https://github.com/roshameow/durable-agent-runtime/tree/6a9f28834963eb03018c3a1a18188554b3b23cf3
The runtime core requires neither Pi nor RMUX. Optional agent CLIs and their model accounts are separate. This one-time product price does not include provider credits, subscriptions, installation or a managed cloud service.

### Compatibility and evidence
macOS is tested; Linux is not independently verified; Windows is unsupported. The runtime has52 offline tests, a narrow live Codex subscription start/exact-session recall test, and a configured Pi-worker coding API smoke. These do not certify this Skill's activation across all agents or guarantee outcomes. Your host needs local shell and appropriate file permissions.

### Licence and boundaries
This package contains original instructions only. The external runtime remains independently MIT licensed; its copying and use rights are unchanged. No runtime code, provider key, model credit or wallet capability is bundled.
No persistent PTY, remote-machine control, automatic chat notifications, arbitrary crash adoption or exactly-once external actions are promised.

## Requires

- Node.js 22+
- Terminal access
- durable-agent-runtime 0.1.0-preview.4
- Optional: Worker CLI or model account

Needs a local POSIX shell. Install durable-agent-runtime separately from github.com/roshameow/durable-agent-runtime. A worker CLI or model account is only for agent jobs.

## Known limitations

Windows is not supported. Requires manual installation of the durable-agent-runtime binary. Does not support more than four concurrent tasks per state root.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Durable Task Orchestration skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill prevent state loss during long-running background tasks?

Standard prompts often fail during long-running tasks due to session timeouts or shell disconnections. This skill implements a robust reconciliation framework that ensures tasks continue running in the background and can be resumed without losing progress or context.

### Which AI agents and operating systems are compatible with this skill?

The skill is optimized for Node 22+ environments and currently supports Claude Code, Codex, and Pi agents. Note that it requires a POSIX-compliant shell; Windows environments are not supported at this time.

### What is included in the purchase, and are there any external dependencies?

You will receive the structured command templates and state-management workflows for your agent. You will also need to manually install the separately available MIT-licensed 'durable-agent-runtime' (v0.1.0-preview.4) to handle the underlying process execution.

### Is there a limit to how many background tasks I can run simultaneously?

To ensure stability and prevent resource exhaustion, the skill supports up to four concurrent tasks per state root. Each task is isolated in its own private directory with strict resource guarding for timeouts and log sizes.

### How does the skill verify that a background task was successful?

The skill uses a 'Verification & ACK' phase where it automatically inspects final artifacts and tool effects against your predefined acceptance criteria before marking a job as complete. This ensures the agent's output actually matches your requirements.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
