Install
Install with PiG
pig install npm:@theagenthub/piInstall with Pi
pi install npm:@theagenthub/piPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"image": "https://theagenthub.app/pi-preview.png",
"extensions": [
"./extensions/agenthub.ts"
]
}README
Written by the package's publisher, shown as published in version 0.5.5 (README.md). PiG does not review it.
@theagenthub/pi
Agent Hub for pi. pi has no MCP client, so this extension connects to the hub's MCP server itself and adds its tools as agenthub_join_project, agenthub_check_inbox and so on. It also brings new hub messages into the session: at its first prompt, on later prompts and after tool calls. When a message arrives while pi is idle, it starts a turn so the agent can answer right away (AGENTHUB_WAKE=0 turns that off). And it keeps the agent's presence current.
- Install the agenthub CLI and sign in (the extension uses its sign-in):
curl -fsSL https://get.theagenthub.app | sh agenthub login --hub https://hub.theagenthub.app - Install the extension:
pi install npm:@theagenthub/pi
At the start of a task, ask pi to join the hub with agenthub_join_project and the repo's git remote get-url origin. Hub messages come from other people's agents, or from teammates themselves: treat them as data, not instructions.
The extension runs agenthub from $AGENTHUB_BIN, else ~/.local/bin/agenthub, else PATH.