packages / clanker-code-pi-subagents
extension Orchestrators

@clanker-code/pi-subagents

A pi extension extension that brings smart Claude Code-style autonomous sub-agents to pi.

No reviews yet

Install

$ pi install npm:@clanker-code/pi-subagents

Installs from npm into ~/.pi/agent/. Add -l for project-local (.pi/). Manage with pi list / pi update / pi remove.

What this package can reach

Detected automatically from the source at version 0.15.1. This describes access, not safety — you decide whether it's appropriate for what the package claims to do.

  • 🤖
    Behavior — Changes how the agent thinks Modifies the system prompt, injects messages, or rewrites conversation context.
  • 📡
    Extension bus — Talks to other extensions Uses pi.events to emit or listen on a shared channel, so it can coordinate with — or be driven by — other installed extensions.
  • Commands — Runs shell commands Spawns processes on your machine.
  • 📁
    Files — Reads files outside your project Touches paths beyond the working directory, such as your home folder.
  • Keystrokes — Reads raw terminal input Hooks ui.onTerminalInput, so it sees what you type. Legitimate for shortcut handling; the same access a keylogger needs.
  • 🔧
    New tools — Adds model-callable tools Gives the agent new abilities. Additive and visible, unlike an override.
  • UI — Draws its own interface Renders widgets, footers, dialogs or full-screen views.

What it actually did when run

observed

Loaded in a sandbox with no network, a read-only filesystem and a recording stand-in for pi's API. This is what it called — not what the source suggests it might.

Tools registered Agentget_subagent_resultsteer_subagentlist_subagentsclear_subagentslist_models

Events subscribed session_before_switchsession_shutdownsession_startsubagents:compactedsubagents:completedsubagents:createdsubagents:failedsubagents:rowssubagents:rpc:pingsubagents:rpc:spawnsubagents:rpc:stopsubagents:startedsubagents:ui:abortsubagents:ui:refreshsubagents:ui:steersubagents:ui:steer-formsubagents:ui:view-resulttool_execution_startui:list-modules

APIs called events.emitevents.onregisterCommandregisterMessageRendererregisterShortcutregisterToolsessionManager.getSessionIdui.customui.custom.startsWithui.notifyui.onTerminalInput

6 calls the source scan did not predict

on("subagents:compacted") · on("subagents:rpc:ping") · on("subagents:rpc:spawn") · on("subagents:rpc:stop") · ui.custom.startsWith · ui.onTerminalInput

Reached through a value the scan could not follow — passed as an argument, stored on another object, or returned by a helper.

Run against version 0.15.1 on 2026-08-02. Registration-time behaviour under default settings; other configurations may differ.

Review before you install. pi packages run with your full system permissions. Check the source, pin versions, and prefer authors you trust.

Reviews

0 published

Sign in with GitHub to write a review, reply, or vote.

No reviews yet — be the first.

More in Orchestrators

  • @kky42/pi-subagents — Claude Code-style subagents for pi.
  • pi-agentteam — Multi-agent team orchestration for pi — leader-coordinator pattern with researcher, planne…
  • @usirin/pi-loop — Claude Code-style /loop command for pi-coding-agent.
  • pi-btw — A pi extension for parallel side conversations with /btw