Alfred-Pi
An MIT extension for the pi agent (0.84+): pi provides the foundation (execution, tools, sessions) and Alfred-Pi builds the rest. It governs pi's native files —diff before writing, backup before touching— with no parallel config. Autopilot picks a pack per turn among 11 trades (security, agents, docs, ES writing…); a $/day cap warns at 80% and switches to frugality at 100% by reading local sessions, never blocking or sending data; two failures of the active provider and the stack jumps to the next healthy link between turns, never mid-stream. 22 presets (Grok, Kimi, Codex, Claude, GLM, local and Cloud Ollama, LM Studio, vLLM…), package audit in /essentials and an optional Alfred persona. TypeScript, tests with bun, zero dependencies. Install with `pi install git:github.com/686f6c61/Alfred-Pi`.