@agnishc/edb-gemini-proxy
Pi extension: gemini_proxy tool — delegate tasks to Google Gemini CLI from within pi
Package details
Install @agnishc/edb-gemini-proxy from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@agnishc/edb-gemini-proxy- Package
@agnishc/edb-gemini-proxy- Version
0.5.1- Published
- May 5, 2026
- Downloads
- 219/mo · 219/wk
- Author
- agnishc
- License
- MIT
- Types
- extension
- Size
- 23.2 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@agnishc/edb-gemini-proxy
A Pi CLI extension that registers a gemini_proxy tool — lets the pi agent delegate tasks to Google's Gemini CLI running in headless mode.
Use cases
- Cross-model second opinion (different perspective from Gemini vs the primary agent)
- Tasks that benefit from Gemini's large context window
- Google Search grounding
- Code review, security audit, diff analysis
Install
pi install npm:@agnishc/edb-gemini-proxy
Requirements
geminiCLI on PATH (npm install -g @google/gemini-cli)- Auth:
GEMINI_API_KEYenv var, or rungemini authfor OAuth - Set
GEMINI_PATHenv var to override the binary location
Parameters
| Parameter | Type | Description |
|---|---|---|
prompt |
string | The task for Gemini — be specific |
systemPrompt |
string? | Role / instructions prepended to context |
model |
string? | e.g. gemini-2.5-pro, gemini-2.5-flash |
approvalMode |
string? | yolo (default), auto_edit, plan (read-only) |
files |
string[]? | File paths to inject into Gemini's context |
includeDirectories |
string[]? | Additional directories for Gemini's workspace |
cwd |
string? | Working directory for the Gemini process |
TUI
- Collapsed: tool call list + response preview with streaming status
- Expanded (
Ctrl+O): full markdown response with all tool calls and status icons
License
MIT © Agnish Chakraborty