Skip to content

Repository files navigation

OpenCode Taskfeed

Turn your GitHub backlog into AI coding agent work.

Label an issue. Let your existing OpenCode agents do the work. Review the draft PR.

Taskfeed is an open-source, native OpenCode plugin that turns authorized GitHub issues into scheduled agent jobs — without another coding platform, hosted runner or backlog.

npm version CI License: Apache 2.0 OpenCode plugin

Get started · See a real run · Explore the ecosystem · Star this repo

Stop copying issues into agent chats

You already have a backlog. You already have coding agents. Why spend your time moving requirements between them?

Taskfeed connects the two. Keep requirements, feedback and approvals in GitHub; keep your agents, models, tools and permissions in OpenCode. Your agents work in isolated Git worktrees while you review the results.

flowchart LR
    A["GitHub issue<br/>agent-ready"] --> B["Taskfeed<br/>queue + worktree"]
    B --> C["OpenCode agent<br/>or Flowgraph workflow"]
    C --> D["Draft PR"]
    D --> E{"External review"}
    E -->|Changes requested| C
    E -->|Approved| F["Done"]
Loading

With publication enabled. The final merge is yours.

Why Taskfeed?

  • Backlog-driven agentic coding. Explicitly authorize issues with a label and let Taskfeed schedule them.
  • Your agents, your rules. Run an existing OpenCode agent or an optional Flowgraph multi-agent workflow. No prescribed development process.
  • Parallel work without checkout conflicts. Dedicated Git worktrees, project and server-wide concurrency limits, and recoverable job state.
  • Review in GitHub. Publish draft pull requests, approve an exact commit, or request changes directly on the issue. No automatic merge or deployment.
  • Native Kanban in OpenCode. See queued, running, review, needs-attention and completed work in the TUI and Desktop, including an all-projects dashboard.

No additional model API for orchestration. Polling, scheduling, publication and approval validation use no model tokens. Agent execution uses your configured OpenCode provider and its normal usage limits.

Quick start

Requires OpenCode V2 (2.3.x or later), Git, an authenticated GitHub CLI, and an existing selectable agent.

1. Install

Add Taskfeed to your global OpenCode configuration or your project's committed opencode.jsonc. Keep any existing plugins.

{
  "plugins": ["@alvarolorentedev/opencode-taskfeed@0.5.0"]
}

Restart OpenCode. Authenticate GitHub with gh auth login, and confirm access with gh auth status.

2. Connect your backlog

Create .taskfeed.yaml at the repository root:

version: 1

source:
  type: github
  repository: auto
  labels: [agent-ready]

execution:
  type: agent
  name: build

scheduler:
  enabled: false
  concurrency: 1

workspace:
  isolation: worktree

approvals:
  provider: github
  authorized_users: [your-github-login]
  enqueue_users: [your-github-login]

publication:
  enabled: false
  remote: origin
  draft_pull_request: true

Replace the GitHub login and choose an existing agent. Commit project-local configuration and agent definitions so they are available in worktrees. Your agent must commit the scoped changes and leave a clean worktree before publication; Taskfeed does not commit arbitrary dirty files.

After verifying the repository, agent and authorized identities, set publication.enabled: true to opt into draft PRs.

3. Start your first task

Open OpenCode in the canonical checkout, run /taskfeed (or open the Taskfeed view in Desktop), and explicitly enable automation.

Create a small GitHub issue with an objective and acceptance criteria. Apply agent-ready from an authorized account. Taskfeed takes it from there.

Review the draft PR, then copy the exact approval or request-changes command from the originating issue. Approve while the PR is still an open draft; merge separately after the Taskfeed job completes.

Use multi-agent workflows with Flowgraph

Already have agents that plan, implement, test or review? Connect Flowgraph, our YAML workflow engine, instead of hardcoding your process into Taskfeed.

Install both plugins in OpenCode:

{
  "plugins": [
    "@alvarolorentedev/opencode-taskfeed@0.5.0",
    "@alvarolorentedev/opencode-flowgraph@1.2.0"
  ]
}

Change only the execution section of .taskfeed.yaml:

execution:
  type: workflow
  name: development

Point to your existing workflow and native agents. Taskfeed decides when to run it; Flowgraph decides how. With publication enabled, Taskfeed publishes the committed result after successful workflow completion. Final review feedback starts the configured workflow again on the same worktree and PR.

Flowgraph integration is experimental. Native agent execution does not require Flowgraph. See the integration guide and Flowgraph onboarding for details.

See it in action

The Taskfeed playground is a real test repository. Follow issue #7 and PR #8 to see a developer/reviewer workflow, draft publication, requested changes, a revised commit and final approval.

Use your own disposable repository for a first run.

The ecosystem

Independent tools for the AI-assisted development lifecycle. Use one or combine them.

Project What it does
Taskfeed Turn your backlog into agent jobs and reviewed draft PRs.
Flowgraph Define repeatable multi-agent workflows, review loops, parallel execution and human gates.
OpenCode Mobile Start and follow OpenCode sessions from Android and iOS. Get the app.
CloudLink Share a local app with clients through an HTTPS preview link, without deploying, and execute the engineering workflow directly from their feedback. Optional subscription service.

Build with your agents. Manage work with Taskfeed. Define your process with Flowgraph. Stay connected with OpenCode Mobile. Share the result with CloudLink.

Each project can be used independently; the table describes complementary products, not a requirement to install them all or a promise of direct integration between every pair.

Documentation

Guide Covers
User guide Detailed setup, GitHub commands, review gates, native TUI/Desktop controls and limitations
Configuration Full YAML reference and concurrency
Integrations GitHub, OpenCode agents and Flowgraph
Operations and recovery Headless operation, restart recovery, maintenance and troubleshooting
Security · Architecture · Development Trust boundaries, internals, tests and releases

Control stays with you

Automation and remote publication are opt-in. Authorized GitHub identities control enqueueing and review decisions. Taskfeed never auto-approves permissions, merges PRs or deploys.

Taskfeed runs inside your OpenCode environment; no separate hosted runner is required. GitHub receives the issue updates and published artifacts, and your configured model provider handles inference. Worktrees isolate project files, not host permissions or network access. Read the security model before enabling automation on a sensitive repository.

Help other developers discover Taskfeed

If you want GitHub issues to become real agent work:

Apache-2.0 licensed. Community-built and independent of the OpenCode team.

Releases

Packages

Used by

Contributors

Languages