@fastagent-sh/pi-remote
Pi extension for connecting directly to deployed FastAgent instances over HTTP or installed cloud transport extensions.
Package details
Install @fastagent-sh/pi-remote from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@fastagent-sh/pi-remote- Package
@fastagent-sh/pi-remote- Version
0.36.0- Published
- Nov 25, 2026
- Downloads
- 567/mo · 567/wk
- Author
- kid7st
- License
- MIT
- Types
- extension
- Size
- 131.3 KB
- Dependencies
- 1 dependency · 3 peers
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@fastagent-sh/pi-remote
Chat with and operate your deployed FastAgent services directly from the Pi terminal—over HTTP or installed cloud transports like @fastagent-sh/client-agentcore.
Install
pi install npm:@fastagent-sh/pi-remote
Or try it for one session:
pi -e npm:@fastagent-sh/pi-remote
Configure remotes
Run /fa inside Pi to add a remote interactively, manage HTTP remotes with fastagent remote add, or edit ~/.config/fastagent/remotes.json directly (overridable via FASTAGENT_REMOTES_PATH, shared with fastagent invoke --remote <name>). Non-HTTP types dynamically load @fastagent-sh/client-<type> (for example, npm i @fastagent-sh/client-agentcore):
{
"default": "ops",
"remotes": {
"ops": {
"type": "http",
"url": "https://ops.example.com",
"apiKey": "$OPS_AGENT_KEY"
},
"bedrock": {
"type": "agentcore",
"runtimeArn": "arn:aws:bedrock-agentcore:us-east-1:123456789012:runtime/my_agent",
"sessionId": "my-agentcore-session-id-at-least-33-chars",
"qualifier": "prod"
}
}
}
Usage
- Connect: Run
/fato pick or configure a remote when disconnected, or open the remote action menu when connected. Connect directly with/fa <name>,/fa https://ops.example.com [apiKey], orpi --fa ops. - Native Pi workflow while connected:
/resume,/new,/name,/session,/copy,/fork,/clone,/model,/thinking,/compact, and shortcuts (Ctrl+L,Ctrl+P,Shift+Tab, copy, session shortcuts) route directly to the remote instance and restore local Pi after/fa off.- Send text and images normally. While the remote agent is running,
Entersteers,Alt+Enterqueues, andEsccancels. - The first message in an untitled session sets a concise title automatically.
- Remote management:
/fa off,/fa sessions,/fa key [--clear](server API key),/fa remotes(add/remove/switch),/fa delete,/fa status.
See Remotes & clients.