TL;DR

19/04/2026, developer fluxgear (Twitter: @MarcMironescu) vừa thả lên npm 2 extension cho Pi coding agent — terminal coding CLI của Mario Zechner (@badlogicgames):

  • pi-thinking-steps v0.9.6 — render chain-of-thought của model thành 3 chế độ xem gọn (Collapsed / Summary / Expanded).
  • pi-jarvis v1.1.5 — thêm slash command /jarvis mở overlay side-conversation, hỏi nhanh không phá flow chính.

Cả hai đều MIT, free, cài qua npm install, yêu cầu Pi CLI (@mariozechner/pi-coding-agent) làm host.

What's new

Nếu bạn dùng Pi làm daily driver trong terminal — cảm giác "thiếu gì đó" so với Claude Code hay Cursor thường nằm ở 2 chỗ: (1) thinking steps hiện ra raw, khó đọc khi streaming; (2) không có "side chat" để hỏi phụ mà không phá context chính. Hai extension này trám đúng 2 khoảng trống đó.

Cả 2 package đều publish ngày 19/04/2026 với tag pi-package theo Pi Packages model — nghĩa là có thể cài đặt và chia sẻ qua npm như extension chuẩn của ecosystem.

pi-thinking-steps — thinking UI 3 chế độ

Tagline package: "Professional three-mode thinking-step rendering for Pi's TUI". Ba chế độ:

  • Collapsed — 1 dòng gọn có active pulse indicator khi đang streaming.
  • Summary — 1 dòng tóm tắt cho mỗi reasoning step, vẽ bằng Unicode box-drawing + semantic icons.
  • Expanded — full detail với markdown-style rendering: headings, lists, code spans, emphasis.

Điều khiển:

  • Alt+T — cycle nhanh qua 3 view.
  • /thinking-steps — mở interactive picker.
  • Mode-specific commands cho từng chế độ.

Technical:

  • Version: 0.9.6 (pre-1.0, API có thể thay đổi).
  • Language: 100% TypeScript, entry ./index.ts, chạy qua pi -e ./index.ts.
  • License: MIT.
  • Deps: @mariozechner/pi-ai, @mariozechner/pi-coding-agent, @mariozechner/pi-tui.
  • Terminal-first design: không dùng italic (nhiều terminal render xấu), sanitize control sequences.

pi-jarvis — slash command /jarvis

Tagline: "A /jarvis side-conversation overlay extension for Pi". Overlay là 1 session riêng floating trên main session, giữ history qua các lần đóng/mở.

Ba slash commands:

  • /jarvis [text] — mở overlay; text là prompt mở đầu (optional).
  • /jarvis-model <provider/model> — pin overlay vào model riêng (vd Haiku cho câu phụ, giữ Sonnet cho main).
  • /jarvis-model follow-main — quay lại default, follow model của main session.

Header overlay có 3 toggle (default OFF vì lý do an toàn):

  • Repo tools — cấp quyền tool read, bash, edit, write, mcp cho overlay.
  • Note main — gửi note sang main session.
  • Redirect — redirect kết quả đã confirm về main session.

Technical:

  • Version: 1.1.5.
  • Dep: pi-mcp-adapter ^2.2.1.
  • Peer deps: @mariozechner/pi-ai, @mariozechner/pi-coding-agent, @mariozechner/pi-tui (all *).
  • License: MIT.
  • Publish: 2026-04-19 18:04:12 UTC.

So sánh nhanh

Propertypi-thinking-stepspi-jarvis
Version0.9.61.1.5
Vai tròUI layer cho chain-of-thoughtSide-conversation overlay
Slash commands/thinking-steps/jarvis, /jarvis-model
Tool accessread/bash/edit/write/mcp (permission-gated)
LicenseMITMIT
Deps loạiDirect (pinned latest)Peer deps (flexible)

So với Claude Code / Cursor: pi-thinking-steps đưa UX thinking-step gần tương đương, còn pi-jarvis thêm cơ chế permission-gated tools + redirect — điểm khác biệt so với side-chat thuần (chỉ đọc, không hành động).

Use cases

  • Debug prompt / reasoning: cycle Alt+T để lướt nhanh hoặc đào sâu chain-of-thought khi model đưa kết quả bất thường.
  • Hỏi nhanh không phá flow: đang refactor module lớn, muốn hỏi "syntax X là gì?" — mở /jarvis, hỏi, đóng, main context không đổi.
  • Tiết kiệm cost: pin overlay vào model rẻ hơn cho câu phụ, giữ main chạy model mạnh.
  • Bring-your-own-tools overlay: bật Repo tools trong overlay để chạy grep/read nhanh, không lẫn vào conversation chính.

Limitations & pricing

  • Free, open source, MIT — không có tier trả phí.
  • Phải có @mariozechner/pi-coding-agent (Pi CLI) làm host — không standalone.
  • Chỉ chạy trong terminal TUI + Node.js; chưa có binding IDE (VSCode/JetBrains).
  • pi-thinking-steps còn pre-1.0 — API TypeScript extension có thể thay đổi giữa các minor version.
  • Community còn nhỏ — chưa có số liệu downloads/stars lớn công khai (tính đến 20/04/2026).

Why it matters

Pi coding agent là một trong số ít coding agent terminal-native được thiết kế theo triết lý "adapt to your workflow, not the other way around". Default chỉ 4 tool cơ bản (read, write, edit, bash) — phần còn lại được mở ra qua TypeScript Extensions, Skills, Prompt TemplatesThemes, đóng gói thành Pi Packages và share qua npm/git.

Mô hình này giống cách VSCode extension hay Neovim plugin hoạt động: core mỏng, ecosystem rộng. Việc dev bên ngoài core team như fluxgear publish 2 extension vừa đủ "production quality" (permission-gated tools, peer deps flexible, license MIT) là tín hiệu ecosystem đang sống thật — không chỉ demo.

What's next

Pi ecosystem đang bước vào giai đoạn mở rộng qua Pi Packages model — 2 extension này là ví dụ cụ thể đầu tiên của dev bên ngoài core team publish lên npm. Có thể kỳ vọng thêm extension cộng đồng (skills, themes, prompt templates) trong tháng tới, và có khả năng xuất hiện registry / marketplace riêng cho Pi Packages nếu đà tăng tiếp tục.

Thử nhanh:

npm install -g @mariozechner/pi-coding-agent
npm install pi-thinking-steps pi-jarvis
# đăng ký extension theo README từng package

Nguồn: pi-thinking-steps GitHub, pi-jarvis GitHub, Pi coding agent (pi-mono), announcement tweet.