
Awaitless
io.github.xpluspro由 GitHub 帳號 xpluspro 發布v0.8.0更新於 Oct 24, 2026
Durable execution and named concurrency queues for coding agents across local, SSH, and Slurm.
概覽
Awaitless 是本地 stdio MCP 伺服器,為編碼代理提供跨本機、SSH 與 Slurm 的持久化工作執行與具名並行佇列。
- 可以做什麼
- 透過單一執行層執行指令,短工作直接內聯回傳,較長或排隊中的工作會取得具穩定 ID、狀態、結束碼、有界日誌與產物的持久化控制代碼,可在用戶端斷線或新工作階段後復原。為具名稀缺資源建立固定並行度的持久化 FIFO 佇列,提交的指令會在容量釋出時自動開始。等待工作、復原最近一次分離的工作,或透過持久化完成游標取用多個工作中先完成者。以類似 grep 的過濾檢視有界日誌並取得結構化結果與產物。在本機、SSH 與 Slurm 後端之間切換,而不需改變提交方式。
- 適用情境
- 當編碼代理執行可能超過工作階段長度的建置、測試、基準或訓練工作時適用,尤其是在遠端 SSH 主機或 Slurm 叢集上,並希望工作識別、取消、佇列准入與結果復原在代理上下文之外處理。
- 執行需求
- 以本機 stdio 程序執行,透過 uvx 從 awaitless-runner 的 PyPI 套件啟動;需要 Linux、Python 3.10+ 與 Bash,且 uvx 須在 PATH 中。SSH 與 Slurm 目標需要對應主機與排程器的存取權限。未宣告驗證、環境變數或標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Awaitless,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Awaitless
Adaptive durable execution for coding agents.
Run commands through one execution layer. Quick work returns inline; longer or queued work becomes durable across local, SSH, and Slurm. Your workload stays on infrastructure you already own.
Agents submit work. Awaitless owns execution.
Awaitless is the adaptive durable execution layer between coding agents and the compute they use. It gives agents one stable job contract while reusing your local machine, SSH hosts, and Slurm clusters underneath.
简体中文 · Documentation · Benchmarks · PyPI
One job lifecycle across your existing compute
Awaitless owns the job lifecycle, not the hardware. It does not discover
resources, understand GPU topology, allocate multiple resources, or replace a
cluster scheduler. Operators name queues and set fixed concurrency; Slurm
continues to handle requests such as --gpus 2 --mem 64G and all physical
cluster scheduling.
[Awaitless SSH submit, disconnect, resume, and Artifact demo]
Your coding agent should write code, not babysit jobs
An agent can write its own run → sleep → check loop. The harder problem is
making job identity, disconnect recovery, queue admission, cancellation, and
result delivery reliable across long workloads and changing sessions. Without
that execution layer, the agent repeatedly pulls the same growing log back into
its context:
Awaitless turns that lifecycle into one adaptive execution call and one result boundary:
Detached JSON also includes job_state, wait_state, delivery_state, and a
ready-to-copy next_command. A client-side wait timeout is not a workload
failure: use awaitless wait --last --json for the most recently detached Job,
or use the returned command with its stable Job ID. To inspect benchmark lines
without reading a large tail, use awaitless logs <job-id> --grep 'PASS|FAIL|median|CV'.
Every run is durable before launch. Finishing within the inline window looks
like an ordinary command result; crossing it only detaches the waiter. Interrupt
the waiter, close the MCP client, or start a fresh agent session: the Job keeps
running and its stable ID recovers the result.
Queue work before a named resource is free
Create a durable FIFO queue once, then submit every command immediately:
The first command runs and the others report queued. Each starts automatically
when capacity becomes available. This is durable admission control for a named
scarce resource: fixed concurrency and FIFO ordering, with no priority or
preemption. Awaitless never kills running work to make room for a later job.
Operators can also bind adaptive runs to a queue globally or per host:
The Agent can then call run without choosing a queue or probing the GPU first.
This queue does not discover resources, understand GPU topology, dynamically allocate devices, issue leases, or combine requests such as two GPUs plus 64 GB of memory. Use Slurm or another scheduler for those responsibilities; Awaitless provides the Agent-facing job lifecycle around that scheduler.
Consume whichever job finishes next
v0.7 adds completions ... --drain --json for consuming a small parallel set
in one call without client-side cursor bookkeeping. Long jobs can emit
structured heartbeat updates with wait --progress-interval 30s. Use
--capture-log PATH for command-owned logs and --resource gpu=0 or
--device 0 for explicit exclusive admission; terminal results freeze bounded
logs, diagnostics, timing, environment, and a SHA-256 identified snapshot.
Submit independent work up front, keep every Job ID, then wait at one durable completion boundary:
The first call returns already-finished work immediately or blocks until at
least one selected Job completes. Process the batch before advancing to
next_cursor; reusing an older cursor safely replays the same completion IDs.
If the client disappears, a new session can continue from the saved cursor.
Awaitless makes continuation results durably available—it does not run the
agent's next reasoning step or require a resident notification service.
The v0.8 evidence suite replaces historical call-count demos with four
questions: does an Agent choose the protocol correctly, does a Job survive
faults without duplicate launch, does Awaitless keep execution-management state
out of the reasoning loop, and does adaptive run preserve low friction for
short commands? See the v0.8 evidence plan.
v0.8 evidence status
Release evidence is model- and commit-specific. The checked-in suite does not carry numbers from earlier versions or from a different model. Run the v0.8 benchmarks, inspect every raw record, then publish a dated report with model, config hash, git commit, skipped workloads, and all failures in the denominator. The reviewed v0.8 evidence report includes the complete raw records and analysis summaries rather than a selected score.
Try the recovery story in 30 seconds
Linux, Python 3.10+, and Bash are required. Run the built-in demo without a persistent install:
The demo submits two local jobs, terminates their first completion waiter, then uses new clients to consume both bounded results and JSON Artifacts by cursor.
For regular CLI use:
pip install awaitless-runner works too.
Give it to your coding agent
Add one stdio MCP server to your client's configuration (adapt the outer key to your client):
The preferred run tool returns quick commands inline and automatically gives
longer or queued work a durable handle. Tasks-aware clients can still use
run_job, while low-level clients retain submit_job and wait_for_job.
Retrying an expensive submission with the same
client_request_id cannot launch a duplicate job. For parallel work, every
client can use wait_for_completions regardless of MCP Tasks support.
The normative identity, lifecycle, continuation, completion, Artifact, and
compatibility contract is Awaitless Agent Job Protocol.
Codex plugin
This repository is also a Codex plugin. Its manifest bundles the Awaitless agent
skill with the stdio MCP server, which Codex launches through uvx. Install the
repository from a local Codex marketplace, then start a new Codex task so the
skill and MCP tools are loaded together.
The plugin requires uvx on PATH; the first MCP launch downloads
awaitless-runner from PyPI if it is not already cached.
For direct CLI use, the whole loop is:
One interface, three places to run
Use --backend, --host, or configuration defaults to switch targets without
changing how the agent submits and collects work.
Why not just use a shell or tmux?
Awaitless does not replace interactive terminals or Slurm. It gives coding agents durable fixed-concurrency queues on local/SSH machines and delegates cluster resource scheduling to Slurm.
How it works
There is no Awaitless daemon, HTTP service, or hosted sandbox. Each invocation opens the same SQLite store; submitted runners and scheduler jobs outlive the stdio server that created them. Full logs remain on disk while only bounded tails enter the agent context.
Documentation
- Documentation index
- Product positioning and evolution principles
- v0.6 adaptive run
- v0.7 immutable completion snapshots
- v0.5 durable completion feed
- CLI, configuration, SSH, Slurm, persistence, Artifacts, and troubleshooting
- MCP Tasks protocol and compatibility
- Benchmark definitions, methodology, and interpretation
- Real MCP → Slurm disconnect evidence
- Architecture and design rationale
License
來源:README.md,提交 35ebea3
工具
0版本歷史
1- v0.8.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分