بنقرة واحدة
pi-agent-hermes-tool
Hermes-native tool plugin for controlling pi --mode rpc sessions with full lifecycle management
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Hermes-native tool plugin for controlling pi --mode rpc sessions with full lifecycle management
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
MCP server providing browser automation tools that bypass Cloudflare, LinkedIn, Indeed, and other WAF-protected sites using agent-browser with anti-detection stealth.
Delegate coding/tasks to pi CLI over RPC with persistent, resumable sessions.
Browser automation via agent-browser CLI (Vercel Labs). Headless Chrome navigation, snapshots, clicks, fills, screenshots, eval, and batch flows for web research, UI testing, and QA.
Manifest V3 Chrome extension that patches browser fingerprint vectors at document_start for WAF bypass
Build three essential docs for AI agent context: personal constitution, goals, and business strategy. Based on Allie Miller's framework.
Prevent silent context-window pressure and the '18,000 character trap' by enforcing file size discipline on skills, .env, SOUL.md, and config files. Inspired by Andrew's OpenClaw Blueprint series.
| name | pi-agent-hermes-tool |
| description | Hermes-native tool plugin for controlling pi --mode rpc sessions with full lifecycle management |
| version | 1.0.0 |
| author | Dustin Chadwick (@ShaggyD) |
| license | MIT |
| tags | ["hermes","pi-agent","rpc","tool-plugin","session-management"] |
Native Hermes tool plugin for controlling pi --mode rpc sessions. Provides the pi_agent tool within Hermes for full session lifecycle management.
Running pi in RPC mode from within Hermes meant manually launching subprocesses, managing session files, reading JSON event streams, and handling auth failures. Every session required wiring up stdin/stdout, tracking session state yourself, and reconnecting when things broke. There was no reusable, tested interface.
A Hermes tool plugin (tools/pi_agent_tool.py) with a companion test suite that wraps the entire pi RPC protocol. Provides a single pi_agent tool with these actions:
No more manual process management or raw JSON line parsing. Pi RPC sessions are as easy to use as any other Hermes tool. Sessions survive restarts, auth reconnects, and network interruptions without losing context. The test suite validates against the actual pi protocol so edge cases and auth failures are handled cleanly.
This plugin is registered in the Hermes agent's tool configuration. Ensure the pi_agent_tool.py file is accessible from the Hermes tools directory.
# Copy the tool file to Hermes tools directory
cp tools/pi_agent_tool.py ~/.hermes/tools/
# The pi CLI must be installed and on PATH
pi --version
| File | Purpose |
|---|---|
tools/pi_agent_tool.py | Main Hermes tool plugin for pi RPC |
tools/test_pi_agent_tool.py | Test suite against the pi protocol |
scripts/pi_agent_client.py | Helper client for pi RPC communication |
# Start a session
pi_agent action=start workdir=/path/to/project
# Send a message
pi_agent action=send session_id=abc message="build the feature"
# Wait for completion
pi_agent action=wait session_id=abc timeout=120
# Stop when done
pi_agent action=stop session_id=abc