senpi
Opinionated fork of pi-mono providing a TypeScript coding-agent CLI with builtin extensions.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 6 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 3 Nov 2026). Weigh this before you install it.
npm:re2js 2.8.6RE2JS: Quadratic-time denial of service in re2js lookbehind matching (GHSA-gg6h-894w-4m9c, high, fixed in 2.8.7)npm:undici 8.10.2undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent (GHSA-2m5v-pch6-74hx, high, fixed in 8.12.2)
See 4 more
npm:undici 8.10.2— GHSA-4w7w-5xrc-9h26 (high), fixed in 8.12.2npm:undici 8.10.2— GHSA-qrxm-fqhp-jwvm (high), fixed in 8.12.2npm:undici 8.10.2— GHSA-xjj6-f33q-929c (high), fixed in 8.12.2npm:zod 4.6.5— GHSA-mrhx-c7xc-m3w5 (high), fixed in 4.6.6
Linux x86_64
install senpi core @2026.11.2-1 via npm
npm install -g @code-yeongyu/senpi@2026.11.2-1 --ignore-scriptssenpi install pi-ast-grep extension (candidate 1)
senpi install git:github.com/code-yeongyu/pi-ast-grepsenpi install pi-lsp-client extension (candidate 2)
senpi install git:github.com/code-yeongyu/pi-lsp-client
Where the README and reality differ
- README: npm install @code-yeongyu/senpi resolves
What worked: latest tag fails ETARGET for pi-agent-core dependency; must pin @2026.11.2-1
Check that it works
senpi --versionThe output should contain “2026.11.02-1”.
First thing to try
grep -r "Intent Gate" ~/.local/lib/node_modules/@code-yeongyu/senpi/dist/core/dynamic-prompt/intent-gate.jsWhat it does
- Enforce intent gate before tool useNot shown working
- Track todos with todowrite toolsNot shown working
- Run provider-backed web searchNot shown working
- Fetch URL content as markdownNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- 0 of 4 features work
- Works offline
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 2 Nov 2026
- Version 2026.11.02-1
Differences the test machine hit
- README: senpi requires Node >=24
In the test: installs and runs on Node 22.23.4 with engine warnings, --version works