Show HN: Train Claude Code's replacement (ds4 and pi and aoe)
The article discusses the configuration and setup of a personal coding agent named pi, which is designed to work with a locally-hosted DeepSeek V4 Flash backend. It details the structure of the configuration files and how they interact with the pi agent's runtime settings. Additionally, it mentions the use of an orchestrator called Agent of Empires to monitor and manage tasks within the pi environment.
- ▪The pi coding agent is configured for a DeepSeek V4 Flash backend and allows live editing of files.
- ▪Key configuration files include settings for behavior rules, runtime settings, and a model registry.
- ▪Agent of Empires is used to monitor pi agents and manage tasks within a Docker sandbox.
Opening excerpt (first ~120 words) tap to expand
pi-config Personal configuration for pi-coding-agent, tuned for a locally-hosted DeepSeek V4 Flash backend. Cloned to ~/dotpi/ and symlinked into ~/.pi/agent/ via install.sh. Editing files here edits them live in pi. Layout File Symlinks to Purpose AGENTS.md ~/.pi/agent/AGENTS.md Global context, loaded as a user-message block every session APPEND_SYSTEM.md ~/.pi/agent/APPEND_SYSTEM.md Behavior rules, appended to pi's built-in system prompt settings.json ~/.pi/agent/settings.json Pi runtime settings (retry, thinking level) models.json ~/.pi/agent/models.json Provider/model registry skills/ ~/.pi/agent/skills/ User-level slash commands prompts/ ~/.pi/agent/prompts/ Reusable prompt templates SYSTEM.md is deliberately not included; we want pi's defaults intact and only append to them.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.