omp packages

@ineersa/my-pi-subagents0.1.2

Subagent orchestration extension for Pi coding agent — single and parallel foreground execution, agent discovery, skill injection, model fallback

ineersa Published 5 months ago MIT ~118 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@ineersa/my-pi-subagents

Subagent orchestration for Pi coding agent. Single & parallel foreground execution · agent discovery · skill injection · model fallback · recursion guard.

npm license


Origin

This package is a full rewrite based on pi-subagents by Nico Bailon. The original concept, agent-discovery patterns, and skill-injection design informed this implementation. See LICENSE for copyright details.

What's included

  • Single foreground subagent runs — delegate a task to a named agent
  • Parallel foreground runs — fan out tasks across agents with concurrency control
  • Agent discovery — auto-discover agents from ~/.agents, ~/.pi/agent/agents, .pi/agents, .agents
  • Skill injection — inject skills into subagent sessions
  • Model fallback — configurable fallback when the requested model is unavailable
  • Recursion guard — prevents runaway subagent nesting
  • Artifact & session capture — capture subagent output for downstream use

Install

# via the my-pi installer
npx @ineersa/my-pi --yes

# or directly with pi
pi install @ineersa/my-pi-subagents

Tool

Registers one tool: subagent

Supported modes:

  • single: { agent, task }
  • parallel: { tasks: [{ agent, task, count? }, ...], concurrency? }

Optional controls: context, cwd, agentScope, artifacts, includeProgress, share, sessionDir, output, skill, model

Config

~/.pi/agent/extensions/subagent/config.json

Supported keys:

  • defaultSessionDir
  • maxSubagentDepth
  • parallel.maxTasks
  • parallel.concurrency

Docs