feat: bake Pi coding agent into the image (proxies OmniRoute auto-fastest) - #37
Merged
Conversation
gitricko
force-pushed
the
feat/pi-agent
branch
from
August 17, 2026 09:18
c8b3610 to
877fcea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the Pi coding agent to the hermes-webtop image, wired to route through the existing OmniRoute
auto-fastestcombo — same proxy chain already used by Hermes/Claude Code.Changes
PI_VERSIONbuild arg (default0.84.2);npm install -g --ignore-scripts @earendil-works/pi-coding-agentinto the image.abclike the otherstart-*.sh). Ensures Pi install is abc-owned, then seeds~/.pi/agent/models.json+settings.jsononly on first boot (preserves user edits on restart). No desktop shortcut (per request).http://localhost:20128/v1, modelauto-fastest,compatflags disabled (OmniRoute is an unknown proxy to Pi).defaultProvider: omniroute,defaultModel: auto-fastest.Behavior
On container start,
piis available on PATH and defaults toomniroute/auto-fastest(no flags needed). Config is seeded once into/config/.pi/agent/, then user-editable and persisted by the existing volume.Verification
start-pi.shpassesbash -nsyntax check.COPY *.sh/COPY *.jsonglobs pick upstart-pi.sh,models.json,settings.jsonautomatically.auto-fastestdefault was previously verified end-to-end outside the image (pi -preturned a real completion through OmniRoute).Not done
docker build/push here — image build/compile is handled separately (per request).🤖 Generated with Hermes Agent