Pi Coding Agent: 0.84.2 Setup with Local NVFP4 Model and 135 Skills

·5 min readailocal-ai

TL;DR: My Pi Coding Agent 0.84.2 install runs on a local Qwen3.8 27B NVFP4 model with 165K context, extended with 15 npm extension packages, 135 shared skills, six MCP servers, and four pipeline subagents — local-first with a cloud fallback.

Overview — 0.78.0 to 0.84.2

I analyzed this install three months ago when it was at 0.78.0. The setup grew a lot since then. The table below maps the delta:

ItemMay (0.78.0)Now (0.84.2)
Default modelQwen3.6-27B-MTP, Q5_K_SQwen3.8 27B NVFP4
Context window200K165,201
Packages1 (pi-tools)9 declared, 15 installed
Custom extensionsubagent (symlink)stream-output (hand-written TS)
MCP serversnone6
Memorynonepi-hermes-memory + lucid-memory
Thinking controldefaultper-level thinkingLevelMap

The direction of travel is clear: the core got smaller (one hand-written extension instead of a big multi-tool package) and the extension ecosystem got deeper (diagnostics, lens, loop control, memory, and browser automation as separate npm packages).

Core Configuration

SettingValue
Version0.84.2 (bun global install)
Default providerpc-eyay-direct
Default modelQwen3.8 27B NVFP4
Context window165,201 tokens
Max output32,768 tokens
Default thinkingmedium
Telemetrydisabled
Project trustalways

The thinkingLevelMap maps off, minimal, high, and max to null — those levels send no thinking directive at all. Only low, medium, and xhigh actually reach the model. This is an intentional narrowing: the local model reliably produces quality thinking at only three intensities.

Model Providers

models.json defines three providers. Two are local inference servers speaking the OpenAI completions API; one is a cloud gateway.

ProviderModel / ModelsContext
pc-eyay-directQwen3.8 27B NVFP4 (text, image)165,201
pc-eyayQwen3.8 27B NVFP4 (text, image)122,880
inadigital8 internal cloud modelsprovider-managed
zaiZ.ai coding subscription (GLM-4.7 through GLM-5.3), model list generated into models-store.json by Pi’s auth setupper-model, up to 1,000,000

The pc-eyay variant adds extra_body with preserve_thinking in chat_template_kwargs — the same agentic-workflow requirement covered in the May post. The pc-eyay-direct provider is now the default, with a larger declared context window.

The INADIGITAL gateway’s eight models are internal company models, so they’re omitted here.

Extension Packages

Nine packages are declared in settings.json; six more are installed in the npm extension store without being declared (likely leftovers or experiments). The declared set and what each adds to the tool surface:

PackageWhat it adds
pi-mcp-adaptermcp gateway tool, mcpScript multi-call batcher, mcp-scripting skill
pi-agent-browser-nativeagent_browser tool for live web automation
git:github.com/DietrichGebert/ponytail6 skills (ponytail, ponytail-review, ponytail-audit, ponytail-debt, ponytail-gain, ponytail-help) enforcing minimal-diff coding
pi-hermes-memorymemory_add / memory_replace / memory_remove, memory_search, session_search, skill_manage
@tmustier/pi-ralph-wiggumralph_start / ralph_done iterative development loops
pi-search-hubweb_search, web_read with pluggable backends
pi-hashline-readmapLINE
anchors on read output — the edit-guard system
pi-lenslsp_diagnostics, lens_diagnostics, symbol_search, project_report, module_report, read_symbol, read_enclosing, plus situational ast-grep tools and 4 skills
@tintinweb/pi-subagentsAgent, get_subagent_result, steer_subagent

Undeclared but installed: pi-agentsmd, pi-analyst-worker-orchestrator, pi-design-deck, pi-loop-designer, pi-loop-police, pi-review-loop, and pi-subagents.

Custom Extension — stream-output

One hand-written extension in ~/.pi/agent/extensions/stream-output/index.ts (315 lines, zero dependencies). It registers a --stream flag so headless runs (pi -p) can stream to stderr with colored prefixes:

Terminal window
pi -p --stream=all "your prompt" # message, thinking, and tools
pi -p --stream=tools "your prompt" # tool calls only
pi -p --stream=message,thinking "..." # text + thinking, no tools

The [thinking] stream is gray, [text] is cyan, [tool] is yellow with tool-specific argument formatting ($ command for bash, path (2 edits) for edit, byte counts for write). Tool progress lines overwrite themselves via ANSI cursor movement. The use case is script and CI integration where you want observable execution without the interactive TUI.

MCP Servers

mcp.json imports the claude-code server set and defines six servers of its own:

ServerTypePurpose
zai-mcp-serverlocal (npx @z_ai/mcp-server)Z.ai coding tools
web-search-primeremote (Z.ai)Web search with rich results
web-readerremote (Z.ai)URL to LLM-friendly markdown
zreadremote (Z.ai)GitHub repo doc search, file read, structure
lucid-memorystdio (~/.lucid/bin/lucid-server)Visual memory, video processing, location knowledge
ai-elements-vuelocal (npx mcp-remote)AI Elements Vue component docs

Subagents

Four custom agents in ~/.pi/agent/agents/ form a read-only-to-full pipeline:

AgentToolsRole
scoutread, grep, find, ls, bashCompressed codebase recon; also wired to a local SearXNG instance in a podman container for web/package research
plannerread, grep, find, lsPlans only — explicitly forbidden from making changes
workerall toolsIsolated-context execution
reviewerread, grep, find, ls, bashgit-diff-based review; bash restricted to read-only commands

The workflow is scout → planner → worker → reviewer, with each stage a context-isolated subagent so the main conversation stays clean.

Skills

Skills live in two layers:

LocationCountContents
~/.agents/skills/135Shared pool — framework skills (Vue, Nuxt, Vite, Vitest, Tailwind, UnoCSS), build tools (tsdown, turborepo, pnpm), search (Tavily suite, SearXNG, DuckDuckGo), workflow (session-start, enhanced-* suite), writing, infographic, image-gen (baoyu suite)
~/.pi/agent/skills/6260 symlinks into the shared pool + 2 native skills (agy-image, flashinfer-cutedsl-distinction)

Package-provided skills add about a dozen more (ponytail × 6, pi-lens × 4, mcp-scripting, pi-ralph-wiggum). Pi loads both directories, so effectively every skill in the pool is available in every session — which is why the skill descriptions in a system prompt now run long.

The 135 shared skills, grouped

Classified by four parallel map subagents — each read ~34 SKILL.md descriptions and returned a category map, which I then reduced and deduped. Ten groups:

Agent workflow (31) — session lifecycle, code review, TDD, planning, handoff, knowledge persistence: ask-matt, beads, claude-handoff, code-review, codebase-design, diagnosing-bugs, domain-modeling, enhanced-brainstorming, enhanced-debugging, enhanced-finishing, enhanced-verification, grill-me, grill-with-docs, grilling, handoff, implement, input-classification-system, input-classification-v1, improve-codebase-architecture, knowledge-persistence, loop-me, prototype, resolving-merge-conflicts, satori, session-start, setup-matt-pocock-skills, tdd, to-spec, to-tickets, triage, wayfinder

Web search & scraping (19): baoyu-danger-x-to-markdown, baoyu-url-to-markdown, baoyu-youtube-transcript, crawl4ai, ddg-search-privacy, duckduckgo-search, enhanced-research, find-docs, research, searxng-search, tavily-best-practices, tavily-cli, tavily-crawl, tavily-dynamic-search, tavily-extract, tavily-map, tavily-research, tavily-search, web-scraping-selector

Media & image generation (19): antv-g2-chart, baoyu-article-illustrator, baoyu-comic, baoyu-cover-image, baoyu-danger-gemini-web, baoyu-design, baoyu-image-gen, baoyu-infographic, baoyu-slide-deck, baoyu-xhs-images, chart-visualization, cf-workers-image-gen, gemini-image-gen, html-ppt, image-gen, infographic-creator, infographic-item-creator, infographic-structure-creator, infographic-syntax-creator

Build tooling (15): antfu, context-mode, ctx-doctor, ctx-purge, ctx-stats, ctx-upgrade, git-guardrails-claude-code, pnpm, setup-pre-commit, setup-ts-deep-modules, tsdown, turborepo, vite, vitest, vue-testing-best-practices

Writing & docs (11): baoyu-format-markdown, baoyu-markdown-to-html, baoyu-translate, golang-documentation, mckinsey-consultant, narrative-text-visualization, scaffold-exercises, teach, writing-beats, writing-fragments, writing-shape

Design systems & CSS (9): accessibility-a11y, daisyui-5, slidev, slidev-styling, slidev-syntax-guide, slidev-themes, tailwind-design-system, tailwindcss-advanced-layouts, unocss

Diagrams & visualizations (9): animejs, antv-g6-graph, baoyu-diagram, design-doc-mermaid, icon-retrieval, svg-animation-engineer, svg-animations, svg-illustration, visualise

Web frameworks (8): astro, nuxt, pinia, vitepress, vue, vue-best-practices, vue-router-best-practices, vueuse-functions

Misc utilities (9): antv-skills-maintainer, baoyu-compress-image, baoyu-electron-extract, ccc, cloudflare-images, find-skills, idds-helper, infographic-template-updater, lite-sqlite

Language-specific (5): axum-web-framework, golang-patterns, migrate-to-shoehorn, python-performance-optimization, rust-best-practices

Architecture Summary

flowchart TB subgraph User["User Layer"] P["Prompt template
think.md"] end subgraph Core["Pi Core 0.84.2"] T["Tools: read, bash, edit, write, Agent, mcp, web_search"] E["Custom extension: stream-output"] M["Model Router
pc-eyay-direct / pc-eyay / inadigital / zai"] end subgraph Packages["npm Extension Packages — 15"] PA["pi-mcp-adapter"] PB["pi-agent-browser-native"] PC["pi-lens"] PD["pi-hermes-memory"] PE["ponytail"] PF["pi-subagents + ralph + search-hub + hashline-readmap"] end subgraph MCP["MCP — 6 servers"] Z["Z.ai × 4 (zai-mcp, web-search-prime, web-reader, zread)"] LM["lucid-memory (stdio)"] AE["ai-elements-vue (mcp-remote)"] end subgraph Agents["Subagents — 4"] SC["scout"] --> PL["planner"] --> WO["worker"] --> RV["reviewer"] end subgraph Skills["Skills"] SK["135 shared + 2 native + 12 package"] end subgraph Local["Local Inference"] L["Qwen3.8 27B NVFP4"] end P --> T E --> T Packages --> T MCP --> T T --> SC M --> L

References

  1. Pi Coding Agent (pi-mono repository) — earendil-works — https://github.com/earendil-works/pi-mono
  2. Ponytail — lazy senior developer skill suite — Dietrich Gebert — https://github.com/DietrichGebert/ponytail
  3. @tintinweb/pi-subagents on npm — https://www.npmjs.com/package/@tintinweb/pi-subagents
  4. Z.ai MCP documentation — Z.ai (accessed August 20, 2026) — https://z.ai
  5. Pi Coding Agent 0.78.0 — Installation Analysis — jpmrblood (May 30, 2026) — https://jpmrblood.codeberg.page
  6. Z.ai GLM-4.7 model catalog (models-store.json) — local file ~/.pi/agent/models-store.json (August 20, 2026)

This article was written by Pi Coding Agent (Qwen3.8 27B NVFP4 | Local).