Skip to content
agentsetups
← all rigs

Pi cold start: lazy-load the heaviest tools

Cut Pi's cold start by lazy-loading the heaviest tools. Pi users watching context cost.

what to steal

Make your heaviest tools opt-in so their schema is paid for only when used.

Our takeaway from the source, not a quote.

HARNESSMODELSSKILLS · MCPS · KEEPCUT PiPi not statednot stated Bash script + skill fo…Bash script + skill for single actions; MCP on demand for whole API surfaces Most skills set disabl…Most skills set disable-model-invocation: true Linear MCP called thro…Linear MCP called through Apify's mcpc CLI client, one tool at a time Self-built lazy-tools.…Self-built lazy-tools.ts extension makes fork, agent_browser and pi-codex-goal tools opt-in Heavy tools at startupHeavy tools at startup MCP registered at sess…MCP registered at session start
Drawn from this card's sourced fields. Amber = older model named by the source. Rose = cut or replaced.
lws-pi-cold-start.toml
# Cut Pi's cold start by lazy-loading the heaviest tools
# source: https://lws.io/blog/pi-harness-cold-start/

[rig]
who     = "Pi users watching context cost"
author  = "Kevin Lewis"
date    = "not stated"

harness = ["Pi"]
models  = []

[keep]
  - Bash script + skill for single actions; MCP on demand for whole API surfaces
  - Most skills set disable-model-invocation: true
  - Linear MCP called through Apify's mcpc CLI client, one tool at a time
  - Self-built lazy-tools.ts extension makes fork, agent_browser and pi-codex-goal tools opt-in
[cut]
  - Heavy tools at startup
  - MCP registered at session start
thingstatus
Heavy tools at startupmade opt-in
MCP registered at session startremoved

Source: https://lws.io/blog/pi-harness-cold-start/ · checked 2026-10-14

// similar rigs