Install
Install with PiG
pig install npm:@rackrot/pi-agentsInstall with Pi
pi install npm:@rackrot/pi-agentsPackages 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
| Name | Purpose |
|---|---|
reviewer | Diff review against a spec; read-only |
test-runner | Runs tests/typecheck/lint, returns only failures; read-only |
docs-lookup | Current library docs with sources |
security-auditor | Read-only security sweep; returns findings only |
dependency-auditor | Vets a package against our maintenance criteria |
research-analyst | Multi-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/idor fuzzy name),thinking(offtomax),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 agentsopens a settings screen (below)./rackrot-config showprints 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), plusinherit. For a model outside that list, editagentOverridesin 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>.mdcontaining onlyenabled: false, which shadows built-in and package agents, the same way pi-subagents' own/agentsDisable 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
.agentsagent dirs, and any name already inagentOverrides. 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 publishso theworkspace: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"]
}
}
| Level | Behaviour |
|---|---|
off (default) | Nothing. |
lean | Delegate only bulk work (broad searches, logs, test output) to keep context clean. |
delegate | Prefer subagents for self-contained multi-step tasks. |
orchestrator | Plan, delegate, verify; do work yourself only when clearly cheaper. |
strict | Main 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.