anomalyco / anomalyco/opencode

[FEATURE]: /tasks — list and manage background subagents running in parallel

Open
#41,914 0 comments 2 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 12, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Requested feature

Add a /tasks slash command (inspired by Claude Code's /tasks) to list subtasks/subagents running in parallel in the background.

Why

openCode already has the machinery: BackgroundJob.Service (packages/opencode/src/background/job.ts), the experimental background-subagent endpoint (packages/opencode/src/server/routes/instance/httpapi/handlers/experimental.ts, /experimental/session/:id/background), and background.promote / background.cancel. But these are only surfaced via internal/experimental APIs — there is no user-facing /tasks view.

Proposed behavior

  • /tasks shows active background jobs/subagents with status (running/completed/error/cancelled), plus promote/cancel actions wired to BackgroundJob.Service.
  • Build on the experimental background-subagents flag to promote/join blocking subagents into the background from the TUI.

Benefits

  • Visibility into parallel work without digging into debug endpoints.
  • Promotes the existing background-job infrastructure to a first-class UX.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.