piagent_
← ~/map

$ cat ~/map/dsh-pi-agent.md

dsh-pi-agent

DeepSeek Harness (DSH) AgentFactory that swaps DSH's native agent loop for a headless pi --mode rpc child, so DSH's web UI, sessions, hooks, and presets keep working with pi's minimal prompt and four tools.

extensions✓ Oct 16

Facts

repository
github.com/Micheleww/dsh-pi-agent ↗
GitHub Stars
★ 2
Forks
0
license
MIT
npm / mo
—
last push
Aug 23, 2026

install

npm install dsh-pi-agent

## TL;DR

DeepSeek Harness plugin that runs pi as the agent loop: a headless pi --mode rpc child process per session, so DSH's web UI, session log, hooks, and presets keep working while the model sees only pi's minimal prompt and four tools.

## Key points

## FAQ

Q Do pi tool calls go through DSH's approval chain?

No — pi's local-trust model applies, and pi tool calls never pass through DSH's approval chain. Disabling this plugin's entry makes DSH's own dsh-agent-loop active again immediately.

Q How do I debug it?

Set debug: true in the mount config (or mount with a logger): every RPC command, event, child-process exit, and factory lifecycle step is appended to /tmp/dsh-pi-agent.log, with pi's own stderr forwarded into the same log.

## References

## Related entries

Last updated: Aug 31, 2026