by pulseaiclub
A fast coding agent, rpc plugin, sub-agents, sloppy edits, and mcp
# Add to your Claude Code skills
git clone https://github.com/pulseaiclub/phiLast scanned: 11/29/2026
{
"issues": [
{
"file": "README.md",
"line": 58,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/pulseaiclub/phi/main/scripts/instal\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-11-29T13:22:53.741Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}phi is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by pulseaiclub. A fast coding agent, rpc plugin, sub-agents, sloppy edits, and mcp. It has 1,013 GitHub stars.
Yes. phi passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/pulseaiclub/phi" and add it to your Claude Code skills directory (see the Installation section above).
phi is primarily written in Go. It is open-source under pulseaiclub on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh phi against similar tools.
No comments yet. Be the first to share your thoughts!



Interested in sponsoring phi? Reach out at [email protected].
Install the latest release (macOS / Linux):
curl -fsSL https://raw.githubusercontent.com/pulseaiclub/phi/main/scripts/install.sh | bash
Windows (PowerShell 5.1+):
irm https://raw.githubusercontent.com/pulseaiclub/phi/main/scripts/install.ps1 | iex
First launch needs a model. Open the config editor (creates ~/.phi layout
and writes ~/.phi/config.yaml):
phi config
Or set env vars for a one-off run:
export PHI_MODEL=gpt-4o
export PHI_API_KEY=sk-...
Then start the TUI:
phi
Or build from source (Go 1.26.3+, see go.mod):
make build # produces ./phi
make install # build and install into $GOBIN
On first start, phi automatically creates these directories under ~/.phi/:
bin/ — downloaded search tools (fd, rg)skills/ — global SKILL.md filesextensions/ — installed extensions (see doc/extensions.md)session/ — persisted sessions, one folder per project directoryjobs/ — sub-agent transcripts, one folder per jobSearch tools (fd, rg) download into ~/.phi/bin in the background when missing.
The TUI gives the model four core tools — read, write, edit, and
bash — plus grep, find, and ls. The model uses these to
fulfill your requests. External HTTP fetch is available via MCP when configured.
Lean is not enough — phi is built to feel instant and stay cheap under load.
phi numbers are a stripped release build (CGO_ENABLED=0, -ldflags="-s -w")
on macOS arm64. Other harnesses use published Linux PSS / interactive PTY
figures.
| Metric | phi |
|---|---|
| Release binary | ~15 MB |
| Idle RSS (1 session) | ~21 MB |
| 10 idle sessions (total RSS) | ~221 MB |
| Time to first frame | ~31 ms (26–49 ms) |
Cold go build (empty GOCACHE) |
~5.5 s |
| Warm rebuild | ~0.7 s |
| Go source (excl. tests) | ~54k lines (~49k non-blank) / 345 files |
| Go packages | 84 |
| Direct module deps | 8 |
| Linked runtimes | system libs only (no Node / Electron / Python) |
Timing, memory, and size rows were measured on the macOS arm64 setup above and have not been re-run since they were first published. The source, package, and dependency rows were re-measured in November 2026 (2026-11-11) against the main branch:
*.go files tracked by git in the root module (excluding
ext/), counted with wc -l (lines) and grep -cv '^\s*$' (non-blank lines),
because cloc and tokei were not available..go files in the root module (excluding
ext/, a separate module), equivalent to go list ./....// indirect entries in the require blocks of go.mod.phi reads ~/.phi/config.yaml (standard YAML). Environment variables
override it for one-off runs. phi config opens a full-screen terminal editor
for the same file — nothing is written until you save, and the previous file is
kept as config.yaml.bak.
phi config keys
↑↓ ←→ move / cycle a value a add a model
⏎ edit or open a picker d delete the focused row
esc close, or quit f fetch model ids from the provider
^s save s save q quit
An empty field means "not set", i.e. the value the loader would fill in; the placeholder shows that value.
# ~/.phi/config.yaml
models:
- name: gpt-4o
api: OpenAI # OpenAI | OpenAIResponses | Anthropic | Gemini (empty → OpenAI-compatible)
api_key: sk-... # or set PHI_API_KEY
base_url: https://api.openai.com/v1 # default; PHI_BASE_URL overrides
context_window: 128000 # optional
default: true # the model used at startup; first entry wins if absent
- name: claude-sonnet-4-20250514
api: Anthropic # required — no name/URL guessing
api_key: sk-ant-...
base_url: https://api.anthropic.com
context_window: 200000
- name: deepseek-flash # built-in preset: base_url / context / thinking filled in
api_key: sk-...
- name: gemini-2.5-flash # built-in preset (api: Gemini)
api_key: ...
think_level: high # optional: off | minimal | low | medium | high | …
skill_path: ~/.phi/skills # where SKILL.md files are loaded from; "~/…" is expanded
agents:
enabled: true # default; set false to disable agent_* sub-agent tools
models: # optional per-role defaults; omit → inherit parent model
explore: cheap-model
review: strong-model
worker: coding-model
Built-in presets and thinking wire formats: doc/models.md.
Environment overrides:
| Variable | Overrides |
|---|---|
PHI_API_KEY |
models[].api_key (default model) |
PHI_MODEL |
fallback model name when no model is configured |
PHI_BASE_URL |
models[].base_url (default model) |
PHI_SKILL_PATH |
skill_path |
PHI_THINK_LEVEL |
models[].think_level (default model; off disables) |
PHI_PROMPT_HISTORY |
Composer prompt recall (on enables; off by default, writes prompts.json in the project's session directory) |
Provider routing uses the explicit api field (OpenAI / Anthropic /
Gemini). See Supported models.
~/.phi/
├── config.yaml # global configuration
├── bin/ # downloaded search tools (fd, ripgrep)
├── skills/ # SKILL.md skill directories
├── extensions/ # PXB binaries + phi.yaml
├── jobs/ # sub-agent job artifacts (meta, logs, result.md)
└── session/ # persisted sessions, one dir per working directory
└── <enc