Home / Claude Code mods / Agents & automation / pi-agent-for-claude

pi-agent-for-claude

pi-agent-for-claude is a Claude Code mod by FazalAAli that pi agent for claude: a `pi` subagent type whose model steps run the pi CLI, so pi subagents and agent-team teammates live in Claude Code's own agent UI, streamed live.

Updated 2026-09-18

What is pi-agent-for-claude?

pi-agent-for-claude is a Claude Code mod by FazalAAli that pi agent for claude: a `pi` subagent type whose model steps run the pi CLI, so pi subagents and agent-team teammates live in Claude Code's own agent UI, streamed live. It is listed under Agents & automation and has 23 GitHub stars.

TypeClaude code mod
AuthorFazalAAli
RepositoryFazalAAli/pi-agent-for-claude
Popularity23 GitHub stars
CategoryAgents & automation
SecurityLow risk (84/100)
Rank#295 of 5,272 Claude Code mods; #30 in Agents & automation
LicenseMIT
Last commit2026-09-18
Hooks4 events
Seesevery tool call, subagent spawns
Draws onnothing

Is pi-agent-for-claude safe to install?

pi-agent-for-claude scores 84/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.clock.sleep
$.process.runruns processes
$.session.cwd
$.session.messagesreads the transcript
$.tool.registerdrives Claude

How do I install pi-agent-for-claude?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/FazalAAli/pi-agent-for-claude
    claude plugin validate ./pi-agent-for-claude/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add FazalAAli/pi-agent-for-claude && claude plugin install pi-agent-for-claude@pi-agent-for-claude

Or ask Claude to set it up

Paste this into Claude Code and it installs pi-agent-for-claude for you:

Install the "pi-agent-for-claude" Claude Code mod from https://github.com/FazalAAli/pi-agent-for-claude. Run claude plugin validate on it first and show me what it can access before you enable it.