← Catalog

@rackrot/pi-agents

Curated pi-subagents agent definitions with settings-driven model/thinking overrides

Extension

Install

Install with PiG

pig install npm:@rackrot/pi-agents

Install with Pi

pi install npm:@rackrot/pi-agents
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "subagents": {
    "agents": [
      "./agents"
    ]
  },
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.0 (README.md). PiG does not review it.

@rackrot/pi-agents

Curated pi-subagents agents, plus settings-driven overrides for model, thinking and max_turns.

Install

pi install npm:@rackrot/pi-agents

Requires @tintinweb/pi-subagents. The package declares pi.subagents.agents, so the agents appear read-only in /agents. Any file in .pi/agents/ or ~/.pi/agent/agents/ with the same name overrides them.

Agents

NamePurpose
reviewerDiff review against a spec; read-only
test-runnerRuns tests/typecheck/lint, returns only failures; read-only
docs-lookupCurrent library docs with sources
security-auditorRead-only security sweep; returns findings only
dependency-auditorVets a package against our maintenance criteria
research-analystMulti-source web research with citations

Overrides

Add agentOverrides to ~/.pi/agent/rackrot/config.json(c) or .pi/rackrot.json(c):

{
	"agentOverrides": {
		"reviewer": { "model": "claude-opus", "thinking": "high" },
		"test-runner": { "model": "claude-haiku", "maxTurns": 10 },
		"Explore": { "model": "claude-haiku" }
	}
}
  • Fields: model (provider/id or fuzzy name), thinking (off to max), maxTurns (integer >= 1).
  • Precedence per field, lowest first: package defaults.json, global settings, project settings.
  • Names are case-insensitive and work for any agent type, including built-ins (Explore, Plan) and agents from other packages.
  • /rackrot-config agents opens a settings screen (below). /rackrot-config show prints the effective values.

/subagent-config screen

Four rows per agent: enabled, model, thinking, max turns. Type to search, Enter or Space to change a value, Esc to close.

  • Tab switches the save target between global (~/.pi/agent/rackrot/config.json) and project (.pi/rackrot.json). Changes write immediately.
  • model opens a picker over your enabledModels (project list if set, else global), plus inherit. For a model outside that list, edit agentOverrides in the rackrot config.
  • inherit removes the value at the selected scope. A lower layer, such as the package default, may still supply one; the row's description says which layer does.
  • enabled has no pi-subagents setting behind it. Turning an agent off writes <scope>/agents/<name>.md containing only enabled: false, which shadows built-in and package agents, the same way pi-subagents' own /agents Disable does. Turning it on deletes that stub, or removes the line from a file you wrote. The row shows the state at the selected scope only.
  • Listed agents: the built-ins, this package's, files in the global, project and .agents agent dirs, and any name already in agentOverrides. Agents shipped by other packages appear once they have an override entry.

How it works, and limits

pi-subagents treats an agent file's model, thinking and max_turns as authoritative over the caller. The shipped files therefore leave those fields out. A tool_call hook rewrites the Agent call's model, thinking and max_turns from settings, and settings win over what the orchestrator passed.

The hook only sees calls made through the Agent tool. Not covered: workflow agent() options, scheduled spawns, cross-extension RPC, and possibly @mention starts in direct mode. Those run with the agent file's own settings, which for these agents means the parent's model.

If scopeModels is on in pi-subagents, a model outside enabledModels is rejected.

Published with pnpm publish so the workspace: dependency ranges resolve to real versions; earlier releases were not installable from npm.

Orchestration

Injects delegation guidance into the system prompt on every turn (so compaction cannot drop it) and, at the top level, removes tools from the main session. Set orchestration in the rackrot config, or use /rackrot-config orchestration (Tab switches global/project):

{
	"orchestration": {
		"level": "lean",
		"deniedTools": ["read", "edit", "write", "bash", "grep", "find", "ls"]
	}
}
LevelBehaviour
off (default)Nothing.
leanDelegate only bulk work (broad searches, logs, test output) to keep context clean.
delegatePrefer subagents for self-contained multi-step tasks.
orchestratorPlan, delegate, verify; do work yourself only when clearly cheaper.
strictMain session only orchestrates: deniedTools are hidden and calls are blocked.

deniedTools applies to strict only; Agent, get_subagent_result, steer_subagent and ask_user are never denied. Subagent sessions and sessions without the Agent tool are left alone.