npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opencode-agent-teams

v2.0.0

Published

OpenCode plugin for parallel agent execution, background tasks, and team coordination. Create teams of agents that work together, run tasks in parallel respecting dependencies, and fire off background work without blocking.

Readme

opencode-agent-teams

Plugin for OpenCode that brings parallel agent execution, background tasks, and team coordination to your sessions. Define teams of agents, run tasks in parallel respecting dependencies, and fire off background work without blocking your main session.

No more waiting for one agent to finish before starting the next.

Tools

team_create

Define a reusable team plan with multiple tasks, each with a prompt, optional agent type, and optional dependencies.

| Field | Type | Description | |-------|------|-------------| | plan_id | string | Unique name for the plan | | tasks | array | Tasks with id, prompt, agent (optional), depends_on (optional) |

team_run

Execute a team plan. Tasks within the same dependency level run in parallel. The agent waits for all tasks to complete and returns a summary.

| Field | Type | Description | |-------|------|-------------| | plan_id | string | Plan to execute |

team_status

Check status of running or finished teams.

| Field | Type | Description | |-------|------|-------------| | plan_id | string (optional) | Omit to list all teams and background tasks |

background

Fire-and-forget a single agent in the background. Returns immediately with a task ID. Optionally injects the result into your session when done.

| Field | Type | Description | |-------|------|-------------| | prompt | string | Instructions for the background agent | | agent | string (optional) | Agent type: general, explore, build. Defaults to general. | | notify | boolean (optional) | Inject result into current session when done. Default: true. |

How it works

Under the hood, the plugin uses the OpenCode SDK to create child sessions and send prompts programmatically:

  1. team_create stores a plan with a DAG of task dependencies
  2. team_run topologically sorts the tasks, runs each dependency level in parallel via Promise.all
  3. Each task gets its own child session via client.session.create with parentID set to the current session
  4. Tasks run via client.session.prompt (blocking) or client.session.promptAsync (background)
  5. team_status reads session state from the OpenCode server
  6. Background tasks poll for completion and inject results back into the parent session

Install

{
  "plugin": ["opencode-agent-teams"]
}

Restart OpenCode.

Examples

Parallel research team

team_create plan_id="research-feature" tasks=[
  {id:"api", prompt:"Research the API endpoints needed for user auth", agent:"explore"},
  {id:"db", prompt:"Research database schema for user auth", agent:"explore"},
  {id:"summary", prompt:"Synthesize the API and DB findings into a plan", agent:"general", depends_on:["api","db"]}
]
team_run plan_id="research-feature"

Background code review

background prompt="Review all changed files in this project for security issues" agent="explore"
team_status

Mantenido por

Maycol B.T (@SoyMaycol)

Email:  [email protected]
Web:    https://soymaycol.icu
GitHub: https://github.com/SoyMaycol