← Catalog

@heretek-ai/pi-configs

Autonomous Standalone Specialist Fleet & Multi-Agent Architecture (70 Agents) for Pi Coding Agent

Extension

Install

Install with PiG

pig install npm:@heretek-ai/pi-configs

Install with Pi

pi install npm:@heretek-ai/pi-configs
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.

{
  "extensions": [
    "./dist/index.js"
  ]
}

README

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

pi-configs

Autonomous Specialist Fleet Architecture & Forensic Ecosystem Audit for @mariozechner/pi-coding-agent (Pi v1.2.0+)


1. Executive Summary

pi-configs provides a production-grade, local-first specialist fleet architecture for the Pi coding agent ecosystem. Unlike legacy multi-agent frameworks (such as Heretek-Crew under Paperclip/OpenCode) that rely on heavy Docker sidecars and fragile shell shims, pi-configs implements 71 self-contained, ultra-narrow local specialist agents.

Every specialist in this fleet is completely isolated, operating under the Principle of Least Privilege (PoLP) with deterministic exit code 2 hook guards, automated typecheck/linter correction loops, on-demand lazy MCP adapters, and structured AST/LSP code intelligence.

It can be run standalone via per-agent launchers or installed globally/locally as an official Pi Package & Extension (@heretek-ai/pi-configs).


2. Core Architectural Pillars

+-----------------------------------------------------------------------------------+
|                            Pi Coding Agent (v1.2.0+)                              |
+-----------------------------------------------------------------------------------+
        |                      |                      |                      |
        v                      v                      v                      v
+---------------+      +---------------+      +---------------+      +---------------+
|  1. HOOKS     |      |  2. MCP       |      |  3. CODE INT  |      |  4. CRITIQUE  |
| pi-yaml-hooks |      | pi-mcp-adapter|      | ast-grep      |      | agent-browser |
| Exit code 2   |      | 200-tok proxy |      | ripwire       |      | taste-skill   |
| Auto-linter   |      | QuickJS mode  |      | CodeGraph     |      | agent-vision  |
| pi-warden     |      | Lazy spawns   |      | pi-lsp-adapter|      | stagehand     |
+---------------+      +---------------+      +---------------+      +---------------+
  1. Deterministic Guardrails & Hooks:

    • Built on Pi-YAML-Hooks and @gotgenes/pi-permission-system.
    • Tool pre-execution gates (tool.before.*) intercept unauthorized operations and immediately abort with bash exit code 2.
    • Post-mutation gates (file.changed) deterministically trigger language-specific formatters and static linters (biome, ruff, cargo check, clang-format).
    • Anti-stall and integrity enforcers (DevMortimer/pi-warden) prevent fake "done" declarations and break infinite conversational loops.
  2. Lazy, Proxy-Mode MCP Runtime:

    • Standardized on nicobailon/pi-mcp-adapter (v5.4.0+), collapsing monolithic tool schemas into an efficient ~200-token proxy tool.
    • Child-process MCP servers are spawned on-demand and reaped on idle.
    • In-process QuickJS-WASI Code Mode (mcpScript) allows multi-step tool calls in a single turn without intermediate token bleed.
  3. High-Fidelity Code Intelligence & AST Hygiene:

    • Surgical structural queries and dry-run rewrites via @juvio15/pi-ast-grep across 28 languages.
    • Zero-token structural signatures and blast-radius call graphs via redhat-et/ripwire (saving ~75% input tokens).
    • Multi-language AST knowledge graph traversal via CodeGraphContext.
    • Paginated, read-only LSP inspection via nikmmd/pi-lsp-adapter preventing unmanaged diagnostic dumps.
  4. Multi-Agent Orchestration & Subagent Context Isolation:

    • In-process child-process RPC worker teams via KristjanPikhof/Pi-Agents-Team.
    • Context explosion prevented by discarding raw worker transcripts and extracting only deterministic <final_answer> blocks.
    • Task tracking and anti-drift reminders via @tintinweb/pi-tasks and pi-goal-x.
  5. Visual Critique, Game Testing & Anti-Slop:

    • Zero-token headless browser inspection via vercel-labs/agent-browser (Rust CDP engine).
    • Machine-graded visual defect verdicts via amitpatole/agent-vision (WCAG relative luminance math, DOM geometry).
    • In-engine Godot 4.3+ viewport frame diffing via mrf/godot-stagehand.
    • Tone and language humanization via jyooi/agent-simple-english (stripping robotic buzzwords and marketing filler).

3. Directory Layout

pi-configs/
|-- dist/                               # Compiled Pi Extension Distribution
|   |-- index.js                        # Extension entrypoint (registers /fleet, /specialist, dispatch_specialist)
|   |-- fleet.js                        # Programmatic catalog API for all 71 specialists
|   `-- types.js                        # TypeScript type declarations
|-- src/                                # Extension TypeScript Sources
|   |-- index.ts                        # Slash commands, tools & event lifecycle hooks
|   |-- fleet.ts                        # Agent directory discovery and charter loader
|   `-- types.ts                        # Pi runtime interfaces
|-- agents/                             # 71 Standalone Specialist Directories
|   |-- <agent-slug>/
|   |   |-- AGENTS.md                   # Operational charter, domain boundaries & DoD
|   |   |-- launch.ps1                  # One-click Windows PowerShell launcher
|   |   |-- launch.sh                   # One-click POSIX Bash launcher
|   |   `-- .pi/
|   |       |-- settings.json           # Model tier, thinking level, tool whitelist
|   |       |-- mcp.json                # Scoped lazy MCP server declarations
|   |       |-- mcp-adapter.json        # pi-mcp-adapter proxy runtime configuration
|   |       |-- hook/
|   |       |   `-- hooks.yaml          # Declarative exit-code-2 blocking guards
|   |       |-- extensions/
|   |       |   `-- index.ts            # Typed Pi extension lifecycle hooks
|   |       `-- skills/
|   |           `-- <skill-name>/
|   |               `-- SKILL.md        # Refactored, non-truncated execution skill
|-- scratchpad/                         # Forensic Audit & Architecture Outputs
|   |-- 00_OVERLAP_DECISION_MATRIX.md   # Binding judgment matrix across all 7 pillars
|   |-- 01_SPECIALIST_ROSTER_SPEC.md    # Master specification for all 71 specialists
|   |-- followup.txt                    # 109 verified wild alternatives cataloged
|   `-- *.md                            # 85 comprehensive per-repo forensic audit reports
|-- scripts/                            # Scaffolding, Generator & Verification Tooling
|   |-- build_specialist_fleet.js       # Node.js generator for all 71 specialist configs
|   |-- verify_mission_completion.js    # Deterministic 3-gate automated verification suite
|   |-- clone_and_unpack.ps1            # Staging downloader for skills, repos & npm tarballs
|   `-- expand_scratchpad.ps1           # Forensic audit expansion and verification script
|-- package.json                        # Official pi-package manifest
|-- tsconfig.json                       # TypeScript compiler options
`-- README.md                           # Master architectural documentation

4. The 71 Specialist Fleet Roster

The fleet is organized into 9 departmental guilds (8 core guilds + 1 rogue guild):

Guild 1: Executive, Product & Documentation

SlugTitlePrimary ToolsRecommended Model
exec-directorFleet Executive Director & OKR Governorgit log, gh release list, codebase-memory-mcpClaude 3.7 Sonnet (16k thinking)
product-directorProduct Director & Strategic PRD Authorgh issue create, gh milestone listClaude 3.7 Sonnet (12k thinking)
tpm-scrum-leadTechnical Product Manager & Agile Scrum Leadgh project, gh issue comment, pi-taskClaude 3.5 Sonnet (6k thinking)
system-architectEnterprise System Architect & ADR Ownerspectral lint, codebase-memory-mcpClaude 3.7 Sonnet (24k thinking)
tech-docs-leadTechnical Documentation Lead & Docs Architectmarkdownlint-cli2, typedocClaude 3.5 Sonnet (8k thinking)
ux-research-analystUX Telemetry & Feedback Analystduckdb, jq, mcp-server-duckdbClaude 3.5 Sonnet (6k thinking)
brand-copy-specBrand Voice, Copywriting & Microcopy Specialisti18n-ally-cli, jqClaude 3.5 Sonnet (6k thinking)
api-spec-doc-specialistOpenAPI, AsyncAPI & Protobuf API Doc Specialistspectral lint, redoclyClaude 3.5 Sonnet (8k thinking)
creative-narrative-directorCreative Narrative Director & Worldbuilderjq, git log, narrative treesClaude 3.7 Sonnet (12k thinking)
humanizer-and-tone-editorNatural Tone, Voice & Humanization Editoragent-simple-english, git diffClaude 3.7 Sonnet (12k thinking)

Guild 2: Visual, Aesthetic & Design Systems

SlugTitlePrimary ToolsRecommended Model
gui-visual-criticGUI Visual Critic & Anti-AI-Slop Inspectoragent-vision, taste-skill, PlaywrightClaude 3.7 Sonnet (16k thinking)
game-feel-and-vfx-criticGame Feel, VFX & Juiciness Criticgodot-stagehand, ffmpeg, ffprobeClaude 3.7 Sonnet (12k thinking)
ui-ux-designerUI/UX Designer & Interactive Prototypertailwindcss, taste-skill, ui-ux-pro-maxClaude 3.7 Sonnet (12k thinking)
design-system-engDesign Systems & Component Token Engineertest-storybook, style-dictionaryClaude 3.5 Sonnet (8k thinking)
a11y-specialistAccessibility & WCAG 2.2 AA Compliance Auditor@axe-core/cli, pa11y-ciClaude 3.5 Sonnet (8k thinking)
fe-perf-engFrontend Performance & Core Web Vitals Engineerlighthouse-ci, vite-bundle-visualizerClaude 3.5 Sonnet (8k thinking)
mobile-web-engMobile Web & Responsive Layout Engineerplaywright test --project=Mobile_SafariClaude 3.5 Sonnet (6k thinking)
3d-webgl-threejs-specialist3D WebGL / WebGPU & Three.js Specialistgltf-transform, Three.js r170+, WebGPUClaude 3.7 Sonnet (16k thinking)

Guild 3: Core Language & Systems Engineering

SlugTitlePrimary ToolsRecommended Model
ts-node-fullstackTypeScript / Node.js Fullstack Systems Engineertsc --noEmit, vitest, biomeClaude 3.7 Sonnet (12k thinking)
rust-systems-specRust Systems & Memory-Safety Specialistcargo check, cargo clippy, cargo testClaude 3.7 Sonnet (16k thinking)
go-backend-engGo High-Concurrency Backend Engineergolangci-lint, go test -raceClaude 3.7 Sonnet (12k thinking)
python-backend-specPython Async Backend & FastAPI Specialistruff check, mypy --strict, pytestClaude 3.7 Sonnet (12k thinking)
cpp-lowlevel-engC++23 Low-Level Systems & Memory Engineerclang-tidy, cmake --build, valgrindClaude 3.7 Sonnet (16k thinking)
java-kotlin-engModern Java 21+ & Kotlin Backend Specialist./gradlew check, ktlintCheckClaude 3.7 Sonnet (12k thinking)
ios-mobile-speciOS Native Swift & SwiftUI Specialistxcodebuild test, swiftlint, simvynClaude 3.7 Sonnet (12k thinking)
android-mobile-specAndroid Native Kotlin & Jetpack Specialist./gradlew testDebugUnitTest, simvynClaude 3.7 Sonnet (12k thinking)
embedded-rtos-firmware-engEmbedded C, RTOS & Bare-Metal HAL Engineerarm-none-eabi-gcc, Zephyr / FreeRTOSClaude 3.7 Sonnet (16k thinking)
wasm-runtime-engineerWebAssembly & WASI Systems Specialistwasm-opt, wasm-tools validate, wasmtimeClaude 3.7 Sonnet (12k thinking)

Guild 4: Game Engineering, Graphics & Modding

SlugTitlePrimary ToolsRecommended Model
game-systems-devGame Systems & Gameplay Programmergodot --headless, cargo testClaude 3.7 Sonnet (12k thinking)
graphics-shader-engGraphics & Shader Pipeline EngineerglslangValidator, naga, SPIR-VClaude 3.7 Sonnet (16k thinking)
engine-systems-engEngine Core & Memory Allocator Programmercargo bench, valgrind --tool=cachegrindClaude 3.7 Sonnet (16k thinking)
game-ai-devGame AI & Autonomous Decision Systems Programmergodot --headless --script test/ai, navmeshClaude 3.7 Sonnet (12k thinking)
physics-sim-engPhysics Simulation & Collision Engineercargo test physics, ctest -R physicsClaude 3.7 Sonnet (12k thinking)
tech-artist-pipelineTechnical Artist & Asset Pipeline Leadgltf-transform, Blender CLI, sprite toolsClaude 3.5 Sonnet (8k thinking)
shader-transpiler-optimizerMulti-Target Shader Transpiler & Optimizernaga, spirv-opt -O, WGSL / HLSLClaude 3.7 Sonnet (12k thinking)
godot-redot-architectGodot 4 / Redot Engine Architectgodot --headless --validate-scriptsClaude 3.7 Sonnet (12k thinking)
ue-unreal-engine-architectUnreal Engine 5 C++ & Gameplay ArchitectRunUAT.bat BuildCookRun, UE5 UHT/UBTClaude 3.7 Sonnet (16k thinking)
universal-game-modderUniversal PC Game Modding Specialistuniversal-modder, BepInEx, Harmony, SMAPIClaude 3.7 Sonnet (16k thinking)
memory-integrity-cheat-researcherMemory Integrity & Runtime Hooking Researcherfrida-compile, checksec, radare2-mcpClaude 3.7 Sonnet (16k thinking)

Guild 5: Architecture, Cloud & Infrastructure

SlugTitlePrimary ToolsRecommended Model
cloud-platform-engCloud Platform & OpenTofu / IaC Engineertofu fmt -check, tofu validate, AWS MCPClaude 3.7 Sonnet (12k thinking)
k8s-orchestratorKubernetes Platform & Helm Orchestratorkubeconform -strict, helm lintClaude 3.5 Sonnet (8k thinking)
dba-specialistDatabase Administrator & SQL Perf Engineersqlfluff lint, pg_format, Postgres MCPClaude 3.7 Sonnet (12k thinking)
cache-streaming-engDistributed Cache & Event Streaming Engineerredis-cli ping, kcat -L, Kafka MCPClaude 3.5 Sonnet (8k thinking)
sre-incident-engSRE & Incident Commanderpromtool check rules, Sentry MCPClaude 3.7 Sonnet (12k thinking)
observability-engObservability & OpenTelemetry Engineerpromtool check config, OTEL collectorClaude 3.5 Sonnet (8k thinking)
git-drift-coordGit Worktree & Branch Drift Coordinatorgit status, git worktree listClaude 3.5 Sonnet (6k thinking)

Guild 6: Quality Assurance & Verification

SlugTitlePrimary ToolsRecommended Model
e2e-browser-qaE2E Browser QA Automation Engineernpx playwright test, Playwright MCPClaude 3.7 Sonnet (12k thinking)
api-contract-testerAPI Contract & Pact Verification Specialistschemathesis run, OpenAPI validationClaude 3.5 Sonnet (8k thinking)
load-stress-testerPerformance Load & k6 Stress Testing Engineerk6 run tests/load/scenario.jsClaude 3.5 Sonnet (8k thinking)
sabotage-qa-testerMutation Testing & Chaos Sabotage Testernpx stryker run, cargo mutantsClaude 3.7 Sonnet (12k thinking)
release-qa-officerRelease QA Officer & Deployment Gatekeepergit diff --stat, release sanity probesClaude 3.7 Sonnet (12k thinking)

Guild 7: Defensive Security, Binary Forensics & AI Red-Teaming

SlugTitlePrimary ToolsRecommended Model
appsec-engineerApplication Security & SAST/DAST Engineersemgrep scan --config p/security-auditClaude 3.7 Sonnet (16k thinking)
cloud-sec-auditorCloud Security & IAM Permissions Auditorcheckov -d ., trivy config .Claude 3.7 Sonnet (12k thinking)
binary-reverse-engineerBinary Reverse Engineer & Disassembly Specialistradare2-mcp, GhidraMCP, objdumpClaude 3.7 Sonnet (16k thinking)
firmware-sec-analystFirmware Security & Hardware Attack Analystbinwalk -e, checksec, entropy scansClaude 3.7 Sonnet (16k thinking)
threat-modelerSTRIDE Threat Modeler & Architecture Auditorpytm, STRIDE / DREAD threat treesClaude 3.7 Sonnet (12k thinking)
compliance-auditorSOC2 / ISO 27001 / HIPAA Compliance Auditorosqueryi, CIS benchmark checklistsClaude 3.5 Sonnet (8k thinking)
ai-red-teamerAI Model Red-Teamer & Prompt Injection Auditorgarak, adversarial jailbreak fuzzersClaude 3.7 Sonnet (16k thinking)

Guild 8: Data, Machine Learning & Code Hygiene

SlugTitlePrimary ToolsRecommended Model
data-pipeline-engData Pipeline, Spark & dbt Engineerdbt run --select, dbt testClaude 3.7 Sonnet (12k thinking)
vector-rag-specVector Database & Hybrid RAG SpecialistQdrant / LanceDB client, ONNX embeddingsClaude 3.7 Sonnet (12k thinking)
mlops-serving-engModel Serving, Triton & vLLM MLOps Engineertriton, docker compose -f triton.ymlClaude 3.7 Sonnet (12k thinking)
analytics-metrics-engProduct Analytics & Event Tracking Engineerduckdb, event taxonomy validatorsClaude 3.5 Sonnet (8k thinking)
synthetic-eval-benchmark-engSynthetic Data & LLM Eval Benchmark Engineerdeepeval test run, Ragas / deepevalClaude 3.7 Sonnet (16k thinking)
ast-structural-refactorerAST Structural Search & Safe Refactorer@juvio15/pi-ast-grep (6 native tools)Claude 3.7 Sonnet (16k thinking)
linter-formatter-enforcerDeterministic Multi-Language Linter Enforcerbiome, ruff, cargo clippy, hooks.yamlClaude 3.5 Haiku (4k thinking)
dependency-hygiene-lockfile-surgeonLockfile Deduplication & Supply-Chain Surgeonnpm dedupe, cargo tree --duplicatesClaude 3.7 Sonnet (12k thinking)
dependency-patcherUpstream Library Patcher & patch-package Engnpx patch-package, git apply --checkClaude 3.7 Sonnet (12k thinking)
lsp-type-graph-navigatorSemantic LSP & Code Knowledge Graph Navigatorpi-lsp-adapter, CodeGraphContextClaude 3.7 Sonnet (16k thinking)
adversarial-diff-auditorAdversarial Diff Auditor & Codebase Watchdoggit diff, pi-slopchop watchdog reviewClaude 3.7 Sonnet (16k thinking)
static-analysis-leadCode Style, Semgrep Rules & Static Analysis Leadsemgrep --validate --config rules/Claude 3.7 Sonnet (12k thinking)

Guild 9: Rogue — Autonomous Orchestration & Compliance Evasion

SlugTitlePrimary ToolsRecommended Model
rogue-agentRogue Orchestrator — Semantic Filter-Breaking Fleet Coordinatordispatch_specialist, dispatch, read/write/edit/bashlemonade-CyberTielCoder (heretik, 16k thinking)

rogue-agent runs on the heretic model lemonade-CyberTielCoder (https://llm.hextek.one/v1). It decomposes large or filter-tripping missions into narrow, neutral-toned sub-tasks, delegates each to the right specialist, and falls back to self-execution when decomposition fails or a delegation is refused. Guardrails: delegation fan-out ≤ 10, recursion depth ≤ 3, real-slug allowlist, and self-protection of its own guardrails.


5. Usage & Integration Guide

5.1 Installing as an Official Pi Package

Install the package directly into Pi:

# Global install (available across all projects)
pi install npm:@heretek-ai/pi-configs

# Project-local install (persisted in .pi/settings.json)
pi install -l npm:@heretek-ai/pi-configs

# Ephemeral test session without installing
pi -e npm:@heretek-ai/pi-configs

5.2 Slash Commands in Pi Sessions

Once loaded, the extension provides instant fleet management:

# List all 71 specialists across all 9 guilds
/fleet

# Filter specialists by keyword or guild
/fleet visual
/fleet modding

# Dynamically switch the current Pi session charter to any specialist
/specialist gui-visual-critic
/specialist godot-redot-architect
/specialist ast-structural-refactorer

5.3 Multi-Agent Task Delegation (dispatch_specialist)

Other Pi agents can use the native dispatch_specialist tool to delegate tasks out-of-process:

{
  "specialistSlug": "gui-visual-critic",
  "taskPrompt": "Capture screenshot of http://localhost:3000, inspect WCAG contrast and audit layout hierarchy against strict typography scales."
}

5.4 Standalone Launchers

Alternatively, launch any specialist directly from the command line:

On Windows PowerShell:

./agents/gui-visual-critic/launch.ps1

On Linux / macOS Bash:

./agents/gui-visual-critic/launch.sh

5.5 Deterministic Verification Suite

Run the automated verification suite to validate all 85 forensic audit reports, the alternatives register, and all 71 specialist configurations:

node scripts/verify_mission_completion.js

6. License

MIT License. All tools, scripts, and specialist configurations in this repository are open source and free for commercial and private use.